Skip to content

Instantly share code, notes, and snippets.

@leonprou
Last active July 16, 2020 13:24
Show Gist options
  • Save leonprou/3cd2b6f2f96f6dcc9be548c2e44782f3 to your computer and use it in GitHub Desktop.
Save leonprou/3cd2b6f2f96f6dcc9be548c2e44782f3 to your computer and use it in GitHub Desktop.
#docker stop $CONTAINER_NAME
# open the redis CLI
sudo docker-compose exec redis redis-cli
# check the current blocknumber of the $CONRAINER_ID:lastProcessedBlock
GET $CONRAINER_ID:lastProcessedBlock
# set to a new value. 5831273 is the current last relayed block on Mainnet.
SET $CONRAINER_ID:lastProcessedBlock 5831273
# close the redis CLI
# start the closed container
docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment