Skip to content

Arbitrum fork test keeps failing when calling arbBlockNumber() #7294

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

Closed
2 tasks done
Abelaby opened this issue Mar 2, 2024 · 3 comments
Closed
2 tasks done

Arbitrum fork test keeps failing when calling arbBlockNumber() #7294

Abelaby opened this issue Mar 2, 2024 · 3 comments
Labels
T-bug Type: bug

Comments

@Abelaby
Copy link

Abelaby commented Mar 2, 2024

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

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.

[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.

@Abelaby Abelaby added the T-bug Type: bug label Mar 2, 2024
@Abelaby
Copy link
Author

Abelaby commented Mar 3, 2024

Update:

I've used vm.mockCall() to make it work for my PoC.

@xsubject
Copy link

Try <=0.8.19 solc

@zerosnacks
Copy link
Member

Marking as duplicate of #5085

Related: #7360

@zerosnacks zerosnacks closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

No branches or pull requests

3 participants