Skip to content

Commit

Permalink
Merge pull request #152 from alloy-rs/zerosnacks/bump-alloy
Browse files Browse the repository at this point in the history
chore: bump to 0.5.2
  • Loading branch information
mattsse authored Oct 21, 2024
2 parents 227f0d9 + 41e6b90 commit 6512656
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions examples/advanced/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/layers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
4 changes: 2 additions & 2 deletions examples/providers/examples/ws_with_auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down
3 changes: 1 addition & 2 deletions examples/transactions/examples/send_eip7702_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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?,
Expand Down
4 changes: 2 additions & 2 deletions examples/wallets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

0 comments on commit 6512656

Please sign in to comment.