This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
v1.9.0
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
- Update and running godwoken-web3
- Run db migration:
yarn knex migrate:latest
- Update and running gw-web3-indexer
- 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
- Fix eip155 v by @classicalliu in #567
- fix: Return 0x when eth_getCode with zero address by @classicalliu in #570
Feat
- feat: simple db cache plugin by @RetricSu in #409
- Add debug RPCs by @classicalliu in #573
Other
- refactor: instant-finality feature via special RPC url by @RetricSu in #568
- perf(indexer): Remove update source usage by @classicalliu in #577
- chore: rm tip block cache to improve ci speed by @RetricSu in #578
- chore: Bump minimatch version by @classicalliu in #565
Full Changelog: v1.8.6...v1.9.0