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

Releases: godwokenrises/godwoken-web3

v1.10.0-rc1

16 Dec 03:57
e76bcd9
Compare
Choose a tag to compare
v1.10.0-rc1 Pre-release
Pre-release

Feat

Fixed

Other

New Contributors

Full Changelog: v1.9.1...v1.10.0-rc1

v1.9.1

09 Dec 05:59
5604ce7
Compare
Choose a tag to compare

Feat

  • feat: add custom response header for easy debug by @RetricSu in #586

Fixed

Full Changelog: v1.9.0...v1.9.1

v1.9.0

29 Nov 06:39
Compare
Choose a tag to compare

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

v1.9.0-rc2

22 Nov 05:04
Compare
Choose a tag to compare
v1.9.0-rc2 Pre-release
Pre-release

What's Changed

Full Changelog: v1.9.0-rc1...v1.9.0-rc2

v1.9.0-rc1

17 Nov 05:50
f22daf4
Compare
Choose a tag to compare
v1.9.0-rc1 Pre-release
Pre-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>

How to use

After updating and running godwoken-web3 and gw-web3-indexer to this version, first run db migration: yarn knex migrate:latest, then 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 some time. 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

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-rc1

v1.8.6

27 Oct 05:49
Compare
Choose a tag to compare

Fixed

  • fix: Return txs in block / logs in tx in correct order by @classicalliu in #559
  • fix: r & s should be quantity in transaction when `eth_getTransaction… by @classicalliu in #560

Full Changelog: v1.8.5...v1.8.6

v1.8.5

18 Oct 05:55
409298c
Compare
Choose a tag to compare

Fixed

Note

Database migration is required to fix the log index data in this version.

Check how many db records need to be fixed via SQL

select count(*) from logs where (block_number, transaction_index) not in (select block_number, min(transaction_index) min_tx_index from logs group by block_number);

(please aware that after record fixed, this SQL will still show the same number, it is expected)

Run migration in Web3 containner to fix database

cd /godwoken-web3
yarn knex migrate:latest

Full Changelog: v1.8.4...v1.8.5

v1.7.4

18 Oct 07:15
16a041c
Compare
Choose a tag to compare

Fixed

Note

Database migration is required to fix the log index data in this version.

Check how many db records need to be fixed via SQL

select count(*) from logs where (block_number, transaction_index) not in (select block_number, min(transaction_index) min_tx_index from logs group by block_number);

(please aware that after record fixed, this SQL will still show the same number, it is expected)

Run migration to fix database

yarn knex migrate:latest

Full Changelog: v1.7.3...v1.7.4

v1.7.3

15 Oct 06:17
Compare
Choose a tag to compare

Fixed

Full Changelog: v1.7.2...v1.7.3

v1.8.4

14 Oct 09:53
da114bd
Compare
Choose a tag to compare

Feat

  • refactor: config/tune default priceOracle poll interval longer via env by @RetricSu in #546

Other

Full Changelog: v1.8.3...v1.8.4