• Martin Holst Swende's avatar
    eth/tracers: add support for block overrides in debug_traceCall (#24871) · d8a23055
    Martin Holst Swende authored
    This PR adds support for block overrides when doing debug_traceCall.
    
    - Previously, debug_traceCall against pending erroneously used a common.Hash{} stateroot when looking up the state, meaning that a totally empty state was used -- so it always failed,
    - With this change, we reject executing debug_traceCall against pending.
    - And we add ability to override all evm-visible header fields.
    d8a23055
api_test.go 20.1 KB