Releases: razor-network/oracle-node
v1.0.5-patch1
New features Added
rpcTimeout
flag has been added to every command which is the threshold number of seconds after which any contract and client calls will time out which avoids stopping of node when RPC does not respond.backupNode
flag has been added invote
command to avoid performing certain actions actions for backup node.- Password flag can be added to every command to avoid password as an input in password prompt.
- Logs have been added at necessary places which will increase the log file size. So logFilemaxSize parameter has been set to 200MB which means maximum size of log file can be 200MB, once the limit is reached the log file gets rotated.
- Now the existing stakers are allowed to stake amount less than minSafeRazor but if the staker is staking for the first time than the condition that staking amount should be greater than minSaferazor still holds).
Improvements
- Fetched last proposed epoch from contracts instead of fetching it from events.
- Staker can make a claim block reward call only if there is any commission to claim
- Consolidated all the global variables used in propose into a struct and updated it all together whenever required
- Unnecessary error logs have been suppressed.
- Now commit data is saved only after successful commit.
- Changed PendingNonceAt to NonceAt
- Added a generic function InvokeFunctionWithTimeout to call all the contract and client functions.
- Calculated blockNumber in a separate go-routine for logging which reduces time to perform state actions
- Changed GiveSorted implementation on gas limit error from recursion implementation to a linear implementation in intervals.
- Reduced number of RPC calls to fetch block number
Fixes
- GiveSorted is fixed when running a backup node.
- Iteration comparison and shuffling sorted proposed blocks during propose is corrected.
v1.0.5-beta-patch2
What's Changed
- Merge
v1.0.4
release to main branch by @Yashk767 in #977 - Merged
v1.3.0-alpha
intov1.0.5
by @Yashk767 in #973 - updated version to v1.0.5-alpha by @Yashk767 in #978
- Changes Requested in v1.0.5 Review by @Yashk767 in #1006
- Updated user in dockerfile by @Shrikant1212 in #1012
- Inserted Logs in the entire codebase by @Yashk767 in #1018
- Revert "Updated user in dockerfile (#1012)" from main by @Yashk767 in #1021
- V1.0.5-alpha-patch1 Ready by @Yashk767 in #1022
- Calculated blockNumber in a separate go-routine for logging by @Yashk767 in #1025
- Increased max size of log file to 182MB by @Yashk767 in #1027
- V1.0.5 beta ready by @Yashk767 in #1032
- Added mutex lock in blockNumber calculation by @Yashk767 in #1035
- v1.0.5-beta-patch1 by @Yashk767 in #1037
- Updated version to v1.0.5 by @Yashk767 in #1033
- Made v1.0.5 branch in sync with main branch by @Yashk767 in #1039
- Deleted password file by @Yashk767 in #1040
Full Changelog: v1.0.4...v1.0.5
v1.0.5
Deleted password file (#1040)
v1.0.5-beta-patch1
Release for internal validators to run the node on production.
Changes from v1.0.5-alpha-patch3
→ v1.0.5-beta-patch1
:
- v1.0.5-beta-patch1(#1036)- Added production support for v1.0.5-alpha-patch3 version
v1.0.5-alpha-patch3
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters.
DO NOT USE IN PRODUCTION!
Changes from v1.0.5-beta
→ v1.0.5-alpha-patch3
:
- Replaced deployment parameters (contract addresses and chainId) to staging.
- Added mutex lock in block number calculation for shared variable block number #1034
v1.0.5-beta
Release for internal validators to run the node on production.
Changes from v1.0.5-alpha-patch2
→ v1.0.5-beta
:
- v1.0.5-beta ready(#1030)- Added production support for v1.0.5-alpha version
v1.0.5-alpha-patch2
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters.
DO NOT USE IN PRODUCTION!
Changes from v1.0.5-alpha-patch1
→ v1.0.5-alpha-patch2
:
v1.0.5-alpha-patch1
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters.
DO NOT USE IN PRODUCTION!
Changes from v1.0.5-alpha
→ v1.0.5-alpha-patch1
:
- Added logs in the entire code base (#1003)
- Fetched
main
branch having a merged and revert commit forUpdate docker user
v1.0.5-alpha
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters.
DO NOT USE IN PRODUCTION!
Changes from v1.0.4
→ v1.0.5-alpha
Full Change log: v1.0.4...v1.0.5
- Updated all proposeData global variables together during propose (#910)
- Fetched Last proposed from contracts (#912)
- Fixed comparison of iterations and max iteration in SortedProposedBlocks array (#915)
- Allowed stakers to addStake < minSafeRazor (#920)
- Added a condition to Call claimStakerReward only if there reward to claim (#908)
- GiveSorted Fixes (#911)
- Reset Dispute is only after
FinalizeDispute
, removed from other dispute types. ResetDispute
called irrespective ofFinalizeDispute
Txn status.- Added a
backupNode
flag in order to ignore input actions for backups node - Changed GiveSorted recursion implementation, calling it linearly in intervals when there is gas limit error
- Reset Dispute is only after
- Added logs at necessary places (#916)
- Suppress unnecessary error logs (#925)
- Saved commit data only after successful commit (#944)
- Added password flag in every command (#941)
- Fixes
Shuffle
function where SortedProposedBlocks as parameter was passed as reference (#956) - Changed
PendingNonceAt
toNonceAt
- Added a generic function
InvokeFunctionWithTimeout
to call all the contract and client functions. (#936) - Added a check if config key is present in yaml file before fetching value (#970)
Contains fixes for v1.3.0-alpha
- Fixed identifying error in returned values from generic function. (#968)
v1.0.4
Changes from v1.0.0-mainnet
→ v1.0.4
- Added
epoch
andblock number
in every log (#949) - Removed duplicate retry attempts in
GetDataToCommitFromJob
(#950) - Http timeout = 10 sec, Retry attempts = 1 for
GetDataFromAPI
(#950)
Full Changelog: v1.0.0-mainnet...v1.0.4