Closed jinseon2416 closed 9 months ago
hi @jinseon2416, what kind of node are you trying to run? full node or archive node?
btw, can you please update the issue title, it's not relevant to the content of the issue.
hi @ken-centrality, I'm trying to configure an archive mainnet. The following phenomenon occurs when users run the mainnet as is on GitHub.
thanks @jinseon2416, can you please try adding --sync warp
flag to see if it resolves the issue?
@ken-centrality, Block synchronization progressed normally, but rpc queries for previous blocks rather than the latest block do not seem to be working. Can you check this too?
curl http://localhost:9933 -X POST -H "Content-Type: application/json" --data '{"method":"eth_getBlockByNumber","params":["0x9ba3c0",false],"id":1,"jsonrpc":"2.0"}
{"jsonrpc":"2.0","error":{"code":-32603,"message":"Expect block number from id: BlockId::Number(10200000)"},"id":1}
hey @jinseon2416, you will need to wait for at least 48 hours for the node to sync up the old blocks. If it doesn't work, you can try download the snapshot https://s3.ap-southeast-2.amazonaws.com/snapshots.cicd.rootnet.app/snapshots/archive.rootnet/fv-au-prod-snapshot-archive.snapshot.20231122.1700614895.tar.gz
, unzip and replace the chains folder with then start the node with --pruning archive
instead.
@ken-centrality, I synchronized using a snapshot and it worked normally. Thank you for your kind reply!
Release
Release Name:
5.48.0
Spec Version:
48
Client Version:
5.0.0
We operated the mainnet with source code according to the trn-seed guide. However, the same thing happens with block number 8260096. Could I please receive an update on what is being done about this issue?
The execution command is as follows:
seed --chain=root --base-path=/data/root-mainnet --rpc-cors=all --rpc-external --ws-external