Skip to content

Commit

Permalink
chore: update dependencies to newest versions (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
LKozlowski authored May 23, 2024
1 parent 3338edb commit 3a9e175
Show file tree
Hide file tree
Showing 8 changed files with 466 additions and 400 deletions.
821 changes: 443 additions & 378 deletions Cargo.lock

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name = "helios"
version = "0.5.5"
edition = "2021"
autobenches = false
exclude = [
"benches"
]
exclude = ["benches"]

[workspace]
members = [
Expand All @@ -31,7 +29,10 @@ milagro_bls = { package = "snowbridge-milagro-bls", git = "https://github.com/Sn

# execution
ethers = { git = "https://github.com/gakonst/ethers-rs", rev = "3bf1a9e0d698e9fdfc91d0353878901af5a5c5ef" }
revm = { git = "https://github.com/bluealloy/revm", rev = "23cbac479f616eba5ab11ddfe6d5814b9c492202", default-features = false, features = ["std", "serde"] }
revm = { git = "https://github.com/bluealloy/revm", rev = "23cbac479f616eba5ab11ddfe6d5814b9c492202", default-features = false, features = [
"std",
"serde",
] }
triehash-ethereum = { git = "https://github.com/openethereum/parity-ethereum", rev = "55c90d4016505317034e3e98f699af07f5404b63" }

# async/futures
Expand All @@ -40,7 +41,7 @@ futures = "0.3.23"
tokio = { version = "1", features = ["rt", "sync", "macros"] }

# io
reqwest = { version = "0.11.13", features = ["json"] }
reqwest = { version = "0.12.4", features = ["json"] }
serde = { version = "1.0.143", features = ["derive"] }
serde_json = "1.0.85"

Expand All @@ -54,7 +55,7 @@ chrono = "0.4.23"
thiserror = "1.0.37"
superstruct = "0.7.0"
openssl = { version = "0.10", features = ["vendored"] }
hyper = "0.14.23"
hyper = "1.3.1"
zduny-wasm-timer = "0.2.8"
retri = "0.1.0"

Expand All @@ -77,12 +78,12 @@ serde = { version = "1.0.154", features = ["derive"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1", features = ["full"] }
eyre = "0.6.8"
dirs = "4.0.0"
dirs = "5.0.1"
ethers = { git = "https://github.com/gakonst/ethers-rs", rev = "3bf1a9e0d698e9fdfc91d0353878901af5a5c5ef" }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tracing = "0.1.37"
tracing-test = "0.2.4"
criterion = { version = "0.4", features = [ "async_tokio", "plotters" ]}
criterion = { version = "0.5.1", features = ["async_tokio", "plotters"] }
plotters = "0.3.4"
tempfile = "3.4.0"
hex = "0.4.3"
Expand Down
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ eyre.workspace = true
tracing.workspace = true
futures.workspace = true

clap = { version = "3.2.18", features = ["derive", "env"] }
clap = { version = "4.5.4", features = ["derive", "env"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
dirs = "4.0.0"
dirs = "5.0.1"
ctrlc = "3.2.3"

client = { path = "../client" }
Expand Down
6 changes: 3 additions & 3 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ execution = { path = "../execution" }
config = { path = "../config" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
jsonrpsee = { version = "0.15.1", features = ["full"] }
jsonrpsee = { version = "0.17.1", features = ["full"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
gloo-timers = "0.2.6"
gloo-timers = "0.3.0"
wasm-bindgen-futures = "0.4.33"

[target.wasm32-unknown-unknown.dependencies]
parking_lot = { version = "0.11", features = ["wasm-bindgen"] }
parking_lot = { version = "0.12.2" }
10 changes: 5 additions & 5 deletions client/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ use std::{fmt::Display, net::SocketAddr, str::FromStr, sync::Arc};
use tracing::info;

use jsonrpsee::{
core::{async_trait, server::rpc_module::Methods, Error},
http_server::{HttpServerBuilder, HttpServerHandle},
core::{async_trait, server::Methods, Error},
proc_macros::rpc,
server::{ServerBuilder, ServerHandle},
};

use crate::{errors::NodeError, node::Node};
Expand All @@ -24,7 +24,7 @@ use execution::types::CallOpts;

pub struct Rpc<DB: Database> {
node: Arc<Node<DB>>,
handle: Option<HttpServerHandle>,
handle: Option<ServerHandle>,
address: SocketAddr,
}

Expand Down Expand Up @@ -314,8 +314,8 @@ impl<DB: Database> NetRpcServer for RpcInner<DB> {
}
}

async fn start<DB: Database>(rpc: RpcInner<DB>) -> Result<(HttpServerHandle, SocketAddr)> {
let server = HttpServerBuilder::default().build(rpc.address).await?;
async fn start<DB: Database>(rpc: RpcInner<DB>) -> Result<(ServerHandle, SocketAddr)> {
let server = ServerBuilder::default().build(rpc.address).await?;
let addr = server.local_addr()?;

let mut methods = Methods::new();
Expand Down
4 changes: 2 additions & 2 deletions config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ retri.workspace = true

figment = { version = "0.10.7", features = ["toml", "env"] }
serde_yaml = "0.9.14"
strum = { version = "0.24.1", features = ["derive"] }
strum = { version = "0.26.2", features = ["derive"] }

common = { path = "../common" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio.workspace = true
dirs = "4.0.0"
dirs = "5.0.1"
2 changes: 1 addition & 1 deletion consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ getrandom = { version = "0.2.1", features = ["js"] }
openssl.workspace = true

[target.wasm32-unknown-unknown.dependencies]
parking_lot = { version = "0.11", features = ["wasm-bindgen"] }
parking_lot = { version = "0.12.2" }
2 changes: 1 addition & 1 deletion helios-ts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ crate-type = ["cdylib"]
wasm-bindgen = "0.2.84"
wasm-bindgen-futures = "0.4.33"
wasm-bindgen-test = "0.3.0"
serde-wasm-bindgen = "0.4.5"
serde-wasm-bindgen = "0.6.5"
console_error_panic_hook = "0.1.7"

eyre.workspace = true
Expand Down

0 comments on commit 3a9e175

Please sign in to comment.