Skip to content

eth_getBlockReceipts crashing for block 24354671 #19015

@kevlu93

Description

@kevlu93

System information

Erigon version: ./erigon --version 3.3.4

OS & Version: Windows/Linux/OSX Linux

Commit hash: 745451f

Erigon Command (with flags/config):

erigon --private.api.addr=0.0.0.0:9090
      --authrpc.jwtsecret=/home/erigon/.local/share/erigon/jwt.hex --datadir=/home/erigon/.local/share/erigon --prune.mode=minimal --prune.distance=100000 --prune.distance.blocks=100000 --http.addr=0.0.0.0 --http.vhosts='localhost,erigon'

Consensus Layer: None, not validating

Consensus Layer Command (with flags/config): N/A

Chain/Network: Ethereum Mainnet

Expected behaviour

curl -X POST http://erigon:8545      -H "Content-Type: application/json"      -d '{
  "jsonrpc": "2.0",
  "method": "eth_getBlockReceipts",
  "params": [
    "0x1739F6F"
  ],
  "id": 1
}'

I would expect this to return the transaction receipts for this block

Actual behaviour

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

Steps to reproduce the behaviour

I started up a fresh Erigon node, and then ran the above curl request after the node was synced.

Backtrace

From the logs

[EROR] [02-06|15:54:29.167] RPC method eth_getBlockReceipts crashed: runtime error: index out of range [3281250000] with length 305

I also tried eth_getTransactionReceipt for each receipt in the block, and got this error. Not sure which tx hash triggered it though:

[EROR] [02-06|14:27:33.069] RPC method eth_getTransactionReceipt crashed: runtime error: invalid memory address or nil pointer dereference

Metadata

Metadata

Assignees

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