Skip to content

Releases: razor-network/oracle-node

2.1.1

20 Mar 13:17
1467c79
Compare
Choose a tag to compare

Changes featured in v2.1.1 release

Features:

  • RPC Manager Implementation: Automatically switches to alternate RPCs during downtime.
  • Block Monitor: Ensures correct block reporting and switches to the next best RPC if needed.
  • Retry Mechanism Exit: Stops retries when state times out, allowing seamless state transitions.

Fixes:

  • Fatal Logs Removal: Prevents panic in GetTxnOpts() due to nonce errors.
  • Proposed Blocks Validation: Adds validation to ensure that the index of proposed blocks in the sorted proposed blocks array remains within limits.

Enhancements:

  • Updated Dependencies: Synchronized with Go 1.23 and Geth 1.14.11.
  • Expanded Config Ranges: Increased config parameter limits for greater flexibility.
  • Optimized Transactions: Removed transaction mining status checks for voting transactions to improve state execution.

Refactor:

  • Unified Retry Mechanism: Standardized contract call retries for consistency.

What's Changed from v2.0.0

  • chore: merge main to develop post Releases/v2.0.0 by @Yashk767 in #1250
  • refactor: added context with timeout to retry mechanism by @Yashk767 in #1235
  • refactor: replaced retry implementation inside functions with generic retry function by @Yashk767 in #1252
  • fix: added context parameter to functions to sync with updated generic retry function to make build successful by @Yashk767 in #1256
  • refactor: replaced SKL with sFuel as a gas token in logs by @Yashk767 in #1253
  • feat: added commitment verification layer for data during reveal after removing waitForBlockCompletion check for voting transactions by @Yashk767 in #1254
  • chore: updated retry parameters to check transaction mined status by @Yashk767 in #1255
  • chore: revised max/min value for config parameters by @Yashk767 in #1257
  • chore: updated go and geth version by @Yashk767 in #1259
  • feat: Implemented RPC Manager for RPC calls by @Yashk767 in #1260
  • refactor: removed fatal logs from GetTxnOpts() by @Yashk767 in #1261
  • fix: removed cancel context being called immediately after creation by @Yashk767 in #1265
  • refactor: added tests for rpc module by @Yashk767 in #1266
  • fix: switch RPC if block number is less than last recorded block number by @Yashk767 in #1264
  • refactor: fetched block number from block monitor module in voting process by @Yashk767 in #1269
  • fix: added validation to check if index to fetch element is within limit by @Yashk767 in #1270
  • fix: setconfig command fails on new vm for the first run of a staker by @Yashk767 in #1271
  • ci: updated actions/cache from v2 to v4 by @Yashk767 in #1272
  • Releases/v2.1.0 by @Yashk767 in #1263
  • ci: update public RPC in tests to ensure CI runs successfully by @Yashk767 in #1274
  • chore: updated oracle node version to v2.1.1 by @Yashk767 in #1275

Full Changelog: v2.0.0...v2.1.1

2.1.0

20 Mar 07:13
448bb29
Compare
Choose a tag to compare

Note: This release was not published due to an error from workflow failure.

Changes featured in v2.1.0 release

Features:

  • RPC Manager Implementation: Automatically switches to alternate RPCs during downtime.
  • Block Monitor: Ensures correct block reporting and switches to the next best RPC if needed.
  • Retry Mechanism Exit: Stops retries when state times out, allowing seamless state transitions.

Fixes:

  • Fatal Logs Removal: Prevents panic in GetTxnOpts() due to nonce errors.
  • Proposed Blocks Validation: Adds validation to ensure that the index of proposed blocks in the sorted proposed blocks array remains within limits.

Enhancements:

  • Updated Dependencies: Synchronized with Go 1.23 and Geth 1.14.11.
  • Expanded Config Ranges: Increased config parameter limits for greater flexibility.
  • Optimized Transactions: Removed transaction mining status checks for voting transactions to improve state execution.

Refactor:

  • Unified Retry Mechanism: Standardized contract call retries for consistency.

Release Notes

  • chore: merge main to develop post Releases/v2.0.0 by @Yashk767 in #1250
  • refactor: added context with timeout to retry mechanism by @Yashk767 in #1235
  • refactor: replaced retry implementation inside functions with generic retry function by @Yashk767 in #1252
  • fix: added context parameter to functions to sync with updated generic retry function to make build successful by @Yashk767 in #1256
  • refactor: replaced SKL with sFuel as a gas token in logs by @Yashk767 in #1253
  • feat: added commitment verification layer for data during reveal after removing waitForBlockCompletion check for voting transactions by @Yashk767 in #1254
  • chore: updated retry parameters to check transaction mined status by @Yashk767 in #1255
  • chore: revised max/min value for config parameters by @Yashk767 in #1257
  • chore: updated go and geth version by @Yashk767 in #1259
  • feat: Implemented RPC Manager for RPC calls by @Yashk767 in #1260
  • refactor: removed fatal logs from GetTxnOpts() by @Yashk767 in #1261
  • fix: removed cancel context being called immediately after creation by @Yashk767 in #1265
  • refactor: added tests for rpc module by @Yashk767 in #1266
  • fix: switch RPC if block number is less than last recorded block number by @Yashk767 in #1264
  • refactor: fetched block number from block monitor module in voting process by @Yashk767 in #1269
  • fix: added validation to check if index to fetch element is within limit by @Yashk767 in #1270
  • fix: setconfig command fails on new vm for the first run of a staker by @Yashk767 in #1271
  • ci: updated actions/cache from v2 to v4 by @Yashk767 in #1272
  • Releases/v2.1.0 by @Yashk767 in #1263

Full Changelog: v2.0.0...v2.1.0

2.0.0

30 Sep 12:36
d4aa054
Compare
Choose a tag to compare

The Oracle node v2.0.0 supports latest razor-network contracts having epoch time set to 7.5 minutes deployed on Europa Defi chain.

What's Changed

Full Changelog: 1.2.0...v2.0.0

1.2.0

16 Sep 05:52
40f5b82
Compare
Choose a tag to compare

Changes featured in v1.2.0 release

Fixes

  • fix: APIs returning response of data type array of json objects not supported.
  • fix: Fetching private key every time increases goroutine count
  • fix: Every time a new http client was introduced for each request increases goroutine count

Faster processing

  • Processing of jobs and collections concurrently.
  • Caching jobs and collections.
  • Optimised GetIteration implementation with concurrency.
  • Optimised CalculateBiggestStake using batch calls for getStakeSnapshot contract calls

RPC Optimisation

  • Reduce GetLatestBlock and GetStakerId calls

Refactor changes

  • Refactor: Flag input function refactored using a single generic function
  • Refactor: Config getters and setters module refactored using a generic function.
  • Refactor: Refactored tests by removing redundant mocks and test util functions.

Config changes

  • Updated default values for logFileMaxAge and logFileMaxBackups

1.1.0-patch.1

17 Jul 07:27
dae96c9
Compare
Choose a tag to compare

This is a hotfix release for a bug.

What's Changed

Full Changelog: v1.1.0...v1.1.0-patch.1

1.1.0

05 Feb 12:38
aabca34
Compare
Choose a tag to compare

Changes featured in release v1.1.0

  • Added support for fetching API keys from the environment for requests.
  • Introduced support for POST jobs.
  • Jobs can now return hex values.
  • Version number is now included in logs.
  • Updated to the latest versions of go-ethereum, go, and other dependencies.
  • Resolved all major Dependabot alerts by updating and installing node dependencies with the latest node and npm versions.
  • Modified the default value and functionality of gasLimitOverride. It will now be used every time there's a gas estimation failure.
  • Commit data will now be stored even if the transaction fails.
  • Nil values for the Alternate provider in the config are no longer supported.
  • Support for uniswap v2 and v3 data feeds returning results in the form of hex array and hex respectively is added.

What's Changed

Pull Requests

Full Changelog: v1.0.6...v1.1.0

1.0.7-alpha.2

07 Oct 05:23
c410e32
Compare
Choose a tag to compare
1.0.7-alpha.2 Pre-release
Pre-release

DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters

This release is the 3rd alpha release for v1.0.7 so it will cover all issues from 1st and 2nd alpha release v1.0.7-alpha and v1.0.7-alpha.1 respectively with additional issues described below,

Issues added in this release from v1.0.7-alphav1.0.7-alpha.1 are:

  1. Simplified GetGasLimit on gas estimation failure
  2. README updates for v1.0.7 changes

What's Changed from v1.0.7-alpha.1 -> v1.0.7-alpha.2

New Contributors

Full Changelog: v1.0.7-alpha.1...v1.0.7-alpha.2

1.0.7-alpha.1

29 Sep 10:38
8772f2c
Compare
Choose a tag to compare
1.0.7-alpha.1 Pre-release
Pre-release

DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters

This release is the 2nd alpha release for v1.0.7 so it will cover all issues from 1st alpha release v1.0.7-alpha and additional issues described below,

Issues added in this release from v1.0.7-alphav1.0.7-alpha.1 are:

  1. Update go-ethereum version to v1.12.0 (#1085)
  2. Update go and go-ethereum in Dockerfile (#1124)
  3. Fix all the major dependabot alerts (#1126)
  4. Update go-ethereum version to 1.12.2 instead of 1.12.0 (#1128)

The release also includes features that are moved from planned v1.0.6-patch.1 release to v1.0.7release:

  1. Reveal fails with Invalid Signature (#1059)
  2. Reveal doesn't happen if commit data isn't stored in the file system(#1098)
  3. Don't set alternate provider if nil value is provided in config.sh (#1112)
  4. Replace generic retry with normal retry for EstimateGasWithRetry and SuggestGasPriceWithRetry (#1110)

What's Changed

  • Updated go and go ethereum version in Dockerfile by @Yashk767 in #1125
  • Fetched releases/v1.0.6 branch updates to releases/v1.0.7 branch by @Yashk767 in #1116
  • Merging go1.21.1-support branch to releases/v1.0.7 branch by @Yashk767 in #1123
  • Ran npm installl with updated node and npm versions to fix dependabot alerts by @Yashk767 in #1127
  • Updated go ethereum version 1.12.2 by @Yashk767 in #1129
  • updated oracle node version to v1.0.7-alpha.1 by @Yashk767 in #1130
  • Degraded go version to 1.19 for publish-github-release to support ghr by @Yashk767 in #1132
  • Replaced go1.21.1 to go1.21 in go.mod file by @Yashk767 in #1135
  • revert degrading go version to 1.19 for publish-github-release for ghr support by @Yashk767 in #1133

Full Changelog: v1.0.7-alpha...v1.0.7-alpha.1

1.0.6-patch.1.alpha.2

06 Sep 05:31
40dc3e0
Compare
Choose a tag to compare

DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters

What's Changed from 1.0.6-patch1-alpha -> 1.0.6-patch.1.alpha.2

Full Changelog: v1.0.6-patch1-alpha...v1.0.6-patch.1.alpha.2

1.0.6-patch1-alpha

11 Aug 12:42
1695706
Compare
Choose a tag to compare

DO NOT USE IN PRODUCTION!
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters

What's Changed from 1.0.6 -> 1.0.6-patch1-alpha

  • Fetched gasLimit value from config if estimateGas fails by @Yashk767 in #1108
  • Updated Release parameters for 1.0.6-patch1-alpha by @Yashk767 in #1109

Full Changelog: v1.0.6...v1.0.6-patch1-alpha