mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: update revm 19 alloy 09 (#13594)
This commit is contained in:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user