feat(cheatcodes
): include trace information about setting account code in EIP7702 transaction
#9800
Labels
cheatcodes
): include trace information about setting account code in EIP7702 transaction
#9800
Component
Forge
Describe the feature you would like
In a forge test that uses the
vm.signAndAttachDelegation
(orvm.attachDelegation
) cheatcode, it'd be helpful if the test's trace somehow showed the account's code being set. Right now the process is opaque for the devs, and it's unclear whether the account's code was updated or not.For example, right now if I do:
Then the trace shows:
But there's nothing in the call to address(0) that signals the call has 7702 data attached and that it's setting code to an account.
Additional context
No response
The text was updated successfully, but these errors were encountered: