Skip to content

Instantly share code, notes, and snippets.

@leonprou
Created July 16, 2020 18:15
Show Gist options
  • Save leonprou/e5b29138e98ffe0412414c80e3f510bd to your computer and use it in GitHub Desktop.
Save leonprou/e5b29138e98ffe0412414c80e3f510bd to your computer and use it in GitHub Desktop.
To sync the end of cycle on Fuse, you need to set the last processed block to the end of cycle that suceeded
# stop the container
docker stop fuseoracle-initiate-change
# open the redis CLI
sudo docker-compose exec redis redis-cli
# check that the redis key is correct (should be not nil)
GET native-erc-initiate-change:lastProcessedBlock
# set to a new value. 5831273 is currently the last relayed block on Mainnet.
SET native-erc-initiate-change: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