Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Releases: compound-finance/gateway

Fetch logs by block hash and avoid some redundant fetches [m16] 🪃

25 Jun 23:41
bf58203
Compare
Choose a tag to compare

This patch fixes the ethereum client to use the block hashes when fetching logs, instead of block number ranges, which return the wrong result in the face of reorgs. We also poll for the next block instead of the last processed block in order to sometimes avoid fetching redundant blocks when we can.

Stability Fix [m15] 🐈‍⬛

25 Jun 19:43
55d6ca5
Compare
Choose a tag to compare

This patch upgrades us to m15. Release notes from m15, as follows:

This patch has a few minor stability fixes, but generally does not change core behavior. Included patches:

  • [Patch] We reduce noise to Ethereum JSON-RPC nodes by not requesting full transactions [#378]
  • [Patch] We turn on runtime-debug for WASM for better logging during the test-net phase [#379]

Note: this supplants the old m15 release that had an incorrect version number.

Memorize forward blocks when a reorg happens [m14]

23 Jun 23:54
f01c57d
Compare
Choose a tag to compare

This patch fixes an additional bug in the reorg logic, which didn't store the forward blocks applied during the reorg, causing it to fail when multiple reorgs happen in a row (especially likely on Ropsten testnet).

Fix formulate reorg and event workers [m13]

22 Jun 18:35
Compare
Choose a tag to compare

This release fixes issues with the event workers ability to handle reorgs with missing data, especially the pathological case in which they affect the Starport genesis blocks. It also deals with a worker locking issue by increasing the lock deadline to 120s from the default 20s.

GATE Addresses [m12]

17 Jun 23:44
Compare
Choose a tag to compare

This release is focused on the ability to send assets to GATE addresses. This allows us to create accounts past "existential deposits" and therefore allows validators to set their session keys again.

  • [Feature] Added ability to send assets to GATE addresses

Ethereum Bridge Hardfork [m11]

14 Jun 19:41
0d8b3f4
Compare
Choose a tag to compare

This patch upgrades the chain to m11 via a hard-fork. As this is for test-net, nodes will simply start a new chain with the new runtime code. We've made a large variety of changes, but overall, we fix the Ethereum bridge from a race condition during a chain re-organization.

New Event Ingression System [m10]

21 May 22:25
d8a5314
Compare
Choose a tag to compare

This release introduces a new event ingression system. This system properly handles re-organizations of the Ethereum chain. Additionally, the system introduces a risk system to ingress high-value lock events with an exponential decay.

We additionally introduce a REPL to connect a shell to test-net and make a variety of internal improvements to the internal code. We continue to add greater test coverage.

  • [Feature] New Event Ingression System with Re-org Protection
  • [Feature] Add repl to connect shell to test-net
  • [Feature] Properly add weights to all extrinsics with benchmarks
  • [Feature] Auto-derive types.json via rust macros
  • [Feature] Added new RPCs for retrieving detailed account information
  • [Feature] Add rpc.json to decorate RPC calls
  • [Bug] Fix logic issues in core liquidation code
  • [Internal] Refactor of core functions using "pipeline" system
  • [Testing] Add ability for tests to "freeze time" for accurate interest testing
  • [Testing] Improve event tracking between version upgrades
  • [Feature] Change from environment variables to CLI args

Preparation for New Event System

21 May 00:52
Compare
Choose a tag to compare

This patch lays the groundwork for the new event system. It simply sets up new storage items that can be set by governance for the Starport and a recent Ethereum "genesis" block for the protocol. These will be leveraged by m10, but currently are just being set in preparation.

Remove Notice Hold after Execution

19 Mar 10:21
Compare
Choose a tag to compare

This patch removes notice holds after a changeover notice has been executed. We also add a temporary cull_notices function to perform this clean-up.

  • [Improvement] Cull Notices after Execution #262

Long Compounding Interest and Various Fixes

17 Mar 18:38
Compare
Choose a tag to compare

Current Base Release

Note: Hard Fork Required

  • [Feature] Long Compounding Interest - Interest is calculated over full periods versus per-block #242
  • [Improvement] Improved notice handling for new era starts #251
  • [Improvement] Improved RPCs to use strings for large integers #253
  • [Improvement] Use correct types for SetFutureYield in types.json #255
  • [Safety] Add extra safety check to initialize for Starport as per OZ audit #254
  • [Improvement] Improve session changeover with direct call to rotateSession #257
  • [Safety] Remove Sudo Pallet #256
  • [Feature] Add rpc.json to releases #256
  • [Improvement] Improve quality and creation of chain specs for test-nets (see chains/testnet/chain-spec.json) #256
  • [Improvement] Remove old event trackers for Lock and LockCash prior to Lock to Any #256
  • [Event] Redeployed Ropsten contracts and include initial yield of 3% #256