erigontech / erigontech/erigon

slow response in case 'trace_reaplyBlockTransacion' at block 2335329

Open
#15,509 12 comments 0 reactions 1 assignee Claimed by @lupin012 View on GitHub
performance RPC
Dominant language
Go
Stars
3.6k
Forks
1.5k
Avg merge
1d 16h
Merged PRs (30d)
455

Description

#### System information
Erigon Version: `3.0.5-42cc7e37`
OS & Version: Debian GNU/Linux 12 (bookworm)

Erigon Command (with flags/config):
```
--datadir=datadir
--prune.mode=archive
--http.addr=127.0.0.1
--http.api=eth,trace
--torrent.download.rate=512mb
--rpc.returndata.limit=1000000
```

Chain/Network:
Ethereum Mainnet

#### Expected behaviour
The RPC result should be returned within a reasonable amount of time.

#### Actual behaviour
It was stuck for a long time without any result returned.

#### Steps to reproduce the behaviour
Execute the following curl request for block 2335329:
```
curl \
--data '{
"method": "trace_replayBlockTransactions",
"params": ["0x23A261",["stateDiff"]],
"id": 1,
"jsonrpc": "2.0"
}' \
-H "Content-Type: application/json" \
-X POST http://127.0.0.1:8545
```

As shown [here](https://etherscan.io/txs?block=2335329), we only have 3 transfer transactions. So the size shouldn't be an issue. The curl requests work for 2335328 and 2335330 without any issues.

This happens on 2 of my erigon nodes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.