You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey folks, I've been experimenting these past days with the testnet and the 7702 features. I think there's an inconsistent behavior in how the node is handling some calls vs. how the EVM is doing it.
According to EIP 7702, it is expected that "code reading operations to act only on the delegation designator", instead of following the delegation pointer.This affects opcodes EXTCODESIZE, EXTCODEHASH, EXTCODECOPY.
As far as I understand, that's the expected behavior.
But, if I query the account through this on-chain Reader contract, it seems like it's following the address pointer and reading the values from the that account instead.
Hey folks, I've been experimenting these past days with the testnet and the 7702 features. I think there's an inconsistent behavior in how the node is handling some calls vs. how the EVM is doing it.
According to EIP 7702, it is expected that "code reading operations to act only on the delegation designator", instead of following the delegation pointer.This affects opcodes EXTCODESIZE, EXTCODEHASH, EXTCODECOPY.
So let's see account
0x1aD89593788CC8cc570aD0f4257862171d7f46A8
which at the moment of writing is delegating to0x35202a6e6317f3cc3a177eeee562d3bcda4a6fcc
.Querying the account's code, codesize and codehash using cast, I'm getting:
As far as I understand, that's the expected behavior.
But, if I query the account through this on-chain
Reader
contract, it seems like it's following the address pointer and reading the values from the that account instead.If I understand the EIP correctly, then these last on-chain results I'm getting are wrong, aren't they?
The text was updated successfully, but these errors were encountered: