reth icon indicating copy to clipboard operation
reth copied to clipboard

eth_simulateV1 gives Transaction conversion error when it shouldn't

Open jonathanudd opened this issue 11 months ago • 0 comments
trafficstars

Describe the bug

I'm running a Base mainnet archive node using op-reth version 1.1.4.

This RPC request returns Transaction conversion error from our op-reth node but it works on a Base node running with op-geth

{
  "method": "eth_simulateV1",
  "jsonrpc": "2.0",
  "id": 1,
  "params": [
    {
      "blockStateCalls": [
        {
          "calls": [
            {
              "type": "0x2",
              "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
              "nonce": "0x0",
              "maxFeePerGas": "0x1",
              "maxPriorityFeePerGas": "0x1",
              "gas": "0x5208",
              "to": "0xda9dfa130df4de4673b89022ee50ff26f6ea73cf",
              "value": "0xa",
              "input": "0x"
            }
          ],
          "stateOverrides": {}
        },
        {
          "calls": [
            {
              "type": "0x2",
              "from": "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
              "nonce": "0x0",
              "maxPriorityFeePerGas": "0x0",
              "gas": "0x1c9c380",
              "to": "0xca11bde05977b3631167028862be2a173976ca11",
              "value": "0x0",
              "input": "0x82ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000244d2301cc000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604500000000000000000000000000000000000000000000000000000000000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000244d2301cc000000000000000000000000da9dfa130df4de4673b89022ee50ff26f6ea73cf00000000000000000000000000000000000000000000000000000000"
            }
          ]
        }
      ],
      "traceTransfers": true,
      "validation": false
    },
    "latest"
  ]
}

Steps to reproduce

  1. Make the RPC request described in the description to a Base node running with op-reth
  2. Got Transaction conversion error

Node logs


Platform(s)

Linux (x86)

Container Type

LXC/LXD

What version/commit are you on?

reth-optimism-cli Version: 1.1.4 Commit SHA: 15fac0873e91ea29ab2e605bfba17bedcd7a6084 Build Timestamp: 2024-12-11T10:16:37.504323039Z Build Features: asm_keccak,jemalloc,optimism Build Profile: maxperf

What database version are you on?

2024-12-17T07:17:38.727203Z INFO Initialized tracing, debug log directory: /root/.cache/reth/logs/dev Current database version: 2 Local database version: 2

Which chain / network are you on?

--chain=base

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

No response

Code of Conduct

  • [x] I agree to follow the Code of Conduct

jonathanudd avatar Dec 17 '24 09:12 jonathanudd