Skip to content

Commit 54b1c57

Browse files
authored
Merge pull request #169 from alloy-rs/dani/alloy-0.9
chore(deps): bump alloy 0.9
2 parents 090ba45 + c447d24 commit 54b1c57

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ significant_drop_tightening = "allow"
9595
needless_return = "allow"
9696

9797
[workspace.dependencies]
98-
alloy = { version = "0.8", features = [
98+
alloy = { version = "0.9", features = [
9999
"eips",
100100
"full",
101101
"hyper",
@@ -113,10 +113,10 @@ alloy = { version = "0.8", features = [
113113
"signer-yubihsm",
114114
] }
115115

116-
foundry-fork-db = "0.9"
116+
foundry-fork-db = "0.10"
117117

118-
revm-primitives = "14.0"
119-
revm = "18.0"
118+
revm-primitives = "15.0"
119+
revm = "19.0"
120120

121121
# async
122122
futures-util = "0.3"

examples/advanced/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ revm-primitives.workspace = true
1919
revm.workspace = true
2020

2121
# reth
22-
reth-db = { git = "https://github.com/paradigmxyz/reth", package = "reth-db", tag = "v1.1.2" }
23-
reth-provider = { git = "https://github.com/paradigmxyz/reth", package = "reth-provider", tag = "v1.1.2" }
24-
reth-node-types = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-types", tag = "v1.1.2" }
25-
reth-chainspec = { git = "https://github.com/paradigmxyz/reth", package = "reth-chainspec", tag = "v1.1.2" }
26-
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-ethereum", tag = "v1.1.2" }
22+
reth-db = { git = "https://github.com/paradigmxyz/reth", package = "reth-db", rev = "c0a8a7b" }
23+
reth-provider = { git = "https://github.com/paradigmxyz/reth", package = "reth-provider", rev = "c0a8a7b" }
24+
reth-node-types = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-types", rev = "c0a8a7b" }
25+
reth-chainspec = { git = "https://github.com/paradigmxyz/reth", package = "reth-chainspec", rev = "c0a8a7b" }
26+
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", package = "reth-node-ethereum", rev = "c0a8a7b" }
2727

2828
eyre.workspace = true
2929
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

examples/advanced/examples/foundry_fork_db.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ fn configure_evm_env<T: TransactionResponse, H: BlockHeader>(
136136
difficulty: block.header.difficulty(),
137137
blob_excess_gas_and_price: Some(BlobExcessGasAndPrice::new(
138138
block.header.excess_blob_gas().unwrap_or_default(),
139+
false,
139140
)),
140141
};
141142

examples/advanced/examples/reth_db_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ where
177177
let provider = this.provider_at(block_id).map_err(TransportErrorKind::custom).unwrap();
178178

179179
let maybe_acc =
180-
provider.basic_account(address).map_err(TransportErrorKind::custom).unwrap();
180+
provider.basic_account(&address).map_err(TransportErrorKind::custom).unwrap();
181181

182182
let nonce = maybe_acc.map(|acc| acc.nonce).unwrap_or_default();
183183

examples/transactions/examples/send_eip4844_transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async fn main() -> Result<()> {
5454
assert_eq!(receipt.to, Some(bob));
5555
assert_eq!(
5656
receipt.blob_gas_used.expect("Expected to be EIP-4844 transaction"),
57-
DATA_GAS_PER_BLOB as u128
57+
DATA_GAS_PER_BLOB
5858
);
5959

6060
Ok(())

examples/transactions/examples/send_eip7702_transaction.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use alloy::{
44
eips::eip7702::Authorization,
55
network::{EthereumWallet, TransactionBuilder, TransactionBuilder7702},
66
node_bindings::Anvil,
7+
primitives::U256,
78
providers::{Provider, ProviderBuilder},
89
rpc::types::TransactionRequest,
910
signers::{local::PrivateKeySigner, SignerSync},
@@ -53,7 +54,7 @@ async fn main() -> Result<()> {
5354

5455
// Create an authorization object for Alice to sign.
5556
let authorization = Authorization {
56-
chain_id: anvil.chain_id(),
57+
chain_id: U256::from(anvil.chain_id()),
5758
// Reference to the contract that will be set as code for the authority.
5859
address: *contract.address(),
5960
nonce: provider.get_transaction_count(alice.address()).await?,

0 commit comments

Comments
 (0)