Skip to content

cast run produces incorrect simulation of Arbitrum transaction (succeeds where it should fail) #7514

Open
@impactdni2

Description

@impactdni2

Component

Cast

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

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (9881e7d 2024-03-28T00:18:02.827635071Z)

What command(s) is the bug in?

cast run 0x1d66909d9039e5937406357449fad064edbb6d9c81944a8001ebfc4f0ba6d0b9 --rpc-url "https://arb1.arbitrum.io/rpc"

Operating System

Linux

Describe the bug

Transaction should run out of gas according to block explorers (ex: https://arbiscan.io/tx/0x1d66909d9039e5937406357449fad064edbb6d9c81944a8001ebfc4f0ba6d0b9), however when simulating in cast it succeeds:

cast run 0x1d66909d9039e5937406357449fad064edbb6d9c81944a8001ebfc4f0ba6d0b9 --rpc-url "https://arb1.arbitrum.io/rpc"
...
Transaction successfully executed.
Gas used: 611728

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions