Skip to content

Releases: coinbase/mesh-sdk-go

Rosetta Constructor DSL

06 Oct 00:38
9ebe607
Compare
Choose a tag to compare

This release includes the new Rosetta Constructor DSL and support for rosetta-specifications@v1.4.5.

Changelog

  • [constructor] Remove required workflows #180
  • [reconciler] Add support for types.BalanceExemption #179
  • [rosetta-specifications] Update to v1.4.5 of Spec #178
  • Replace broken link for commit guidelines #177
  • [Constructor] Rosetta Constructor DSL #176
  • Bump github.com/tidwall/sjson from 1.1.1 to 1.1.2 #175

Execution Error Logging

01 Oct 19:37
82e5808
Compare
Choose a tag to compare

This release greatly improves logging when constructor execution fails.

image

Changelog

  • [Constructor] Verbose Debugging Logs #174
  • [Fetcher|Asserter] Assert any *types.Error returned is in /network/options #173

Estimate Time to Tip and Monitor Memory Usage

29 Sep 16:14
84be629
Compare
Choose a tag to compare

This releases adds a collection of utils that make it easier for users of the SDK to estimate syncing time to tip and to monitor memory usage.

Changelog

  • [Utils] Add collection of utils #172
  • Bump github.com/ethereum/go-ethereum from 1.9.21 to 1.9.22 #171
  • [Constructor] Don't sleep with lock #170
  • [Utils] Add util for checking if implementation at tip #169
  • [Asserter] Add more test coverage for BytesArrayZero #168

[BUG] Fix Account Import

24 Sep 05:48
48acea4
Compare
Choose a tag to compare

This releases fixes a small bug around importing edwards25519 keys.

Changelog

  • [Keys][Bug] Fix ImportPrivateKey #167

Storage Pruning

22 Sep 16:10
47c8ea0
Compare
Choose a tag to compare

This release adds support for automatic block storage pruning. This can reduce disk usage by > 50% when running the rosetta-cli.

Changelog

  • [BUG] [Keys] Import Private Key Error #165
  • [Storage] Automatically Prune BlockStorage #162
  • [Constructor] Load ENVs + Make HTTP Requests #163

Constructor Fixes

16 Sep 15:36
7bac541
Compare
Choose a tag to compare

This release includes various constructor bug fixes.

Changelog

  • [BUG][Constructor] Ensure DbTx is Discarded #160
  • [Constructor] Move Create Account Before Broadcast Check #159
  • [BUG] Return Funds Workflow #158

Return Funds Support

15 Sep 23:12
34d7fa0
Compare
Choose a tag to compare

This release introduces support for the new ReturnFunds workflow. When invoked, this should return all funds to a single address (useful for CI).

Changelog

  • [Fetcher] Log retry attempts #157
  • [Constructor] Return Funds Workflow #156
  • corrected error message in utils.go #155
  • [Fetcher] Verbose network mismatch error #154
  • [Fetcher] Handle transient connection failures #153

New BadgerDB Defaults

14 Sep 14:32
019fc1f
Compare
Choose a tag to compare

This release includes optimizations to CoinStorage encoding and overhauled BadgerDB.Options that limit storage memory usage to <= ~6 GB.

Changelog

  • [storage] Overhaul Badger Defaults #152
  • [Storage] Optimize storage.AccountCoin Encoding #151
  • added Err() in fetcher plus small fixes #150

Storage Optimizations + v1.4.4 Specification Support

11 Sep 16:01
aa244ae
Compare
Choose a tag to compare

This release contains significant memory usage improvements in the storage package (using sync.Pool), adds support for v1.4.4, and throttles connections in the fetcher.

Changelog

  • Put Account in Balance Fetch Error #149
  • [Storage] Update BadgerDB #148
  • [Constructor] Suggested Fee Dry Run #144
  • rename Err() functions #147
  • [fetcher] errors overhaul #145
  • [BUG] Fix syncer race condition #146
  • [reconciler][syncer][storage] remaining error handling #141
  • [Storage] Optimize Memory usage on Transaction.Get #143
  • [Specification Upgrade] v1.4.4 Support #139
  • [Storage] error overhaul #138
  • [Fetcher] Improve Connection Reuse #137
  • [Storage] Lookup by CoinIdentifier #136
  • Syncer Memory Management #135
  • [Parser] typed errors overhaul #134
  • [Syncer] Allow Caller to Trigger Reorg #132
  • [Constructor] Inject Public Keys During Transaction Construction #133
  • Upgrade to v1.4.3 spec #131
  • [Storage] Update Badger Defaults #128
  • Rosetta SDK errors overhaul: keys #129

Add Constructor Package

01 Sep 23:49
b739db1
Compare
Choose a tag to compare

This release contains storage optimizations, improved test coverage, and the new constructor package that is used for Construction API testing. You can find a detailed list of all the changes below!

Changelog

  • [BUG] Increase Max Table Size for Performance Option #126
  • Bump github.com/gorilla/mux from 1.7.4 to 1.8.0 #116
  • Bump github.com/ethereum/go-ethereum from 1.9.18 to 1.9.20 #119
  • Bump github.com/tidwall/gjson from 1.6.0 to 1.6.1 #120
  • Bump github.com/btcsuite/btcd from 0.20.1-beta to 0.21.0-beta #121
  • [Fetcher] Initialize with non-primary network #124
  • [BUG] CoinStorage Same Block Duplicate #123
  • Add JobStorage #118
  • [BUG][Storage] Incorrect handling of coins created and spent in same block #122
  • ZSTD Dictionary Support #115
  • Make Coordinator Fully Transactional #117
  • Construction API Coordinator #114
  • Compression + Storage Optimization #113
  • Add support for GetAccountBalances #103
  • Construction API Primitives [Part 3] #112
  • returning fetcher.Error on all construction endpoints #111
  • Construction API Primitives [PART 2] #109
  • exposing Rosetta errors in construction endpoints of fetcher #110
  • AddCoins #107
  • [BUG] Ensure canceling context returns the correct error #108
  • [BUG] Err Handling in statefulsyncer #105
  • typed errors overhaul in asserter #102
  • Add constructor package scaffold + basic primitives #104
  • Remove rosetta-cli dependency #100
  • Move storage, statefulsyncer, and utils #99
  • exposing Rosetta types.Error in fetcher #98
  • Add Typed Errors to Syncer and Fetcher #94
  • Add ImportPrivKey function to keys package #93
  • Improve Reconciler Coverage (+10% in total coverage) #92