Skip to content

Commit

Permalink
After review small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrLSD committed Jan 20, 2025
1 parent 638fb47 commit 69dd68a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine-tests/src/tests/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ fn test_eip_7702_success() {
}

#[test]
fn test_eip_7702_wrong_auth_nonce() {
fn test_eip_7702_wrong_auth_chain_id() {
let mut runner = utils::deploy_runner();
let signer = example_signer();
let signer_address = utils::address_from_secret_key(&signer.secret_key);
Expand Down Expand Up @@ -290,7 +290,7 @@ fn test_eip_7702_wrong_auth_nonce() {
H256::zero()
);

// Authority address should increase Nonce
// Authority address should not increase Nonce because authorization failed
assert_eq!(runner.get_nonce(delegated_designator), 0.into());
// Get delegated designator address: in that particular case it should be empty
assert!(runner.get_code(delegated_designator).is_empty());
Expand Down

0 comments on commit 69dd68a

Please sign in to comment.