-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge to Main #433
Closed
Closed
Merge to Main #433
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Skanda Bhat <bhat.skanda.m@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Added GetSortedProposedBlockIds * Support for tests * Modified tests * Corrected activeAssetIds in tests
* Added check for biggestInfluence * Support for tests * Additional tests * only one dispute check
* StakerInfo command implemented. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Update README files. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Implement necessary mocks for tests. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Fix typo. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Add more tests. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Remove address from stakerInfo command. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Fix getEpoch method. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Fix tests. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Update README. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Added getUpdatedEpoch() * Fetched updated epoch in for loop
* Initialized sentry to the project. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Run golangci-lint run. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* utilsStruct call methods * consolidated interfaces into one * compilation changes * Modified functions with utilsStruct
* 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 <ashish10677@gmail.com> Co-authored-by: Yashk767 <76935991+Yashk767@users.noreply.github.com> Co-authored-by: Skanda Bhat <bhat.skanda.m@gmail.com> Co-authored-by: OxHimanshu <61224737+OxHimanshu@users.noreply.github.com>
* Added gasLimit as a setConfig parameter. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Add code to increase gas limit by dynamic value. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Restrict gas limit to 21 million max. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Add Gas limit in config.sh Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Add tests for set config. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Update README Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Make default gas limit as 100% Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Apply gofmt. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Modify gas limit multiplier to be used as 2x, 3x, 1.5x, etc. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Update README. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Fix tests. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* ConvertToNumber coverage * Moved AssignAmountInWei() to cmd-utils.go * Additional tests Added a nil testcase minor changes * requested change
Co-authored-by: Shrikant Upadhyay <shrikant@thetreedots.com>
* Removed max gas limit from confirm block. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Fix tests. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* 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 * 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 <shrikant1997upadhyay@gmail.com> Co-authored-by: Shrikant Upadhyay <shrikant@thetreedots.com>
* Timeout duration reduced from 120 to 30 secs. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com> * Block completion timeout made a constant value. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Modified functions with utilsStruct * Compilation fixes * modified AssignAmountInWei * Compilation fixes * Added tests for cmd-ttils * Added tests for different states
* Add Read from and write into file functions. * Update contract addresses. * Implement voting with crash recovery. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Added claimBounty command * Added support for claimBounty tests * Additional structs * Added tests * Added CalculateBlockTime() * Added a retry for redeemBounty and fixed tests * multiplied duration with seconds * Modified Readme
* Added support for tests * Added tests and ran gofmt * Ran gofmt
* Add TODOs for retry * Asset.go modified with new retry function. * Retry implemented for all functions of block.go * Add retry to all methods necessary for voting. * Change number of attempts for suggestGasPrice and estimateGas. * Fix tests. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Update contract addresses. * Removed unneccessary usage of address. * Removed address and fixed tests. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* removed Accounts interface from cmd * New Accounts Interface in accounts pkg * Compilation fixes * Added tests for accounts
* Update contract addresses. * Add function to handle XHTML data points. * Add tests for TestGetDataFromHTML * Add tests and updateJob changed. * README updated. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Added stakedToken contract * Added RZR,sRZR conversion functions * Converted RZR's to sRZR's before unstake call * Added support for tests * Added tests * Seperate GetAmountInSRZRs function * Modified tests * displayed log to highest decimals * Changed log format to debug * Added test cases with higher values
* Modified config-utils with utilsStruct * Added support in interfaces * Compilation fixes due to modified GetConfigdata() * Added mocks for config functions * fixed tests * Added flagSetUtils to utilsStruct * Added tests for config-Utils
* Added support for tests * Modified functions with RazorUtilsInterface * compilation fixes * changed parameter count * Fixed tests * Added tests for options.go
* Changed interface and struct names * Compilation fixes * Fix tests
* configure publish step * fix indentation * configure dind in job * configure dind in job * configure dind in job * test image build job * configure docker login * configure docker login * configure context in ci * configure docker host address * cleanup * add env vars * Configured tag based job for publishing docker image
* Add rogue mode for commit. * rogueMode with commit tested. * Only propose rogue if the rogue mode is mentioned as propose. * Fix tests. * Update README. * Add tests for GetRogueRandomValue * Removed comments. * Change rogue to rogueData. * Comment hotfix. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Readme updated
* Update package.json * Fix data type issue. * No compilation or running error. * Add new command for updateCommission. * Fix tests. * Rename razorUtils to packageUtils. * Change parameters in tests. * Update README and version. * Add condition to check if a staker has been slashed before. * Fix waitFor issue. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
* Reduced maxIteration and removed address parameter from getIteraion() * Added tests for 100% coverage
* generated mocks using mockery * Added mockery support
* Separate initializeVote(), executeVote(), vote() * Added autoVote feature * modified ReadMe
* jobList command added * Readme updated * test fixes
* collectionList command added * lint fix * minor fix
* Added method caller UtilsStruct for block.go functions * Added mocks * Added tests for block.go * Compilation fixes
* Init overrideJob. * Override job command implemented. * Add deleteOverride. * Delete Override job implemented. * Add if condition while fetching job. * Remove packageUtils. * Fix bug in updateCommission. * Update tests. * README updated. Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Signed-off-by: Ashish Kumar Mishra <ashish10677@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: