Releases: razor-network/oracle-node
v1.0.6-alpha-patch1
v1.0.6-alpha
Alpha release, as its in testing phase. Contains testnet contract-addresses and parameters.
DO NOT USE IN PRODUCTION!
New Features added in this release from v1.0.5 → v1.0.6-alpha
-
Remove EthBalanceIsZero check from the all the commands except addStake and delegate
-
[Epic] Move constant values used to core/constants.go and use them throughout
- dispute.go keep gasLimitMultiplier as a constant and add a comment on why its being used as that
- Move path.go strings to constants.go
- change common.hash to nil hash throughout
-
[Epic] Code CleanUp (Changes from v1-audit) (#988)
- Refactors (#864)
- change getDelayedState to getBufferedState
- remove uint64 from block time
- change int to uint in constants
- getSalt cleanup (typos)
- Change handleRevealState to checkForLastCommitted
- CalculateBlockNumberAtEpochBeginning rename to EstimateBlockNumberAtEpochBeginning
- GetStatesAllowed rename to GetFormattedStateNames and remove the comma logic
- ClaimStakeReward rename to ClaimStakerReward
- tx hash logging needs to be more consistent throughout (#846)
- remove redundant uint typecast , In GetEpoch(), uint64 needs to be removed (#844)
- Update coinContract to erc20contract (#842)
- Move standard logger json formatter to common in logger.go/initialise logger (#833)
- Refactors (#864)
-
[Epic] Validate contract calls. Add/Remove checks to avoid any error from contracts (Changes from v1-audit) (#979)
-
Remove
cmd/UtilsInterface
(#959) -
Move lumberjack (logger.go) constants to config (#832)
-
Epoch check to perform
InitiateWithdraw
should be done first instead of waiting till allowed states. (#1000) -
Implemented RPC timeout while fetching blockNumber for logger (#998)
-
Updated docker file and readme for non-root user (#940)
-
Support new field for datasource (#1001)
-
Cache multiple results from same API(#976)
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