feat: update revm 19 alloy 09 (#13594)

This commit is contained in:
Matthias Seitz
2024-12-30 19:49:39 +01:00
committed by GitHub
parent a6325c41e0
commit 0b135a2670
54 changed files with 273 additions and 341 deletions

View File

@ -56,7 +56,8 @@ impl TransactionTestContext {
delegate_to: Address,
wallet: PrivateKeySigner,
) -> TxEnvelope {
let authorization = Authorization { chain_id, address: delegate_to, nonce: 0 };
let authorization =
Authorization { chain_id: U256::from(chain_id), address: delegate_to, nonce: 0 };
let signature = wallet
.sign_hash_sync(&authorization.signature_hash())
.expect("could not sign authorization");