Skip to content

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

@Abelaby

Description

@Abelaby

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions