Releases: coinbase/mesh-cli
Rosetta Constructor DSL Support
This PR adds support for rosetta-specifications@v1.4.5
, rosetta-sdk-go@v0.5.1
, and adds support the new Rosetta Constructor DSL
(Ethereum example).
Configuration Changes
// ReconciliationCoverage is used to add conditions
// to reconciliation coverage for exiting `check:data`.
// All provided conditions must be satisfied before
// the end condition is considered satisfied.
//
// If FromTip, Tip, Height, and AccountCount are not provided,
// `check:data` will halt as soon as coverage surpasses
// Coverage.
type ReconciliationCoverage struct {
// Coverage is some value [0.0, 1.0] that represents
// the % of accounts reconciled.
Coverage float64 `json:"coverage"`
// FromTip is a boolean indicating if reconciliation coverage
// should only be measured from tip (i.e. reconciliations
// performed at or after tip was reached).
FromTip bool `json:"from_tip,omitempty"`
// Tip is a boolean indicating that tip must be reached
// before reconciliation coverage is considered valid.
Tip bool `json:"tip,omitempty"`
// Index is an int64 indicating the height that must be
// reached before reconciliation coverage is considered valid.
Index *int64 `json:"height,omitempty"`
// AccountCount is an int64 indicating the number of accounts
// that must be observed before reconciliation coverage is considered
// valid.
AccountCount *int64 `json:"account_count,omitempty"`
}
Changelog
Execution Error Logging
This release greatly improves logging when check:construction
fails during Workflow
execution!
Changelog
Status Endpoint for check:*
Progress Logging
[BUG] Account Import
Automatic Storage Pruning
This PR adds support for automatic storage pruning and for making HTTP requests during workflow execution (for use in algorithmic fauceting).
Configuration File Changes
New Fields
pruning_disabled
-> If set totrue
, storage pruning will be disabled.
Changelog
- Add support for storage pruning
#139
Automated Fund Return Support
This release adds support for automatic fund return when reaching an end condition. You can read more about this feature in #119!
Configuration File Changes
New Fields
max_retries
(default = 5)
-> it is not possible to set the number of retries instead of settingretry_elapsed_time
Changelog
Rosetta-Specifications V1.4.4 Support
This release includes rosetta-sdk-go
updates that enable rosetta-specifications@v1.4.4
support and "dry runs" during transaction construction (to get an estimate of the "suggested fee").
Configuration File Changes
New Fields
max_online_connections
/max_offline_connections
-> it is now possible to limit the total number of connections openedmax_sync_concurrency
-> sync concurrency is now handled automatically (based on block size and available connections)historical_balance_enabled
-> If left nil, we now auto-populate this using the value inNetworkOptionsResponse.Allow.HistoricalBalanceLookup
Removed Fields
disable_memory_limit
-> we no longer support running without a memory limit as new db optimizations have significantly improved performancehistorical_balance_disabled
-> see the newhistorical_balance_enabled
fieldtransaction_concurrency
-> this is now set automaticallysync_concurrency
-> this is now set dynamically, seemax_sync_concurrency
to set a limit
Changelog
Improved Construction API Testing
This release introduces the new and improved Construction API testing suite. You can read more about it here:
- #112
- https://community.rosetta-api.org/t/feedback-request-automated-construction-api-testing-improvements/146
You can find examples of how to use this new testing suite here:
Changelog
- [BUG] Support syncing on non-default network
#123
- Construction End Conditions
#122
- Integrate Construction API 2.0
#120
- Generate binaries
#121
- ZSTD Train Command
#118
- Prefunded Accounts
#117
- [BUG] Ensure block synced before starting Construction API Testing Loop
#114
- [BUG] Patch Statefulsyncer
#113
- Assert statefulsyncer.Logger interface
#111
- Move statefulsyncer, storage, and utils to rosetta-sdk-go
#110
- Support for importing prefunded accounts
#105
- Use types.Coin in CoinStorage
#109
- [Enhancement] Optimize Coin Storage
#108
- Don't Omit Anything in CheckDataResults
#107
- Allow Multiple End Conditions
#106
- End Condition Logging + File Output
#103
- Reconciler End Condition
#102
- Prepare for reconciler end condition
#101
Sync Optimization and Omitted Block Support
This release includes major syncing optimizations (30% reduction in sync time + 23% less memory usage) and adds support for syncing blockchains that omit blocks.
Warning
This release upgrades the rosetta-cli
database from dgraph-io/badger@v1.6.1
to dgraph-io/badger@v2.0.3
. Unfortunately, badger v1.6.x
and v2.x
are data incompatible and you will need to delete any previously used data directory when upgrading to rosetta-cli@v0.4.1
.
Configuration Changes
block_concurrency
=>sync_concurrency