-
Notifications
You must be signed in to change notification settings - Fork 238
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
Feature/rust rewarding #750
Merged
+2,579
−335
Merged
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
bfc43c8
Calculating gas fees
jstuczyn 6231821
Ability to set custom fees
jstuczyn 0c34c38
Added extra test
jstuczyn f9489d9
Removed commented code
jstuczyn abcec68
Moved all msg types to common contract crate
jstuczyn 7dbaab3
Temporarily disabling get_tx method
jstuczyn f5cad78
Finishing up nymd client API
jstuczyn ae1d92d
Comment fix
jstuczyn 895a1e3
Remaining fee values
jstuczyn d70683c
Some cleanup
jstuczyn 849fde0
Removed needless borrow
jstuczyn 1d25c42
Fixed imports in contract tests
jstuczyn 5e8b3e3
Moved error types around
jstuczyn 74a82bf
New ValidatorClient
jstuczyn ae1e4da
Experiment with new type of defaults
jstuczyn 9ff3d1d
Removed dead module
jstuczyn 9434901
Merge branch 'develop' into feature/nymd-client-integration
jstuczyn 0cecc2b
Merge branch 'develop' into feature/nymd-client-integration
jstuczyn aa3be40
Dealt with unwrap
jstuczyn a530514
Migrated mixnode to use new validator client
jstuczyn ddba2e8
Migrated gateway to use new validator client
jstuczyn 89800fc
Mixnode and gateway adjustments
jstuczyn b04c7d7
More exported defaults
jstuczyn fe830f9
Clients using new validator client
jstuczyn 57f8ba4
Fixed mixnode upgrade
jstuczyn 24e1283
Moved default values to a new crate
jstuczyn 16d8abd
Changed behaviour of validator client features
jstuczyn e1a6f85
Migrated basic functions of validator api
jstuczyn f027ac8
Updated config + fixed startup
jstuczyn e5c7bd6
Fixed wasm client build
jstuczyn e0d0c91
Integration with the explorer api
jstuczyn a0ec3e8
Merge branch 'develop' into feature/nymd-client-integration
jstuczyn 57d6b5d
Removed tokio dev dependency
jstuczyn 42ad1de
Needless borrow
jstuczyn bbdede6
Merge branch 'develop' into feature/nymd-client-integration
jstuczyn e0119eb
Fixex wasm client build
jstuczyn 1ef2469
Fixed tauri client build
jstuczyn ee38ff3
Needless borrows
jstuczyn f2e4754
New tables for rewarding
jstuczyn 7f2179b
Updated cosmos-sdk version
jstuczyn b3858c5
Removed reward-specific node status routes
jstuczyn a8cf93a
New rewarding-specific config entries
jstuczyn aaf12ca
Additional network defaults
jstuczyn f225eed
Initial periodic rewards from validator api
jstuczyn 12ab836
Merge branch 'develop' into feature/rust-rewarding
jstuczyn fe715d9
Replaced print with log
jstuczyn 175c41e
Merge branch 'develop' into feature/rust-rewarding
jstuczyn 657017a
Filtering nodes with uptime > 0
jstuczyn 9b64642
Additional failure logging statements
jstuczyn 13741da
Fixed operation ordering
jstuczyn 1aea8be
Adjusted next rewarding epoch determination
jstuczyn b447beb
Merge branch 'develop' into feature/rust-rewarding
jstuczyn 7ebaa33
Modified rewarding behaviour to keep track of rewarding in progress
jstuczyn 17d8e30
Improved error message on config load failure
jstuczyn 87bfc63
Additional log statement
jstuczyn 856d67d
Adjusted rewarding gas limit calculation
jstuczyn 227e85c
Made naming slightly more consistent
jstuczyn 5295867
Fixed incorrect parentheses placement
jstuczyn 8056958
Merge branch 'develop' into feature/rust-rewarding
jstuczyn b4e521e
Merge branch 'feature/rust-rewarding' of github.com:nymtech/nym into …
jstuczyn 8201965
Fixed fee calculation
jstuczyn d946743
Cargo fmt
jstuczyn 332578f
Removed failed merge artifacts
jstuczyn 02de282
Introduced comment for any future reward modification
jstuczyn 4640d2e
typos
jstuczyn 30dfdaf
Helper functions for the future
jstuczyn 9e5d889
Making @mfahampshire 's life easier
jstuczyn 318dfce
Redesigned epoch + rewarding skipped epochs (if possible)
jstuczyn e459005
Removed old merge artifacts
jstuczyn e0e30ca
Naming consistency
jstuczyn bcdbbe6
Constraining arguments
jstuczyn fd76dbc
Removed unnecessary if branch
jstuczyn 96155ca
Ignore monitor check for current epoch
jstuczyn b1696cf
Additional checks for current epoch data
jstuczyn 118223c
Merge branch 'develop' into feature/rust-rewarding
jstuczyn fb859db
Monitor threshold check
jstuczyn c9e98b0
Merge branch 'develop' into feature/rust-rewarding
jstuczyn 1bda018
cargo fmt
jstuczyn 462a83e
Fixed post-merge issues in transactions.rs
jstuczyn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
30 seconds seems like quite a long time, maybe this should be a warning instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's only happening at startup and I'd even argue that perhaps 30s is too short. This is basically to help to solve our chicken and the egg problem of network monitor requiring "good" topology to be online to run and mixnodes/gateways requiring the validator-api to be online in order to start themselves. With this delay we can start the basic validator-api functionality (without monitoring), while we wait for mixnodes/gateways to become online. After that happens the monitor will start