v2.0.0
This is a major release which contains changes relevant to the Gingerbread Hard Fork. Upgrading is required for Rosetta nodes to continue operating after hard fork activation; resyncing Rosetta nodes from scratch is not required.
Notable Changes
Changes by PR. For more information, see the linked PR descriptions.
- Gingerbread Hardfork Updates
- Fix gas fee calculation to account for gasTipCap: (Breaking Change) Fixes gas calculation logic for Dynamic Fee transactions (
DynamicFeeTx
,CeloDynamicFeeTx
) - Updates gas price minimum calculation to use
baseFee
in block header &feeHandler
contract after the Gingerbread Hard Fork- Stops storing GPM information in Rosetta DB post-hard fork
- Uses updated Celo core contract bindings (via updated
kliento
library)
- Fix gas fee calculation to account for gasTipCap: (Breaking Change) Fixes gas calculation logic for Dynamic Fee transactions (
- Remove Tobin Tax Handling: Removes TobinTax logic from the Rosetta codebase.
- (Breaking Change) Removes unused types in
analyzer/types.go
: We do not expect these types to have been used. - Removes TobinTax DB table: while syncing a node from scratch will no longer create a TobinTax table in Rosetta's DB, using an older Rosetta DB that still has this table with this new version should not cause any issues.
- (Breaking Change) Removes unused types in
- Fix edge case goldToken lookup for epoch rewards at synced head
- Extend Rosetta to work with MyCelo testnets: adds the optional
monitor.initcontracts
andgeth.networkid
flags, for ease of development and testing. - Bump golang.org/x/net from 0.1.0 to 0.7.0
Docker Image
us.gcr.io/celo-testnet/rosetta:v2.0.0