Skip to content

eth_simulateV1 not working with >1 blockStateCalls #194

Description

@fririn

Describe the bug

Basically the title, eth_simulateV1 api not working with >1 blockStateCalls. Same request works fine on geth node.

  1. make a request with 1 blockStateCall like this -> success
    curl -s -X POST http://localhost:8545 \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_simulateV1","params":[{"blockStateCalls":[{"calls":[]}]},"latest"],"id":1}' {"jsonrpc":"2.0","id":1,"result":[{"hash":"0x7adb4183......
  2. Make a request with >1 blockStateCalls like this -> error
    curl -s -X POST http://localhost:8545 \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_simulateV1","params":[{"blockStateCalls":[{"calls":[]},{"calls":[]}]},"latest"],"id":1}' {"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"Failed to get parent header from global header reader"}}

Steps to reproduce

  1. make a request with 1 blockStateCall like this -> success
    curl -s -X POST http://localhost:8545 \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_simulateV1","params":[{"blockStateCalls":[{"calls":[]}]},"latest"],"id":1}' {"jsonrpc":"2.0","id":1,"result":[{"hash":"0x7adb4183......
  2. Make a request with >1 blockStateCalls like this -> error
    curl -s -X POST http://localhost:8545 \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_simulateV1","params":[{"blockStateCalls":[{"calls":[]},{"calls":[]}]},"latest"],"id":1}' {"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"Failed to get parent header from global header reader"}}

Node logs


Platform(s)

Linux (x86)

Container Type

Docker

What version/commit are you on?

Reth-BSC Version: 1.10.2-dev
Commit SHA: 507fb35
Build Timestamp: 2026-05-22T11:58:43.563843933Z
Build Features: asm_keccak,jemalloc,keccak_cache_global,otlp,otlp_logs
Build Profile: maxperf

What database version are you on?

Current database version: 2
Local database version: 2

Which chain / network are you on?

--chain=bsc

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

cargo build --profile maxperf --features jemalloc,asm-keccak

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions