Skip to content

Commit

Permalink
fix(cheatcodes): use calldata in attachDelegation (#9407)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy authored Nov 25, 2024
1 parent de5e89c commit 672bdf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/cheatcodes/assets/cheatcodes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/cheatcodes/spec/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ interface Vm {

/// Designate the next call as an EIP-7702 transaction
#[cheatcode(group = Scripting)]
function attachDelegation(SignedDelegation memory signedDelegation) external;
function attachDelegation(SignedDelegation calldata signedDelegation) external;

/// Sign an EIP-7702 authorization and designate the next call as an EIP-7702 transaction
#[cheatcode(group = Scripting)]
Expand Down
2 changes: 1 addition & 1 deletion testdata/cheats/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 672bdf6

Please sign in to comment.