-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nonce too high error calling debug_traceTransaction #199
Comments
Tracing the following transactions also errors out
|
Adding another tx: |
I have the same problem here |
We found the following: Affects >90% of transactions within these blocks:
Affects both Affects Erigon nodes that are doing snapshots. |
This is the block number where I recently encountered a nonce too hight error using the debug_traceByBlockNumber interface, and this is only a portion of what was affected. https://gist.github.com/00db8568422edc786a4261a4a3fe8853.git |
As far as I can tell, there is something wrong with snapshots. The block range that is affected is increasing, which is to be expected as the node removes data from the database and moves it to snapshots. |
Can also confirm that older blocks (~29,500,000) are affected. If someone could test the following transactions:
RPC replies with the error: |
@tpalaz |
@0x1un interesting. Was your node synced from scratch or did you use public snapshots, such as the ones from BNB 48 Club? |
@tpalaz synced from public snapshots: https://github.com/bnb-chain/bsc-snapshots |
I think this is caused by a bug in a certain version of erigon, please update upstream as soon as possible https://github.com/search?q=repo%3Aledgerwatch%2Ferigon%20BadHeaderNumber&type=code |
So, we sync'd from genesis (snapshots enabled) and this error happens basically all the time. We sync'd another node from genesis with snapshots disabled and it seems fine... So snapshots are definitely busted |
You means nearly all history block in snapshots are busted? Or just block after 29000000 ? |
I THINK it's just blocks after |
Actually, I take it back. The node never actually finished syncing from Genesis because of an error in execution at 30M:
💀 |
Stuck at block 29999999, seems like this #226 (comment). |
@blxdyx same issue,
This result I get with and without using snapshots btw |
Same issue, will update in this: #211 |
System information
Erigon version:
erigon/1.1.6/linux-amd64/go1.20.6
OS & Version: Linux
Chain/Network: BSC Mainnet
Expected behaviour
A correct response
Actual behaviour
{"code":-32000,"message":"transaction 8550de69437bf36fbd2e030c84d96cd763fa76d21860689c477e8fcb84aa1fca failed: nonce too high: address 0xeeD3EF2BA1797AeEF04be6bbEbd5BeD0Cb7f8528, tx: 3567779 state: 22634"}
Steps to reproduce the behaviour
Run with the following payload
Backtrace
Does not generate any errors in the logs
The text was updated successfully, but these errors were encountered: