Skip to content

eth_getWitness only errors #17824

Description

@2xic

System information

Erigon version: erigon version 3.3.0-dev-f3a2b0d3 (I run into this issue on other 3.1.0+,3.2.0+ builds also)

OS & Version: Ubuntu 24.04.3 LTS

Commit hash: f3a2b0d

Erigon Command (with flags/config):

Consensus Layer: Caplin

Consensus Layer Command (with flags/config): default

Chain/Network: Mainnet

Expected behaviour

eth_getWitness gives me a response.

Actual behaviour

eth_getWitness gives me a error.

Steps to reproduce the behaviour

Start rpcdeamon and try to curl a recent block

./build/bin/rpcdaemon --http.api=eth,debug,trace --datadir /home/erigon-datadir

The request

curl -X POST http://localhost:8545 -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getWitness","params":["0x16a48a4"],"id":1}' 

Response

{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"method handler crashed"}}

Backtrace

EROR[11-09|13:57:44.216] RPC method eth_getWitness crashed: interface conversion: *temporal.Tx is not kv.TemporalRwTx: missing method Append
[service.go:222 panic.go:787 iface.go:102 iface.go:474 memory_mutation.go:810 stage_execute.go:304 stage_execute.go:204 stage_execute.go:420 stage_execute.go:377 stage_witness.go:117 eth_call.go:667 eth_call.go:553 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:1700]

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions