-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
204 changed files
with
15,761 additions
and
7,490 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
.changelog/unreleased/api-breaking/provider/2079-inactive-validators.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- Add the _Inactive Provider Validators_ feature (as per | ||
[ADR-017](https://cosmos.github.io/interchain-security/adrs/adr-017-allowing-inactive-validators)), | ||
which entails the following changes on the provider. | ||
([\#2079](https://github.com/cosmos/interchain-security/pull/2079)) | ||
|
||
- Add `max_provider_consensus_validators`, a provider module param that sets | ||
the maximum number of validators that will be passed to the provider consensus engine. | ||
- Add `no_valupdates_genutil` and `no_valupdates_staking`, "wrapper" modules around | ||
the Cosmos SDK's native genutil and staking modules. Both modules provide the exact | ||
same functionality as the native modules, except for *not* returning validator set updates | ||
to the provider consensus engine. | ||
- Return the first `max_provider_consensus_validators` validators (sorted by largest amount of stake first) | ||
to the provider consensus engine. | ||
- Use the `max_validators` validators as basis for the validator sets sent to the consumers | ||
(`max_validators` is a staking module param). |
7 changes: 7 additions & 0 deletions
7
.changelog/unreleased/api-breaking/provider/2098-vscmatured-removal.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- The removal of `VSCMaturedPackets` entail several API breaking changes. | ||
([\#2098](https://github.com/cosmos/interchain-security/pull/2098)) | ||
|
||
- Remove the `oldest_unconfirmed_vsc` query -- used to get | ||
the send timestamp of the oldest unconfirmed VSCPacket. | ||
- Deprecate the `init_timeout_period` and `vsc_timeout_period` parameters | ||
from the provider module. |
25 changes: 25 additions & 0 deletions
25
.changelog/unreleased/api-breaking/provider/2130-remove-legacy-proposal.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
- Remove support for legacy-proposal to add/modify/remove consumer proposals and change reward denoms | ||
([\#2130](https://github.com/cosmos/interchain-security/pull/2130)) | ||
To submit a proposal to add/modify/remove a consumer use the following command | ||
```shell | ||
interchain-security-pd tx gov submit-proposal [proposal-file] | ||
``` | ||
|
||
Run `interchain-security-pd tx gov draft-proposal` command and select in `other` one of the following | ||
message types to generate a draft proposal json file: | ||
- `/interchain_security.ccv.provider.v1.MsgConsumerAddition` | ||
|
||
- `/interchain_security.ccv.provider.v1.MsgConsumerModification` | ||
|
||
- `/interchain_security.ccv.provider.v1.MsgConsumerRemoval` | ||
|
||
- `/interchain_security.ccv.provider.v1.MsgChangeRewardDenoms` | ||
|
||
This replaces the following command which are not supported anymore: | ||
|
||
```shell | ||
interchain-security-pd tx gov submit-legacy-proposal consumer-addition [proposal-file] | ||
interchain-security-pd tx gov submit-legacy-proposal consumer-modification [proposal-file] | ||
interchain-security-pd tx gov submit-legacy-proposal consumer-removal [proposal-file] | ||
interchain-security-pd tx gov submit-legacy-proposal change-reward-denoms [proposal-file] | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Bump [ibc-go](https://github.com/cosmos/ibc-go) to | ||
[v8.4.0](https://github.com/cosmos/ibc-go/releases/tag/v8.4.0). | ||
([\#2113](https://github.com/cosmos/interchain-security/pull/2113)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/features/provider/2035-min-stake-max-rank.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Add `min_stake`, a power shaping configuration parameter that enables consumers to set | ||
the minimum amount of provider stake every validator needs to be eligible to opt-in. | ||
([\#2035](https://github.com/cosmos/interchain-security/pull/2035)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/features/provider/2066-allow-inactive-vals.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Add `allow_inactive_vals`, a power shaping configuration parameter that enables consumers | ||
to specify whether validators outside the active provider validator set are eligible to opt-in. | ||
([\#2066](https://github.com/cosmos/interchain-security/pull/2066)) |
15 changes: 15 additions & 0 deletions
15
.changelog/unreleased/features/provider/2079-inactive-validators.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- Add the _Inactive Provider Validators_ feature (as per | ||
[ADR-017](https://cosmos.github.io/interchain-security/adrs/adr-017-allowing-inactive-validators)), | ||
which entails the following changes on the provider. | ||
([\#2079](https://github.com/cosmos/interchain-security/pull/2079)) | ||
|
||
- Add `max_provider_consensus_validators`, a provider module param that sets | ||
the maximum number of validators that will be passed to the provider consensus engine. | ||
- Add `no_valupdates_genutil` and `no_valupdates_staking`, "wrapper" modules around | ||
the Cosmos SDK's native genutil and staking modules. Both modules provide the exact | ||
same functionality as the native modules, except for *not* returning validator set updates | ||
to the provider consensus engine. | ||
- Return the first `max_provider_consensus_validators` validators (sorted by largest amount of stake first) | ||
to the provider consensus engine. | ||
- Use the `max_validators` validators as basis for the validator sets sent to the consumers | ||
(`max_validators` is a staking module param). |
8 changes: 8 additions & 0 deletions
8
.changelog/unreleased/features/provider/2098-vscmatured-removal.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- Remove `VSCMaturedPackets` from the provider module, which entails the following | ||
changes to the provider. | ||
([\#2098](https://github.com/cosmos/interchain-security/pull/2098)) | ||
|
||
- Remove unbonding operations pausing. | ||
- Remove the CCV channel initialization timeout. | ||
- Remove `VSCPackets` timeout. | ||
- Redesign key assignment pruning -- prune old consumer keys after the unbonding period elapses. |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/features/provider/2106-query-blocks-until-next-epoch.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Add a query to get the blocks until the next epoch begins | ||
([\#2106](https://github.com/cosmos/interchain-security/pull/2106)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/state-breaking/provider/2035-min-stake-max-rank.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Add `min_stake`, a power shaping configuration parameter that enables consumers to set | ||
the minimum amount of provider stake every validator needs to be eligible to opt-in. | ||
([\#2035](https://github.com/cosmos/interchain-security/pull/2035)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/state-breaking/provider/2066-allow-inactive-vals.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Add `allow_inactive_vals`, a power shaping configuration parameter that enables consumers | ||
to specify whether validators outside the active provider validator set are eligible to opt-in. | ||
([\#2066](https://github.com/cosmos/interchain-security/pull/2066)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/state-breaking/provider/2079-inactive-validators.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Add the _Inactive Provider Validators_ feature (as per | ||
[ADR-017](https://cosmos.github.io/interchain-security/adrs/adr-017-allowing-inactive-validators)). | ||
([\#2079](https://github.com/cosmos/interchain-security/pull/2079)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/state-breaking/provider/2098-vscmatured-removal.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Remove `VSCMaturedPackets` from the provider module. | ||
([\#2098](https://github.com/cosmos/interchain-security/pull/2098)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v5.1.0/api-breaking/1995-deprecate-soft-opt-out.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Remove soft opt-out feature. ([\#1995](https://github.com/cosmos/interchain-security/pull/1995)) | ||
Backporting of ([\#1964](https://github.com/cosmos/interchain-security/pull/1964)). |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Remove soft opt-out feature. ([\#1995](https://github.com/cosmos/interchain-security/pull/1995)) | ||
Backporting of ([\#1964](https://github.com/cosmos/interchain-security/pull/1964)). |
2 changes: 2 additions & 0 deletions
2
.changelog/v5.1.0/state-breaking/1995-deprecate-soft-opt-out.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Remove soft opt-out feature. ([\#1995](https://github.com/cosmos/interchain-security/pull/1995)) | ||
Backporting of ([\#1964](https://github.com/cosmos/interchain-security/pull/1964)). |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*July 19, 2024* |
2 changes: 2 additions & 0 deletions
2
.changelog/v5.1.1/api-breaking/provider/2095-proto-message-fix.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fix incorrect message definitions in the proto files of the provider module | ||
([\#2095](https://github.com/cosmos/interchain-security/pull/2095)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v5.1.1/state-breaking/provider/2095-proto-message-fix.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fix incorrect message definitions in the proto files of the provider module | ||
([\#2095](https://github.com/cosmos/interchain-security/pull/2095)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*July 26, 2024* |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Simulation | ||
on: | ||
workflow_call: | ||
pull_request: | ||
merge_group: | ||
push: | ||
branches: | ||
- main | ||
- release/v* | ||
- feat/* | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ci-${{ github.ref }}-tests | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
simulation-full: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
check-latest: true | ||
cache: true | ||
cache-dependency-path: go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
**/*.go | ||
go.mod | ||
go.sum | ||
**/go.mod | ||
**/go.sum | ||
**/Makefile | ||
Makefile | ||
- name: full simulation test | ||
if: env.GIT_DIFF | ||
run: | | ||
make sim-full | ||
simulation-no-inactive: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
check-latest: true | ||
cache: true | ||
cache-dependency-path: go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
**/*.go | ||
go.mod | ||
go.sum | ||
**/go.mod | ||
**/go.sum | ||
**/Makefile | ||
Makefile | ||
- name: simulation test without inactive validators | ||
if: env.GIT_DIFF | ||
run: | | ||
make sim-full-no-inactive-vals |
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
Oops, something went wrong.