multiversx / mx-chain-scripts

GNU General Public License v3.0
4 stars 6 forks source link

how to sync from latest on devnet? #16

Open sylviahuang123 opened 9 months ago

sylviahuang123 commented 9 months ago

My observing squad node is syncing very slow on devnet, and it's start from 1, I just want to start from latest, how to configure? I've tried both /node -operation-mode snapshotless-observer and -full-archive false, but none works, can you please show me the detail operation? Thank you.

bogdan-rosianu commented 9 months ago

As discussed on Discord, if removing the db directory and only syncing the most recent chain epoch does not help with the sync time, then probably the machine used is under specs

sylviahuang123 commented 9 months ago

I'm talking about the syncing from latest epoch, all method are not work. Actually I have clean up & reinstall, but still can't sync the most recent epoch. It must be some other config not right.

bogdan-rosianu commented 9 months ago

Maybe you messed up some config values. Can you try ./script.sh cleanup and then re-do the steps again? It should work. If not, please attach some logs

sylviahuang123 commented 9 months ago

yes, I'm following these steps cleanup/remove_db many times cat elrond-nodes/node-0/config/prefs.toml FullArchive = false

image

let me know if you need more.