bug(`prague hardfork`): add support for EIP-2935, currently missing
Component
Forge
Describe the feature you would like
EIP-2935 is part of the prague hardfork coming in May. Foundry should have full test support for EIP-2935, which would involve the following:
- Set the code for the contract at
HISTORY_STORAGE_ADDRESS - Automatically call
HISTORY_STORAGE_ADDRESSfromSYSTEM_ADDRESSduring the creation of all blocks vm.setBlockhash(#7929) should also set the blockhash on the contract atHISTORY_STORAGE_ADDRESS. Expand it's usability to the new serve window of 8191.
Additional context
No response
I would like to take on it
Hi @arr00 thanks for flagging this, this requires some investigating what part of this is related to Foundry and what to Revm.
The change in Foundry is possibly limited to the updating of the cheatcode.
@zerosnacks with alloy-evm we now have a way to invoke the system call directly, which we'd then need to invoke everytime we process a block, unsure how this affects forge though, this is probably more of an anvil issue
I see, tagging this as anvil, depending on how critical this is we can decide to pick it up independently from the revm bump or mark it as effectively blocked and treat it as a follow-up.
cc @grandizzy
Marking as blocked by https://github.com/foundry-rs/foundry/pull/10183 as it effectively relies on alloy-evm
No longer blocked post-revm bump
Hi, sorry for the bump on this issue, but is this planned for implementation?
Thanks for flagging @ngmachado, going to look into this again that it is unblocked
hey guys, sorry to bother here, is this issue planned to be implemented / fixed in the future?