diff --git a/Cargo.toml b/Cargo.toml index dd146cf7e12..ac9eda3b1b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,7 +85,7 @@ alloy-chains = { version = "0.1.18", default-features = false } # eips alloy-eip2930 = { version = "0.1.0", default-features = false } -alloy-eip7702 = { version = "0.4.1", default-features = false } +alloy-eip7702 = { version = "0.5.0", default-features = false } # ethereum ethereum_ssz_derive = "0.8" diff --git a/crates/consensus/src/transaction/envelope.rs b/crates/consensus/src/transaction/envelope.rs index 48c90df3429..7d2b1c476b5 100644 --- a/crates/consensus/src/transaction/envelope.rs +++ b/crates/consensus/src/transaction/envelope.rs @@ -1141,7 +1141,7 @@ mod tests { storage_keys: vec![B256::left_padding_from(&[9])], }]), authorization_list: vec![(Authorization { - chain_id: 1, + chain_id: U256::from(1), address: Address::left_padding_from(&[10]), nonce: 1u64, }) @@ -1313,7 +1313,7 @@ mod tests { storage_keys: vec![B256::random()], }]), authorization_list: vec![(Authorization { - chain_id: 1, + chain_id: U256::from(1), address: Address::left_padding_from(&[1]), nonce: 1u64, }) diff --git a/crates/network/src/ethereum/builder.rs b/crates/network/src/ethereum/builder.rs index d4a6b02f7e7..0b64474283f 100644 --- a/crates/network/src/ethereum/builder.rs +++ b/crates/network/src/ethereum/builder.rs @@ -173,7 +173,7 @@ mod tests { }; use alloy_consensus::{BlobTransactionSidecar, TxEip1559, TxType, TypedTransaction}; use alloy_eips::eip7702::Authorization; - use alloy_primitives::{Address, PrimitiveSignature as Signature}; + use alloy_primitives::{Address, PrimitiveSignature as Signature, U256}; use alloy_rpc_types_eth::{AccessList, TransactionRequest}; use std::str::FromStr; @@ -238,7 +238,7 @@ mod tests { .with_to(Address::ZERO) .with_access_list(AccessList::default()) .with_authorization_list(vec![(Authorization { - chain_id: 1, + chain_id: U256::from(1), address: Address::left_padding_from(&[1]), nonce: 1u64, })