We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arbBlockNumber()
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
Forge
forge 0.2.0 (de33b6a 2024-03-02T00:15:47.606546623Z)
forge test --mt
Linux
I'm getting the following error when fork testing against a deployed contract.
[0] 0x0000000000000000000000000000000000000064::arbBlockNumber() [staticcall] │ │ │ │ │ └─ ← EvmError: InvalidFEOpcode │ │ │ │ └─ ← () │ │ │ └─ ← EvmError: Revert │ │ └─ ← EvmError: Revert
I believe this was briefly mentioned in issue no #5085
The issue is still persisting and would be nice if there was any solution/ workaround for this.
Thank you.
The text was updated successfully, but these errors were encountered:
Update:
I've used vm.mockCall() to make it work for my PoC.
vm.mockCall()
Sorry, something went wrong.
Try <=0.8.19 solc
Marking as duplicate of #5085
duplicate
Related: #7360
No branches or pull requests
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (de33b6a 2024-03-02T00:15:47.606546623Z)
What command(s) is the bug in?
forge test --mt
Operating System
Linux
Describe the bug
I'm getting the following error when fork testing against a deployed contract.
I believe this was briefly mentioned in issue no #5085
The issue is still persisting and would be nice if there was any solution/ workaround for this.
Thank you.
The text was updated successfully, but these errors were encountered: