Skip to content

bug(prague hardfork): add support for EIP-2935, currently missing #10357

Open
@arr00

Description

@arr00

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_ADDRESS from SYSTEM_ADDRESS during the creation of all blocks
  • vm.setBlockhash("vm.setBlockhash" cheatcode #7929) should also set the blockhash on the contract at HISTORY_STORAGE_ADDRESS. Expand it's usability to the new serve window of 8191.

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Backlog

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions