Skip to content

Releases: razor-network/oracle-node

v1.0.6-alpha-patch1

02 Feb 11:44
b7617c7
Compare
Choose a tag to compare

What's Changed

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

v1.0.6-alpha

23 Dec 09:39
7c51e97
Compare
Choose a tag to compare

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

  1. Remove EthBalanceIsZero check from the all the commands except addStake and delegate

  2. [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
  3. [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)
  4. [Epic] Validate contract calls. Add/Remove checks to avoid any error from contracts (Changes from v1-audit) (#979)

    • Add ETA for unlockWithdraw #885
    • Check for address validity everywhere using a validation helper #837
    • add stake needs to check if Staker is slashed before staking #868
    • add retry mechanism for fetch balance #839
    • IF condition should be placed before calculating transaction options. #826
  5. Remove cmd/UtilsInterface (#959)

  6. Move lumberjack (logger.go) constants to config (#832)

  7. Epoch check to perform InitiateWithdraw should be done first instead of waiting till allowed states. (#1000)

  8. Implemented RPC timeout while fetching blockNumber for logger (#998)

  9. Updated docker file and readme for non-root user (#940)

  10. Support new field for datasource (#1001)

  11. Cache multiple results from same API(#976)

v1.0.5-patch1

15 Dec 10:15
f20438c
Compare
Choose a tag to compare

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 in vote 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

14 Dec 11:11
cf08876
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.4...v1.0.5

v1.0.5

14 Dec 12:17
cf08876
Compare
Choose a tag to compare
Deleted password file (#1040)

v1.0.5-beta-patch1

07 Dec 05:53
d1b6b6b
Compare
Choose a tag to compare

Release for internal validators to run the node on production.

Changes from v1.0.5-alpha-patch3v1.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

06 Dec 12:52
f33fb42
Compare
Choose a tag to compare

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

Changes from v1.0.5-betav1.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

25 Nov 12:52
dba7607
Compare
Choose a tag to compare

Release for internal validators to run the node on production.

Changes from v1.0.5-alpha-patch2v1.0.5-beta:

  • v1.0.5-beta ready(#1030)- Added production support for v1.0.5-alpha version

v1.0.5-alpha-patch2

18 Nov 10:11
70dee8f
Compare
Choose a tag to compare

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

Changes from v1.0.5-alpha-patch1v1.0.5-alpha-patch2:

  • Calculated blockNumber for logger in separate go routine which reduces executing time for each process(commit,reveal,propose,dispute) #1023
  • Increased max size of log file to 182MB #1027

v1.0.5-alpha-patch1

11 Nov 15:27
2449c03
Compare
Choose a tag to compare

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

Changes from v1.0.5-alphav1.0.5-alpha-patch1:

  • Added logs in the entire code base (#1003)
  • Fetched main branch having a merged and revert commit for Update docker user