Skip to content
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

Wrong trie root of block X #12746

Open
RedstonedLife opened this issue Nov 18, 2024 · 1 comment
Open

Wrong trie root of block X #12746

RedstonedLife opened this issue Nov 18, 2024 · 1 comment

Comments

@RedstonedLife
Copy link

System information

System information

Erigon version: 3.00.0-alpha5-78f3647d

OS & Version: Ubuntu 22.04.4 LTS x86_64

Commit hash: 78f3647d

Erigon Command (with flags/config): /home/erigon/build/bin/erigon --internalcl --datadir /cryptonode/ethereum --chain mainnet --torrent.download.rate=5000mb --torrent.maxpeers=200 --batchSize=3G --etl.buffersize=3G

Chain/Network: Ethereum Mainnet

Expected behaviour

Syncing as expected.

Actual behaviour

Hashes mismatch between block 2117340 and the expected hash in the block header.
Hash: 0e051321649cdf03a1e7e5a52a634eb260ee80d0111b03d7af8e1c1b4b882550
Expected Hash (from header): fbadc4360017ba62ef6e4b633bfbf1108a73685b6cf6365ab1eee75315877d05
Block hash: 467c2df67e25a1d5ce733899b74a1aeda10cdeaafca7dc17b3e54fb4353a55f9

Steps to reproduce the behaviour

Install Erigon and start syncing.

Backtrace

Nov 18 00:04:30 enode-01 erigon[191453]: [INFO] [11-18|00:04:30.357] [4/6 Execution]                          blk=21178340 blks=223 blk/s=0.2 txs=42681 tx/s=47 gas/s=3.77M buf=5.4GB/3.0GB stepsInDB=0.29 step=1677.0 alloc=12.7GB sys=20.5GB
Nov 18 00:04:30 enode-01 erigon[191453]: [EROR] [11-18|00:04:30.461] [4/6 Execution] Wrong trie root of block 21178340: 0e051321649cdf03a1e7e5a52a634eb260ee80d0111b03d7af8e1c1b4b882550, expected (from header): fbadc4360017ba62ef6e4b633bfbf1108a73685b6cf6365ab1eee75315877d05. Block hash: 467c2df67e25a1d5ce733899b74a1aeda10cdeaafca7dc17b3e54fb4353a55f9
Nov 18 00:04:30 enode-01 erigon[191453]: [WARN] [11-18|00:04:30.461] Unwinding due to incorrect root hash     to=21177340
Nov 18 00:04:30 enode-01 erigon[191453]: [WARN] [11-18|00:04:30.465] [snapshots] lastIdInDB                   err="mdbx_txn_begin: MDBX_TXN_OVERLAPPING: Overlapping read and write transactions for the current thread, label: chaindata, trace: [kv_mdbx.go:782 kv_mdbx.go:935 aggregator.go:1959 aggregator.go:1635 exec3.go:1127 stage_execute.go:164 stage_execute.go:254 default_stages.go:238 sync.go:531 sync.go:410 forkchoice.go:453 asm_amd64.s:1695]"
Nov 18 00:04:30 enode-01 erigon[191453]: [WARN] [11-18|00:04:30.465] [snapshots] lastIdInDB                   err="mdbx_txn_begin: MDBX_TXN_OVERLAPPING: Overlapping read and write transactions for the current thread, label: chaindata, trace: [kv_mdbx.go:782 kv_mdbx.go:935 aggregator.go:1959 aggregator.go:1636 exec3.go:1127 stage_execute.go:164 stage_execute.go:254 default_stages.go:238 sync.go:531 sync.go:410 forkchoice.go:453 asm_amd64.s:1695]"
Nov 18 00:04:30 enode-01 erigon[191453]: [WARN] [11-18|00:04:30.466] [snapshots] lastIdInDB                   err="mdbx_txn_begin: MDBX_TXN_OVERLAPPING: Overlapping read and write transactions for the current thread, label: chaindata, trace: [kv_mdbx.go:782 kv_mdbx.go:935 aggregator.go:1959 aggregator.go:1637 exec3.go:1127 stage_execute.go:164 stage_execute.go:254 default_stages.go:238 sync.go:531 sync.go:410 forkchoice.go:453 asm_amd64.s:1695]"
Nov 18 00:04:30 enode-01 erigon[191453]: [WARN] [11-18|00:04:30.466] [snapshots] lastIdInDB                   err="mdbx_txn_begin: MDBX_TXN_OVERLAPPING: Overlapping read and write transactions for the current thread, label: chaindata, trace: [kv_mdbx.go:782 kv_mdbx.go:935 aggregator.go:1969 aggregator.go:1638 exec3.go:1127 stage_execute.go:164 stage_execute.go:254 default_stages.go:238 sync.go:531 sync.go:410 forkchoice.go:453 asm_amd64.s:1695]"
Nov 18 00:04:30 enode-01 erigon[191453]: [INFO] [11-18|00:04:30.466] BuildFilesInBackground                   step=1676 lastInDB=0
Nov 18 00:04:30 enode-01 erigon[191453]: [INFO] [11-18|00:04:30.466] [4/6 Execution] Done                     blk=21178340 blks=6341 blk/s=4.7 txs=1112554 tx/s=833 gas/s=71.68M buf=5.4GB/3.0GB stepsInDB=0.00 step=1677.0 alloc=12.7GB sys=20.5GB
Nov 18 00:04:30 enode-01 erigon[191453]: [INFO] [11-18|00:04:30.468] [4/6 Execution] DONE                     in=22m15.324343596s block=21171999
Nov 18 00:04:30 enode-01 erigon[191453]: [INFO] [11-18|00:04:30.468] [4/6 Execution] Unwind Execution         from=21178340 to=21177340
Nov 18 00:04:30 enode-01 erigon[191453]: [WARN] [11-18|00:04:30.473] Cannot update chain head                 hash=0xa7a687d2ad484de519133f2548c98e08672ec71275df057843a756dc2aadd7c1 err="updateForkChoice: [4/6 Execution] domains.GetDiffset(21178340, 0x467c2df67e25a1d5ce733899b74a1aeda10cdeaafca7dc17b3e54fb4353a55f9): not found"
@AskAlexSharov
Copy link
Collaborator

i think it's fixed in main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants