Releases: celo-org/rosetta
v2.2.0 beta
This is a minor release which removes usage of deprecated functionality.
Notable Changes
- Removed deprecated fields (
GatewayFee
,GatewayFeeRecipient
,FeeCurrency
) fromrosetta.airgap.api.TxMetadata
struct (#258) - The airgap module new send Ethereum-style transactions instead of legacy Celo transactions (#256)
Docker image
us.gcr.io/celo-testnet/rosetta:v2.2.0-beta.1
v2.1.0
This is a minor release which contains changes to allow arbitrary contract calls from the airgapped module. Resyncing Rosetta nodes from scratch is not required.
Notable Changes
Changes by PR. For more information, see the linked PR descriptions.
- Enable arbitrary contract calls on
/construction/metadata
- Support checking complex method signature
- Improve debugging and CLI test setup
- Fetch correct contract version at block height
- Remove separate carbonOffsetPartner tracking
Docker Image
us.gcr.io/celo-testnet/rosetta:v2.1.0
v2.1.0 beta 2
This is a minor release which contains changes to allow arbitrary contract calls at the airgapped module. Resyncing Rosetta nodes from scratch is not required.
Changes since last beta release
Notable Changes
Changes by PR. For more information, see the linked PR descriptions.
- Enable arbitrary contract calls on
/construction/metadata
- Improve debugging and CLI test setup
- Fetch correct contract version at block height
- Remove separate carbonOffsetPartner tracking
Docker Image
us.gcr.io/celo-testnet/rosetta:v2.1.0-beta.2
v2.1.0 beta
This is a minor release which contains changes to allow arbitrary contract calls at the airgapped module. Resyncing Rosetta nodes from scratch is not required.
Notable Changes
Changes by PR. For more information, see the linked PR descriptions.
- Enable arbitrary contract calls on
/construction/metadata
- Improve debugging and CLI test setup
- Fetch correct contract version at block height
- Remove separate carbonOffsetPartner tracking
Docker Image
us.gcr.io/celo-testnet/rosetta:v2.1.0-beta
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
v1.0.1
This is a patch release which:
- Fixes a nil pointer dereference triggered when constructing a transaction that revokes votes from an ineligible validator. Updates
kliento
dependency to include the bugfix; more details on the bug & fix in: celo-org/kliento#28
This change only affects the Construction API and should not require resyncing.
Docker Image
us.gcr.io/celo-testnet/rosetta:v1.0.1
v1.0.0 release
This release starts using semantic versioning as intended, in that this release contains breaking changes and therefore the major version number has been incremented.
Since there are 3 interfaces that are exposed by the rosetta server many things can constitute a breaking change. Those interfaces are the rosetta API endpoints, the CLI and all exported code in the repo since it is imported as a go module by some coinbase projects.
Breaking changes in this release:
- Fix path for static nodes, when
geth.staticnodes
flag was set, rosetta was not generating the static nodes file in the correct directory. - Ensure celo blockchain node indexes transactions forever, previously the associated celo-blockchain node would only keep transactions indexed by their hashes for roughly 5 months.
- Update rosetta to use celo-blockchain v1.6.1 including updating the dependency on celo blockchain and also updating kliento to match.
- Breaking changes in celo-blockchain:
- Gas estimation values changed due to introduction of
rpc.gasinflationrate
flag and also because a bug affecting gas estimation has been fixed. - Calling eth_getBlock(number= "pending") over the RPC API could result in a RPC error if the pending block has eip-1559 txs, this has been fixed.
- Gas estimation values changed due to introduction of
- Breaking changes in celo-blockchain:
Other changes:
- Expand descriptions for online CLI help.
- Improve error reporting on startup.
Docker Image
us.gcr.io/celo-testnet/rosetta:1.0.0
v0.9.1
This release correctly sets the MiddlewareVersion to 0.9.1
to match the release version.
The v0.9.0
release had a mismatching middleware version of 0.8.5
.
v0.9.0
Changes in this release
- Kliento dependency upgraded to a version for use with celo-blockchain v1.5.4
- Added
--geth.network
flag which simplifies running against alfajores, baklava or mainnet. This flag is to be used in place of a genesis file. - Changed the behaviour of the
--rpc.reqTimeout
this flag now also controls the timeout for tracing calls to the blockchain node as well as the timeout for calls to the rosetta node. Its default value has been set to120s
which on reasonable hardware (4 cores 8GiB ram) should be sufficiently long to trace all transactions currently in the chain. - Instead of failing transaction traces where kliento is lacking the abi for events from logs of the accounts, locked gold or election core contracts rosetta will now log a warning and skip tracing that event.
v0.8.5
- Exposes the following ReleaseGold view methods via the
/call
endpoint:isRevoked
,getCurrentReleasedTotalAmount
,getTotalBalance
,getRemainingTotalBalance
,getRemainingUnlockedBalance
,getRemainingLockedBalance
- Improves Geth argument handling + README post-donut;
StaticNodes
andBootnodes
are no longer required args and the internal node will sync properly without either.