Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

v1.9.0

Compare
Choose a tag to compare
@RetricSu RetricSu released this 29 Nov 06:39
· 15 commits to 1.9-rc since this release

Note

Database fixing is required for this release. Instead of doing a re-sync in web3-indexer, we have provided a new command in web3-indexer to update the whole database.

./target/release/gw-web3-indexer update <optional start block, default to 0> <optional end block, default to local tip> <optional cpu cores to use for update, default to half of local cores>

How to upgrade

  1. Update and running godwoken-web3
  2. Run db migration:
yarn knex migrate:latest
  1. Update and running gw-web3-indexer
  2. open another terminal and run:
./target/release/gw-web3-indexer update

It will fix the database from genesis to the current tip block. This might takes a few hours. In case the process exit at block N during the fixing, you can run again to fix the database starting from N+1 block to last tip block number:

./target/release/gw-web3-indexer update N+1 lastTipBlockNumber

Remember the command is stateless, so if you run it multiple times, it will redo multiple fixing.


Fixed

Feat

Other

Full Changelog: v1.8.6...v1.9.0