go-opera
go-opera copied to clipboard
why New block from index=4564026 point sync blockchain ,eventhough I downloaded the latest pruned snapshot ?
Describe the bug A clear and concise description of what the bug is. why New block from index=4564026 point sync blockchain ,eventhough I downloaded the latest pruned snapshot ?
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
New block from the latest world state & syncing.
Screenshots
- The startup shell is follow:
opera --cache 64000 --genesis /data/fantom/mainnet.g --datadir /data/fantom/ --maxpeers 500 --nousb --http --http.addr '0.0.0.0' --http.port 8545 --http.corsdomain "*" --http.vhosts "*" --ws --ws.addr '0.0.0.0' --ws.port 8546 --ws.origins '0.0.0.0' --http.api "eth,debug,net,admin,web3,personal,txpool,ftm,dag" --ws.api "eth,debug,net,admin,web3,personal,txpool,ftm,dag"
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [AWS Linux]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
@ai-chen2050 I think it's normal if you downloaded and used this genesis file mainnet-5577-pruned-mpt.g
Which genesis file did you use?
I use the official given genesis file: wget https://opera.fantom.network/mainnet.g
- where place download for mainnet-5577-pruned-mpt.g file? Thx
- where place download for mainnet-5577-pruned-mpt.g file? Thx
You can download difference version of new genesis files from https://github.com/Fantom-foundation/lachesis_launch/blob/master/docs/genesis-files.md to use with the latest release of opera
I download pruned snapshot from (Daily pruned snapshot) https://ftmbootstraps.ultimatenodes.io/, are you sure the right genesis file is mainnet-5577-pruned-mpt.g ? or mainnet-109331-pruned-mpt.g ? whether I can not pointed the genesis file by --genesis (omit --genesis flag)

I download pruned snapshot from (Daily pruned snapshot) https://ftmbootstraps.ultimatenodes.io/, are you sure the right genesis file is mainnet-5577-pruned-mpt.g ? or mainnet-109331-pruned-mpt.g ? whether I can not pointed the genesis file by --genesis (omit --genesis flag)
If you already downloaded the snapshot of datadir then I think you don't need --genesis
anymore
Downloading datadir archives isn't secure, as you have to trust that archive is correct. Such an archive may contain a mistake (accidentally or intentionally)
In a case you're okay with pruned EVM, the fastest syncing mode is snapsync. Download mainnet-109331-no-mpt.g (58.3 GB) if you need full blocks history or mainnet-109331-no-history.g (16.3 KB) in a case if you're okay with blocks history only after block 37676547
Move or ease your current datadir, add --syncmode snap
flag to enable snapsync, add --genesis
flag with selected genesis file
Downloading datadir archives isn't secure, as you have to trust that archive is correct. Such an archive may contain a mistake (accidentally or intentionally) In a case you're okay with pruned EVM, the fastest syncing mode is snapsync. Download mainnet-109331-no-mpt.g (58.3 GB) if you need full blocks history or mainnet-109331-no-history.g (16.3 KB) in a case if you're okay with blocks history only after block 37676547 Move or ease your current datadir, add
--syncmode snap
flag to enable snapsync, add--genesis
flag with selected genesis file
some error happed, when I follow you steps.
Fatal: Failed to read genesis file: wrong version of genesis file, got=00020001, expected=00010001
Please update opera
to v1.1.1-rc.1
Hi @ai-chen2050 , is it still an issue?