Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foundry script does not support EIP4788(the beacon root oracle) in local simulation #7938

Open
adu-web3 opened this issue May 17, 2024 · 0 comments
Labels
A-evm Area: EVM Cmd-forge-script Command: forge script T-feature Type: feature

Comments

@adu-web3
Copy link

Component

Forge

Describe the feature you would like

Currently if we write foundry script to call the beacon root address like this:

(bool success,) = BEACON_ROOTS.staticcall(abi.encode(_targetTimestamp));

where BEACON_ROOTS refer to 0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02 defined in EIP4788(https://eips.ethereum.org/EIPS/eip-4788#bytecode), the tx can not be fired because of Failed to estimate gas for tx. I guess EIP4788 is not supported by foundry script

Additional context

No response

@adu-web3 adu-web3 added the T-feature Type: feature label May 17, 2024
@Evalir Evalir added A-evm Area: EVM Cmd-forge-script Command: forge script labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-evm Area: EVM Cmd-forge-script Command: forge script T-feature Type: feature
Projects
None yet
Development

No branches or pull requests

2 participants