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