Open
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge Version: 1.2.2-nightly Commit SHA: b42d512 Build Timestamp: 2025-06-03T06:02:38.785261834Z (1748930558) Build Profile: maxperf
What version of Foundryup are you on?
foundryup: 1.1.0
What command(s) is the bug in?
forge test
Operating System
Linux
Describe the bug
Rolling an arbitrum fork to a specific transaction fails with the following error:
vm.rollFork: backend: failed committing transaction; transaction validation error: priority fee is greater than max fee
This only happens with one specific transaction.
Further than that arbitrum doesn't support eip1559 style fees, neither is the transaction itself a eip1559 transaction. (arbitrum supports them for compatibility reasons, just ignores the priority fee parameter).
Minimal example to reproduce:
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;
import {Test} from "forge-std/Test.sol";
contract IssueTest is Test {
uint256 arbFork;
function setUp() public {
string memory rpcUrl = vm.envString("ARB_RPC_URL");
arbFork = vm.createSelectFork(
rpcUrl
);
}
function testIssue() public {
bytes32 txHash = 0x2e43e9ececcbb9cd08ce061edc3b4d39ca2b0ba480034e5f4650ba0065bf6b62;
vm.rollFork(txHash);
assertTrue(true, "This is a placeholder test that always passes.");
}
}```
Specify the ARB_RPC_URL and run with ```forge test --mt testIssue```
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog