ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
47.39k stars 20.05k forks source link

I want to receive them in archive mode. #30403

Closed junghyun0783 closed 1 month ago

junghyun0783 commented 1 month ago

I'm trying to run it in "snap" mode and then run it in "full" archive mode. Can I continue to receive the existing blocks? Or do I have to receive the blocks again?

I'm currently running a node in sepolia snap mode. But I want to run it in "full archive" mode in snap. Can I continue to receive the blocks by just changing -syncmode "full" --gcmode archive in config?

The photo below is the log after changing to full archive mode. Originally, it was received well when it was "snap", but currently, synchronization is not progressing. 60

I desperately need the help of experts.

junghyun0783 commented 1 month ago

This is the geth command. prysm.bat beacon-chain --execution-endpoint=http://localhost:8551 --sepolia --datadir=./prysm_data_sepolia --jwt-secret=../jwt_sepolia.hex --rpc-host=0.0.0.0 --grpc-gateway-host=0.0.0.0 --genesis-state=sepolia_genesis.ssz --suggested-fee-recipient=0x67CDB8344FFCa7aaaeda9e7a4F4f1A9cb4D1FC64

MariusVanDerWijden commented 1 month ago

It looks like Prysm can't talk to Geth because of some issue with the JWT

You can use --gcmode archive to switch a snap sync'ed node into archive mode, but you need to use --state.scheme hash for now, because archive mode is not available with the path based mode yet