Skip to content

Releases: keep-network/keep-common

v1.7.0

02 Sep 16:50
adb7bbc
Compare
Choose a tag to compare

This release adds a retry mechanism to balance monitoring implemented in #82.

v.1.6.0

30 Aug 15:47
cecc0d5
Compare
Choose a tag to compare

This release upgrades the version of go-ethereum dependency to v1.10.8, to support the London hard fork.
The version of go was updated to 1.16.

v1.5.0

21 Jun 12:07
1c6454e
Compare
Choose a tag to compare

This release implements a major refactoring of Ethereum related code to support multi-chain. In this release, we focused on adding support for Celo blockchain.

We also exposed some storage-related functions that were private.

The full set of work that went into the client can be found in the corresponding 1.5.0 milestone.

v1.4.1

11 Mar 10:26
fc6389e
Compare
Choose a tag to compare

This release adjusts Ethereum contracts to use EIP155 signer.

go-ethereum 1.10.0 has switched to denying non-EIP155 signatures by default. This version updates Go contract bindings to use EIP155 signer for all submitted transactions without updating the currently referenced go-ethereum version.

The full set of work that went into the client can be found in the corresponding 1.4.1 milestone.

v1.4.0

11 Mar 10:03
34905d2
Compare
Choose a tag to compare

This release implements a major refactoring of Ethereum event subscriptions.

The most important change is the subscription API update allowing installing event callback handler using OnEvent function as well as piping events from a subscription to a channel with Pipe function.

Another important change is a background event monitoring loop. Some Ethereum setups are not particularly reliable in delivering events, events can be dropped randomly and event subscribers may not be aware of the fact they were emitted. To address this problem, we introduce a background loop periodically pulling past events from the chain next to a regular watchLogs subscription. How often events are pulled and how many blocks are taken into account can be configured with SubscribeOpts parameters. This way, even if the event was lost by watchLogs subscription, it should be pulled by a background monitoring loop later. An extremely important implication of this change is that handlers should have logic in place allowing them to de-duplicate received events even if a lot of time passed between receiving the original event and the duplicate.

Additionally, the event resubscription mechanism has been tweaked to apply exponential backoff to resubscribe attempts and to log on ERROR level if the event subscription is not stable enough. This change allowed to use a native resubscription mechanism from go-ethereum and to improve test coverage.

The full set of work that went into the client can be found in the corresponding 1.4.0 milestone.

v1.3.0

29 Dec 15:21
c7eca9a
Compare
Choose a tag to compare
  • Disk persistence snapshots (#49, #50)
  • ETH account balance alerts (#51, #59, #60)
  • CLI command generation is optional (#53)
  • Increased local nonce trust duration (#54)
  • Custom Ethereum client interface (#55)
  • Chain confirmation waiter (#56)
  • Template function to receive past events (#58)
  • Local and Ethereum Signer implementations (#61)

v1.2.0

02 Sep 07:38
5b278fa
Compare
Choose a tag to compare
  • Continue when block number could not be parsed (#39)
  • Metrics package (#40)
  • Immediate first metric observation kick (#41)
  • Diagnostics package (#43)
  • Removed Ethereum account address from config (#44)
  • Implementation of Ethereum rate limiter (#46)
  • Add GoSec workflow (#48)

v1.1.0

17 May 19:04
9fbd0b9
Compare
Choose a tag to compare
  • Automatic pending transaction resubmissions with a higher gas price (#36)

v1.0.0

13 May 16:57
8fbb5b3
Compare
Choose a tag to compare

🎉

Common libraries and tools used across Keep repositories. Provides neat features such as:

  • Go code generators for Solidity smart contracts.
  • Go code generators for command-line Solidity smart contract interaction.
  • On-disk encrypted storage.
  • Time cache.
  • Ethereum nonce manager.

v0.3.2

05 May 14:44
fc13282
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release
  • pkg/persistence: Max file length of 128 characters, moveAll error handling improvements (#34)