Skip to content
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 21 commits into from
Aug 29, 2024

Commits on Aug 26, 2024

  1. 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]>
    4 people committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    05fd5f3 View commit details
    Browse the repository at this point in the history
  2. add phase + metadata

    sainoe committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    6a1df54 View commit details
    Browse the repository at this point in the history
  3. first logic draft

    sainoe committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    8a1e849 View commit details
    Browse the repository at this point in the history
  4. add filter

    sainoe committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    4d72cf4 View commit details
    Browse the repository at this point in the history
  5. reformat test

    sainoe committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    d13ebff View commit details
    Browse the repository at this point in the history
  6. nits

    sainoe committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    b9e2600 View commit details
    Browse the repository at this point in the history
  7. nit

    sainoe committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    0dbfd70 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. address comments

    sainoe committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ddae30a View commit details
    Browse the repository at this point in the history
  2. update tests

    sainoe committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    7133fb0 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. nits

    sainoe committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    a0794fe View commit details
    Browse the repository at this point in the history
  2. update logic

    sainoe committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    ef4a788 View commit details
    Browse the repository at this point in the history
  3. update CLI

    sainoe committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3b4feba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2e9868 View commit details
    Browse the repository at this point in the history
  5. revert unwanted changes

    sainoe committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3e13821 View commit details
    Browse the repository at this point in the history
  6. remove filter field

    sainoe committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    bfd8070 View commit details
    Browse the repository at this point in the history
  7. nit

    sainoe committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0e391fb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    585bbfa View commit details
    Browse the repository at this point in the history
  9. fix bad int conversion

    sainoe committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f4c2070 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    3d95aea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c218d6f View commit details
    Browse the repository at this point in the history
  3. update cli

    sainoe committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    2c8b701 View commit details
    Browse the repository at this point in the history