Releases: godwokenrises/godwoken-web3
v1.10.0-rc1
Feat
- feat: opentelemetry instrument by @zeroqn in #575
- feat: optionally support gasless transaction by @RetricSu in #581
Fixed
Other
- Update addtional-feature.md by @Flouse in #580
- chore(deps): bump express from 4.17.1 to 4.17.3 by @dependabot in #589
- chore: log tx hash for instant receipt by @RetricSu in #590
New Contributors
Full Changelog: v1.9.1...v1.10.0-rc1
v1.9.1
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
v1.9.0-rc2
What's Changed
- perf(indexer): Remove update source usage by @classicalliu in #577
- chore: rm tip block cache to improve ci speed by @RetricSu in #578
Full Changelog: v1.9.0-rc1...v1.9.0-rc2
v1.9.0-rc1
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
- 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
- chore: Bump minimatch version by @classicalliu in #565
Full Changelog: v1.8.6...v1.9.0-rc1
v1.8.6
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
Fixed
- Fix log index by @classicalliu in #554
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
Fixed
- Fix log index by @classicalliu in #553
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
Fixed
- fix: Return txs in block / logs in tx in correct order by @classicalliu in #550
Full Changelog: v1.7.2...v1.7.3