erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Ethereum Node Stuck at Block 18999999 in Erigon v2.60.0

Open SMRehman-KrypC-Xygle opened this issue 1 year ago • 5 comments

Hi,

we are not able to download the blocks, but there is lots of recovery happening .can you please check below logs and help us. waiting for your response.

BUG[01-23|04:40:07.824] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:40:08.174] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:40:10.765] OnBlock elapsed=241.813623ms DBUG[01-23|04:40:12.744] Received blob sidecar via gossip index=0 size=128KB DBUG[01-23|04:40:12.794] Received blob sidecar via gossip index=3 size=128KB DBUG[01-23|04:40:12.805] Received blob sidecar via gossip index=2 size=128KB DBUG[01-23|04:40:12.817] Received block via gossip slot=10898599 DBUG[01-23|04:40:12.817] Block scheduled for later processing block=10898599 DBUG[01-23|04:40:12.842] Received blob sidecar via gossip index=1 size=128KB DBUG[01-23|04:40:12.858] Received blob sidecar via gossip index=4 size=128KB WARN[01-23|04:40:14.209] [rpc] served conn=127.0.0.1:46694 method=eth_call reqid=0 t=163.729µs err="execution reverted" WARN[01-23|04:40:14.243] [rpc] served conn=127.0.0.1:46792 method=eth_call reqid=1 t=141.965µs err="execution reverted" WARN[01-23|04:40:14.394] [rpc] served conn=127.0.0.1:47430 method=eth_call reqid=2 t=125.151µs err="execution reverted" WARN[01-23|04:40:14.441] [rpc] served conn=127.0.0.1:47542 method=eth_call reqid=3 t=178.458µs err="execution reverted" WARN[01-23|04:40:14.502] [rpc] served conn=127.0.0.1:47810 method=eth_call reqid=

DBUG[01-23|04:41:57.052] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:41:57.467] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:41:58.309] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:41:58.309] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:41:58.632] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:41:59.171] Received block via gossip slot=10898377 DBUG[01-23|04:41:59.171] Block scheduled for later processing block=10898377 DBUG[01-23|04:42:00.925] Received blob sidecar via gossip index=2 size=128KB DBUG[01-23|04:42:00.941] Received blob sidecar via gossip index=1 size=128KB DBUG[01-23|04:42:00.941] Received blob sidecar via gossip index=5 size=128KB DBUG[01-23|04:42:00.955] Received blob sidecar via gossip index=0 size=128KB DBUG[01-23|04:42:00.975] Received blob sidecar via gossip index=4 size=128KB DBUG[01-23|04:42:01.006] Received block via gossip slot=10898608 DBUG[01-23|04:42:01.006] Block scheduled for later processing block=10898608 DBUG[01-23|04:42:01.023] Received blob sidecar via gossip index=3 size=128KB INFO[01-23|04:42:03.767] [] ETL [2/2] Loading into=PlainState current_prefix=fdaf009e

DBUG[01-23|04:42:19.495] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:19.667] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:19.676] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:19.686] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:19.910] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:20.078] Received block via gossip slot=10898564 DBUG[01-23|04:42:20.078] Block scheduled for later processing block=10898564 DBUG[01-23|04:42:20.297] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:20.404] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:20.483] Received block via gossip slot=10898565 DBUG[01-23|04:42:20.483] Block scheduled for later processing block=10898565 DBUG[01-23|04:42:20.543] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:21.328] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:21.427] Received block via gossip slot=10898566 DBUG[01-23|04:42:21.427] Block scheduled for later processing block=10898566 DBUG[01-23|04:42:21.560] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:21.826] OnBlock elapsed=116.353854ms DBUG[01-23|04:42:21.960] Received block via gossip slot=10898567 DBUG[01-23|04:42:21.960] Block scheduled for later processing block=10898567 DBUG[01-23|04:42:22.016] OnBlock elapsed=110.327259ms DBUG[01-23|04:42:22.210] OnBlock elapsed=114.425433ms DBUG[01-23|04:42:22.394] OnBlock elapsed=128.812597ms DBUG[01-23|04:42:22.507] Received block via gossip slot=10898568 DBUG[01-23|04:42:22.507] Block scheduled for later processing block=10898568 DBUG[01-23|04:42:22.580] [Beacon Gossip] Recoverable Error err="aggregator's validator index is not in subcommittee" DBUG[01-23|04:42:22.804] Received blob sidecar via gossip index=2 size=128KB INFO[01-23|04:42:23.006] Write to db progress=4.2M/4.3M current table=Code DBUG[01-23|04:42:23.970] Received blob sidecar via gossip index=2 size=128KB DBUG[01-23|04:42:24.141] Received block via gossip slot=10898534

SMRehman-KrypC-Xygle avatar Jan 23 '25 09:01 SMRehman-KrypC-Xygle

Please, try latest v3.0.0-beta1 or v2.61.0 on empty data directory.

lystopad avatar Jan 23 '25 09:01 lystopad

@lystopad What if we use the version v2.61.0 and run it in the existing data directory. Will there be any chance of data corruption.

When we update form v2.60.0 to v3.0.0-beta1 we received this error, EROR[01-23|12:47:50.257] Erigon startup err="migrator.VerifyVersion: cannot switch major DB version, db: 6, erigon: 7, try \"rm -rf /datadisk/node/erigon-start/chaindata\"" migrator.VerifyVersion: cannot switch major DB version, db: 6, erigon: 7, try "rm -rf /datadisk/node/erigon-start/chaindata"

VaishakhKrypC avatar Jan 23 '25 13:01 VaishakhKrypC

@VaishakhKrypC it looks like you are using Caplin --internalcl. As per the announcement (link) from 2 days ago we are deprecating support for Caplin in Erigon2 and are encouraging users to move to Erigon3-beta1 for continued support and improvements.

Regarding your error - you can't transition from v2.60.0 to v3.0.0.0-beta1 on the same datadir. You need to re-sync from scratch on a new empty datadir. This is very quick with Erigon3 (a couple of hours depending on your bandwidth - check the announcement for estimates). Please also familiarise yourself with new flags like --prune.mode=<archive/full/minimal> (default is full as per the announcement) and the removal of --internalcl flag (which is renamed to --externalcl in Erigon3 and is false by default - so running Caplin by default).

Closing this issue for now but if you have issues syncing erigon3-beta1 from scratch feel free to re-open.

taratorio avatar Jan 23 '25 15:01 taratorio

@lystopad - We are almost having 7.2T data synced in v2.60.0 version of erigon, just need to know how long it will take to finish the sync in this case. We want to sync for our ethereum archive node.

Run Command used:

./erigon --datadir /datadisk/node/erigon-start --chain=mainnet --http.api=eth,debug,net,trace,web3 --http.addr=0.0.0.0 --http.port=8545 --http.vhosts=* --metrics --metrics.addr=0.0.0.0 --log.console.verbosity=debug --log.dir.path=/datadisk/node/logs --txpool.disable --internalcl

Also if we are using v3.0.0-beta1 What should be the appropriate command to run with

VaishakhKrypC avatar Jan 24 '25 05:01 VaishakhKrypC

@VaishakhKrypC the equivalent command to run erigon3 in this case will be

./erigon --datadir /datadisk/node/erigon-start --prune.mode=archive --chain=mainnet --http.api=eth,debug,net,trace,web3 --http.addr=0.0.0.0 --http.port=8545 --http.vhosts=* --metrics --metrics.addr=0.0.0.0 --log.console.verbosity=debug --log.dir.path=/datadisk/node/logs --txpool.disable

Erigon3 beta1 takes 1.79TB for archive and takes 18 hours to sync (this can be faster if you have a fast download connection and run with --torrent.download.rate=1G if you have 1 GB connection for example - the default is 128mb). You can find that information in the announcement https://erigon.tech/announcing-erigon-v3-beta-1-a-scalable-and-efficient-ethereum-integrated-client/

Image

taratorio avatar Jan 24 '25 10:01 taratorio