erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.15k stars 1.13k forks source link

Missing receipts on alpha3 polygon mainnet #12292

Open Staking7pc opened 1 month ago

Staking7pc commented 1 month ago

System information

Erigon version: ./erigon --version erigon version 3.00.0-alpha4-c0d9a2b9

OS & Version: Windows/Linux/OSX Ubuntu 20.04

Commit hash: c0d9a2b9

Erigon Command (with flags/config):

Consensus Layer:

Consensus Layer Command (with flags/config):

Chain/Network: Polygon mainnet

Expected behaviour

Erigon 2 had block receipts of all blocks even in full mode . so expecting same for erigon 3. The RPC call below to return receipts for a 50 days old block 

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

Actual behaviour

below RPC call returns error for a block which is 50 days old.

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

{"code":-32000,"message":"getReceipts error: nonce too low: address 0x88928fF265a144Aef2c5e228D536D9E477A68CFC, tx: 1414671 state: 1457042"}

Steps to reproduce the behaviour

SInce fresh from scrtach in erigon 3

Backtrace

[backtrace]
antonis19 commented 5 days ago

@Staking7pc could you provide the erigon command with the flags you used?