Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

RPC method trace_call crashed: runtime error: invalid memory address or nil pointer dereference #810

Description

@Taki21

System information

Erigon version: bsc-erigon:v1.4.3

OS & Version: Linux

Chain/Network: BSC/Mainnet

Actual behaviour

Method handler crashes when using stateDiff in the trace_call method. It shows the following error:

[EROR] [01-31|20:37:40.288] RPC method trace_call crashed: runtime error: invalid memory address or nil pointer dereference
[service.go:222 panic.go:783 panic.go:262 signal_unix.go:925 trace_adhoc.go:350 trace_adhoc.go:456 evm.go:546 evm.go:189 evm.go:295 state_transition.go:569 state_transition.go:170 state_transition.go:153 trace_adhoc.go:1147 value.go:581 value.go:365 service.go:227 handler.go:529 handler.go:479 handler.go:420 handler.go:240 handler.go:333 asm_amd64.s:1693]

Steps to reproduce the behaviour

The trace_call request payload:

'{"jsonrpc":"2.0","method":"trace_call","id":1735568,"params":[{"from":"0xa88c49ebf717d14304743966c9d3d360a54aba72","to":"0x89e0fd879645c39a3b7d46559d6129c897c44444","value":"0x0","data":"0xa9059cbb0000000000000000000000003dbb9c50f78695fd4cb679a1d8d337deb9a115980000000000000000000000000000000000000000000000000de0b6b3a7640000"},["stateDiff"],"0x4ae8a3a"]}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions