-
Notifications
You must be signed in to change notification settings - Fork 116
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
feat: extend consumer chains query #2172
Merged
Merged
Commits on Aug 26, 2024
-
feat: first iteration on Permissionless ICS (#2117)
* (partially) renamed chain ids to consumer ids * renamed proposal messages * removed global slash entry * fixed unit tests * added new messages * introduced new state * added functionality for the register and initialize messages * renamed (partially) chainIds to consumerIds * set consumerId to chainId association during registration * added extra check in the initialization so unknokwn, launched, or stopped chains cannot re-initialize * added initial work on traversing initialized chains that are to-be-launched * fixed rebase issues after bringing the VSCMaturedPackets work in * made it so we traverse initialization records instead of addition proposals (+ additional changes so the unit tests pass) * renamed more chainIDs to consumerIds * removed ClientIdToChainId state because chainId already resides on the registration record * nit fixes in go docs * removed MsgConsumerAddition * added CLI commands for new messages * removed consumer modification proposal * removed (partially) consumer removal proposal * rebased to pick up the inactive-validators work (PR #2079) * introduced consumerId in the equivocation messages (and a useful query for Hermes to get the consumerId) * added safeguard so that a validator cannot opt-in to two different chains with the same chain id * renamed some chainIDs to consumerIds * updated based on comments Co-authored-by: bernd-m <[email protected]> * fixed integration tests * rebased to pick up the removal of legacy proposals (#2130) and re-introduced old messages so that existing proposals can deserialize * changes messages to only have MsgCreateConsumer and MsgUpdateConsumer and modified protos so that we are backward-compatible * cleaned up slightly a few things (mostly committing & pushing) so people can pick up the latest changes * fixed the CreateConsumer and UpdateConsumer logic and made most of the fields optional * fixed hooks and the code around proposalId to consumerId * feat: extend consumer validator query to return commission rate (backport #2162) (#2165) * adapt #2162 changes for permissionless ICS * nits --------- Co-authored-by: kirdatatjana <[email protected]> * renamed some chainIds to consumerIds * took into account comments and also added safeguard to reject new proposals that still use deprecated messages (e.g., MsgConsumerAddition, etc.) * Update x/ccv/provider/types/msg.go Co-authored-by: bernd-m <[email protected]> * removed double-gas charge on MsgCreateConsumer and imroved the logic of MsgUpdateConsumer * added PopulateMinimumPowerInTopN tested * took into account comments (using protos for marshalling string slice, fixed issues in the UpdateConsumer logic, added extra check to abort spurious proposals) * feat: add fields to consumer validators query (#2167) * extend consumer validators query * nit * nits * fix msg order * deprecate power for consumer_power * modified the way we verify the new owner address, as well as nit refactoring on the ConsumerIds * fixed some rebase issues and changed a proto to be backward-compatible --------- Co-authored-by: bernd-m <[email protected]> Co-authored-by: Simon Noetzlin <[email protected]> Co-authored-by: kirdatatjana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05fd5f3 - Browse repository at this point
Copy the full SHA 05fd5f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a1df54 - Browse repository at this point
Copy the full SHA 6a1df54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a1e849 - Browse repository at this point
Copy the full SHA 8a1e849View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d72cf4 - Browse repository at this point
Copy the full SHA 4d72cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d13ebff - Browse repository at this point
Copy the full SHA d13ebffView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9e2600 - Browse repository at this point
Copy the full SHA b9e2600View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dbfd70 - Browse repository at this point
Copy the full SHA 0dbfd70View commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ddae30a - Browse repository at this point
Copy the full SHA ddae30aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7133fb0 - Browse repository at this point
Copy the full SHA 7133fb0View commit details
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a0794fe - Browse repository at this point
Copy the full SHA a0794feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef4a788 - Browse repository at this point
Copy the full SHA ef4a788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b4feba - Browse repository at this point
Copy the full SHA 3b4febaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e9868 - Browse repository at this point
Copy the full SHA f2e9868View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e13821 - Browse repository at this point
Copy the full SHA 3e13821View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfd8070 - Browse repository at this point
Copy the full SHA bfd8070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e391fb - Browse repository at this point
Copy the full SHA 0e391fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 585bbfa - Browse repository at this point
Copy the full SHA 585bbfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c2070 - Browse repository at this point
Copy the full SHA f4c2070View commit details
Commits on Aug 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3d95aea - Browse repository at this point
Copy the full SHA 3d95aeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c218d6f - Browse repository at this point
Copy the full SHA c218d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c8b701 - Browse repository at this point
Copy the full SHA 2c8b701View commit details
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.