diff --git a/Cargo.toml b/Cargo.toml index 1a1132b..0d4c5c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,7 +95,7 @@ significant_drop_tightening = "allow" needless_return = "allow" [workspace.dependencies] -alloy = { version = "0.4.1", features = [ +alloy = { version = "0.5.2", features = [ "full", "node-bindings", "rpc-types-debug", @@ -111,9 +111,9 @@ alloy = { version = "0.4.1", features = [ "eips", ] } -foundry-fork-db = "0.4" -revm-primitives = "10.0" -revm = "14.0" +foundry-fork-db = "0.5" +revm-primitives = "12.0" +revm = "16.0" # async futures-util = "0.3" diff --git a/examples/advanced/Cargo.toml b/examples/advanced/Cargo.toml index 7ebdcb0..44b0b19 100644 --- a/examples/advanced/Cargo.toml +++ b/examples/advanced/Cargo.toml @@ -19,11 +19,11 @@ revm-primitives.workspace = true revm.workspace = true # reth -reth-db = { git = "https://github.com/paradigmxyz/reth", package = "reth-db", tag = "v1.0.8" } -reth-provider = { git = "https://github.com/paradigmxyz/reth", package = "reth-provider", tag = "v1.0.8" } -reth-node-types = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-types", tag = "v1.0.8" } -reth-chainspec = { git = "https://github.com/paradigmxyz/reth", package = "reth-chainspec", tag = "v1.0.8" } -reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-ethereum", tag = "v1.0.8" } +reth-db = { git = "https://github.com/paradigmxyz/reth", package = "reth-db", tag = "v1.1.0" } +reth-provider = { git = "https://github.com/paradigmxyz/reth", package = "reth-provider", tag = "v1.1.0" } +reth-node-types = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-types", tag = "v1.1.0" } +reth-chainspec = { git = "https://github.com/paradigmxyz/reth", package = "reth-chainspec", tag = "v1.1.0" } +reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-ethereum", tag = "v1.1.0" } eyre.workspace = true tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } diff --git a/examples/layers/Cargo.toml b/examples/layers/Cargo.toml index 55e8bf1..3b6fd58 100644 --- a/examples/layers/Cargo.toml +++ b/examples/layers/Cargo.toml @@ -17,4 +17,4 @@ alloy.workspace = true eyre.workspace = true tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } -tower = { version = "0.4", features = ["retry"] } +tower = { version = "0.5", features = ["retry"] } diff --git a/examples/providers/examples/ws_with_auth.rs b/examples/providers/examples/ws_with_auth.rs index 2432187..dcc3aae 100644 --- a/examples/providers/examples/ws_with_auth.rs +++ b/examples/providers/examples/ws_with_auth.rs @@ -15,8 +15,8 @@ async fn main() -> Result<()> { // Create the WS connection object with authentication. let rpc_url = "wss://your-ws-endpoint.com/"; - let ws_basic = WsConnect::with_auth(rpc_url, Some(auth)); - let ws_bearer = WsConnect::with_auth(rpc_url, Some(auth_bearer)); + let ws_basic = WsConnect::new(rpc_url).with_auth(auth); + let ws_bearer = WsConnect::new(rpc_url).with_auth(auth_bearer); // Create the provider. let provider_basic = ProviderBuilder::new().on_ws(ws_basic).await?; diff --git a/examples/transactions/examples/send_eip7702_transaction.rs b/examples/transactions/examples/send_eip7702_transaction.rs index f3e0894..ed93a1c 100644 --- a/examples/transactions/examples/send_eip7702_transaction.rs +++ b/examples/transactions/examples/send_eip7702_transaction.rs @@ -4,7 +4,6 @@ use alloy::{ eips::eip7702::Authorization, network::{EthereumWallet, TransactionBuilder, TransactionBuilder7702}, node_bindings::Anvil, - primitives::U256, providers::{Provider, ProviderBuilder}, rpc::types::TransactionRequest, signers::{local::PrivateKeySigner, SignerSync}, @@ -54,7 +53,7 @@ async fn main() -> Result<()> { // Create an authorization object for Alice to sign. let authorization = Authorization { - chain_id: U256::from(anvil.chain_id()), + chain_id: anvil.chain_id(), // Reference to the contract that will be set as code for the authority. address: *contract.address(), nonce: provider.get_transaction_count(alice.address()).await?, diff --git a/examples/wallets/Cargo.toml b/examples/wallets/Cargo.toml index a44f35a..bc612e2 100644 --- a/examples/wallets/Cargo.toml +++ b/examples/wallets/Cargo.toml @@ -16,9 +16,9 @@ workspace = true alloy.workspace = true aws-config = { version = "1.5", default-features = false } -aws-sdk-kms = { version = "1.46", default-features = false } +aws-sdk-kms = { version = "1.47", default-features = false } eyre.workspace = true rand = "0.8" serde = { workspace = true, features = ["derive"] } -tempfile = "3.10" +tempfile = "3.13" tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }