Skip to content

Releases: razor-network/oracle-node

v0.1.76

26 Nov 07:40
a7502f4
Compare
Choose a tag to compare
Develop (#375)

* Update config.yml (#316)

Co-authored-by: Skanda Bhat <[email protected]>

* Additional tests (#317)

* Increment gasLimit while confirming block. (#320)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Corrected GetNumberOfStakers() (#324)

* Fix issue of isElectedProposer. (#328)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Exit the code if the stake is slashed to 0 (#334)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Dispute blockId fix (#333)

* Added GetSortedProposedBlockIds
* Support for tests
* Modified tests
* Corrected activeAssetIds in tests

* Dispute influence id fix (#338)

* Added check for biggestInfluence

* Support for tests

* Additional tests

* only one dispute check

* Staker info (#314)

* StakerInfo command implemented.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README files.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Implement necessary mocks for tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix typo.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add more tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Remove address from stakerInfo command.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix getEpoch method.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Increase coverage on propose.go. (#340)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Added maximum gas limit while confirming block. (#335)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix withdraw (#344)

* Added getUpdatedEpoch()

* Fetched updated epoch in for loop

* Sentry integrated to razor-go (#347)

* Initialized sentry to the project.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Run golangci-lint run.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Consolidated interfaces into utilsStruct  (#341)

* utilsStruct call methods
* consolidated interfaces into one
* compilation changes
* Modified functions with utilsStruct

* Resolve conflicts (#349)

* Update config.yml

* changed addresses to v0.1.76 (#318)

* Develop (#325)

* Update config.yml (#316)

* Additional tests (#317)

* Increment gasLimit while confirming block. (#320)

* Corrected GetNumberOfStakers() (#324)

Co-authored-by: Ashish Kumar Mishra <[email protected]>
Co-authored-by: Yashk767 <[email protected]>
Co-authored-by: Skanda Bhat <[email protected]>
Co-authored-by: OxHimanshu <[email protected]>

* Gas limit config (#343)

* Added gasLimit as a setConfig parameter.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add code to increase gas limit by dynamic value.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Restrict gas limit to 21 million max.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add Gas limit in config.sh

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add tests for set config.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Make default gas limit as 100%

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Apply gofmt.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Modify gas limit multiplier to be used as 2x, 3x, 1.5x, etc.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* modified tests with more realistic values (#351)

* Added tests for math.go (#353)

* ConvertToNumber coverage

* Moved AssignAmountInWei() to cmd-utils.go

* Additional tests

Added a nil testcase

minor changes

* requested change

* fix: added jq pkg and updated build script in dockerfile. (#362)

Co-authored-by: Shrikant Upadhyay <[email protected]>

* Removed max gas limit from confirm block. (#359)

* Removed max gas limit from confirm block.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Reduce calculations in handle dispute. (#364)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update contract addresses. (#374)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Remove unnecessary import

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Test unstake (#350)

* Seperated InitialiseUnstake()

* modified functions with  utilsStruct

* seperate executeUnstake()

* Added support for tests

* Added tests for unstake

* Added a UnstakeInput struct

* requested changes

* Mocked Sleep function

* Modified AutoWithdraw function

* Added tests for AutoWithdraw

* feat: Adding docker-compose.yml (#365)

* feat: Adding docker-compose.yml

* feat: configured docker-compose and readme

* feat: updated readme for docker compose

* fix: updated readme and added support for silicon based MAC

* fix: Updated README for silicon based MAC

Signed-off-by: Shrikant Upadhyay <[email protected]>

Co-authored-by: Shrikant Upadhyay <[email protected]>

* Timeout duration reduced from 120 to 30 secs. (#366)

* Timeout duration reduced from 120 to 30 secs.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Block completion timeout made a constant value.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

Co-authored-by: Skanda Bhat <[email protected]>
Co-authored-by: Yashk767 <[email protected]>
Co-authored-by: OxHimanshu <[email protected]>
Co-authored-by: Shrikant upadhyay <[email protected]>
Co-authored-by: Shrikant Upadhyay <[email protected]>

v0.1.76

19 Nov 11:24
3fd722a
Compare
Choose a tag to compare
redeployed contracts v0.1.76 (#352)

* changed addresses to v0.1.76

* redeployed contracts v0.1.76

v0.1.76

19 Nov 09:11
d8bc7d2
Compare
Choose a tag to compare
Develop (#348)

* Update config.yml (#316)

Co-authored-by: Skanda Bhat <[email protected]>

* Additional tests (#317)

* Increment gasLimit while confirming block. (#320)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Corrected GetNumberOfStakers() (#324)

* Fix issue of isElectedProposer. (#328)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Exit the code if the stake is slashed to 0 (#334)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Dispute blockId fix (#333)

* Added GetSortedProposedBlockIds
* Support for tests
* Modified tests
* Corrected activeAssetIds in tests

* Dispute influence id fix (#338)

* Added check for biggestInfluence

* Support for tests

* Additional tests

* only one dispute check

* Staker info (#314)

* StakerInfo command implemented.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README files.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Implement necessary mocks for tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix typo.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add more tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Remove address from stakerInfo command.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix getEpoch method.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Increase coverage on propose.go. (#340)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Added maximum gas limit while confirming block. (#335)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix withdraw (#344)

* Added getUpdatedEpoch()

* Fetched updated epoch in for loop

* Sentry integrated to razor-go (#347)

* Initialized sentry to the project.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Run golangci-lint run.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Consolidated interfaces into utilsStruct  (#341)

* utilsStruct call methods
* consolidated interfaces into one
* compilation changes
* Modified functions with utilsStruct

* Resolve conflicts (#349)

* Update config.yml

* changed addresses to v0.1.76 (#318)

* Develop (#325)

* Update config.yml (#316)

* Additional tests (#317)

* Increment gasLimit while confirming block. (#320)

* Corrected GetNumberOfStakers() (#324)

Co-authored-by: Ashish Kumar Mishra <[email protected]>
Co-authored-by: Yashk767 <[email protected]>
Co-authored-by: Skanda Bhat <[email protected]>
Co-authored-by: OxHimanshu <[email protected]>

* Gas limit config (#343)

* Added gasLimit as a setConfig parameter.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add code to increase gas limit by dynamic value.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Restrict gas limit to 21 million max.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add Gas limit in config.sh

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add tests for set config.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Make default gas limit as 100%

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Apply gofmt.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Modify gas limit multiplier to be used as 2x, 3x, 1.5x, etc.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

Co-authored-by: Skanda Bhat <[email protected]>
Co-authored-by: Yashk767 <[email protected]>
Co-authored-by: OxHimanshu <[email protected]>

v0.1.76

09 Nov 09:22
97d21be
Compare
Choose a tag to compare
Develop (#325)

* Update config.yml (#316)

Co-authored-by: Skanda Bhat <[email protected]>

* Additional tests (#317)

* Increment gasLimit while confirming block. (#320)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Corrected GetNumberOfStakers() (#324)

Co-authored-by: Ashish Kumar Mishra <[email protected]>
Co-authored-by: Yashk767 <[email protected]>

v0.1.76

08 Nov 16:50
a01512b
Compare
Choose a tag to compare
v0.1.76-prod

changed addresses to v0.1.76 (#318)

v0.1.74

25 Oct 10:34
fe5fdeb
Compare
Choose a tag to compare
Fix weighted mean calculation. (#297)

Signed-off-by: Ashish Kumar Mishra <[email protected]>

v0.1.72

20 Oct 11:06
3a833c8
Compare
Choose a tag to compare
V0.1.7 release parity (#288)

* Upgrade contract version in package.json
Remove unnecessary imports and functions.
Bump up go-ethereum version to v1.10.8

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Resolve compilation errors.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Added fix for all asset related issues.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Tested v0.1.7 version.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix linting.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix createJob tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update README.
Fix updateJob tests.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Add jobIds flag in updateCollection.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* UpdateCollection test fixed.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Commission can be set now before calling acceptDelegation.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix setDelegation test.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Change name of resetLock to extendLock.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Fix gasLimit for confirmBlock at 250000.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

* Update contract version.

Signed-off-by: Ashish Kumar Mishra <[email protected]>

v0.1.65

04 Oct 09:03
d0ae6e9
Compare
Choose a tag to compare

Gas Limit Patch

v0.1.64

30 Sep 07:19
79dd422
Compare
Choose a tag to compare

Added deployed contract addresses and updated package.json

v0.1.63

24 Sep 09:40
79dd422
Compare
Choose a tag to compare
  • Modify asset status implemented. (#163)
  • Update go.yml (#173)
  • Update CONTRIBUTING.md (#174)
  • Checked Eth Balance is 0 instead of RZR balance check. (#162)
  • Added condition to check ethBalance=0 in state dependent functions. (#175)
  • Propose only when iteration is less than last block in alt blocks when no. of proposed blocks == max alt blocks (#139)
  • Ux improvements for incentivized test-net. (#140)
  • Change amount to value and add -a shorthand for address.
  • Renamed docekerize-build to build-noargs
  • Throw warning if the RPC URL isn't an https URL.
  • Waiting for x blocks now changed to waiting x seconds.
  • Address validation done before checking for epoch and sending txn.
  • Made setconfig as camelcase.
  • Check if the user has unstaked before withdrawing funds.
  • Read password from file (#177)
  • Added chainID and salt in hash calculation (#161)
  • Auto unstake and withdraw if stake < minStake while voting (#181)
  • Transact fractional RZRs (#180)
  • Implement algorithm to support large amount of votes during giveSorted. (#172)
  • Added new PR template (#184)
  • v0.1.6 support implemented (#182)
  • Implement new logger (#209)
  • Fix bug in median calculation (#211)
  • Displayed state name instead of state no. (#190)
  • Add check for inactive stakers (#217)
  • Test approve (#218)
  • Logger hotfix (#225)
  • Stake value is now shown in highest denomination with precision of 32bytes. (#226)
  • Median calculation fix (#228)
  • Test create (#229)
  • Test stake (#223)
  • Fixed error package (#235)
  • Implement Retry mechanism (#234)

Co-authored-by: Ashish Kumar Mishra [email protected]
Co-authored-by: Yashk767 [email protected]