Block stuck?

This only for testnet (ITN event)

Install

Good to know: Please go to folder testnet-validator first, before you do any command below!

// open geth 
docker-compose exec testnet-validator-node geth attach /data/geth.ipc
// jump to earlier block head
debug.setHead(web3.toHex(3690000))
// after giving some response like:  null
// run command below to restart your nodes
docker-compose restart

if the above code are not working and you keep getting stuck after some block (for example stuck on #3,699,041.

Try command below

docker-compose down -v --remove-orphans
//edit docker file
nano docker-compose.yaml

Add "--bootnodes=$BOOTNODE1_ADDR,$BOOTNODE2_ADDR,$BOOTNODE3_ADDR" on your docker configuration like images below:

it's should be working normal now. please keep checking your blocks and node status on https://stats.qtestnet.org/

Share this tutorial if it's help. and join our telegram group for discussion :)

Last updated