Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into short-name-less-typing
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Jan 1, 2024
2 parents b1a20b9 + 1f26c37 commit b378536
Show file tree
Hide file tree
Showing 342 changed files with 41,108 additions and 34,376 deletions.
21 changes: 21 additions & 0 deletions .changelog/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project_url = "https://github.com/cosmos/interchain-security"

# Settings related to components/sub-modules. Only relevant if you make use of
# components/sub-modules.
[components]

# The title to use for the section of entries not relating to a specific
# component.
general_entries_title = "General"

# The number of spaces to inject before each component-related entry.
entry_indent = 2

# The components themselves. Each component has a name (used when rendered
# to Markdown) and a path relative to the project folder (i.e. relative to
# the parent of the `.changelog` folder).
[components.all]
provider = { name = "Provider", path = "x/ccv/provider" }
consumer = { name = "Consumer", path = "x/ccv/consumer" }
tests = { name = "Tests", path = "tests" }
docs = { name = "Documentation", path = "docs/docs" }
197 changes: 197 additions & 0 deletions .changelog/epilogue.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Deprecate equivocation proposals.
([\#1340](https://github.com/cosmos/interchain-security/pull/1340))
3 changes: 3 additions & 0 deletions .changelog/unreleased/bug-fixes/1460-msg-validation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve validation of IBC packet data and provider messages. Also,
enable the provider to validate consumer packets before handling them.
([\#1460](https://github.com/cosmos/interchain-security/pull/1460))
3 changes: 3 additions & 0 deletions .changelog/unreleased/dependencies/1373-bump-ibc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [ibc-go](https://github.com/cosmos/ibc-go) to
[v7.3.1](https://github.com/cosmos/ibc-go/releases/tag/v7.3.1).
([\#1373](https://github.com/cosmos/interchain-security/pull/1373))
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/1336-quint-model.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add Quint model of Replicated Security.
([\#1336](https://github.com/cosmos/interchain-security/pull/1336))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add the provider-side changes for jail throttling with retries (cf. ADR 008).
([\#1321](https://github.com/cosmos/interchain-security/pull/1321))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Update how consumer-assigned keys are checked when a validator is
created on the provider.
([\#1339](https://github.com/cosmos/interchain-security/pull/1339))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Introduce the cryptographic verification of equivocation feature to the provider
(cf. [ADR-005](/docs/docs/adrs/adr-005-cryptographic-equivocation-verification.md)
& [ADR-013](/docs/docs/adrs/adr-013-equivocation-slashing.md)).
([\#1340](https://github.com/cosmos/interchain-security/pull/1340))
16 changes: 16 additions & 0 deletions .changelog/unreleased/improvements/1324-consumer-genesis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- Split out consumer genesis state to reduce shared data between provider and
consumer. ([\#1324](https://github.com/cosmos/interchain-security/pull/1324))
- Note: This breaks json format used by augmenting Genesis files of consumer
chains with consumer genesis content exported from provider chain. Consumer
Genesis content exported from a provider chain using major version 1, 2 or 3
of the provider module needs to be transformed with the transformation command
introduced by this PR:
```
Transform the consumer genesis file from a provider version v1, v2 or v3 to a version supported by this consumer. Result is printed to STDOUT.
Example:
$ <appd> transform /path/to/ccv_consumer_genesis.json
Usage:
interchain-security-cd genesis transform [genesis-file] [flags]
```
3 changes: 3 additions & 0 deletions .changelog/unreleased/improvements/1350-cleanup-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Refactor shared events, codecs and errors assign to
consumer and provider dedicated types where possible.
([\#1350](https://github.com/cosmos/interchain-security/pull/1350))
2 changes: 2 additions & 0 deletions .changelog/unreleased/state-breaking/1324-consumer-genesis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Split out consumer genesis state to reduce shared data between provider and
consumer. ([\#1324](https://github.com/cosmos/interchain-security/pull/1324))
3 changes: 3 additions & 0 deletions .changelog/unreleased/state-breaking/1460-msg-validation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve validation of IBC packet data and provider messages. Also,
enable the provider to validate consumer packets before handling them.
([\#1460](https://github.com/cosmos/interchain-security/pull/1460))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add the provider-side changes for jail throttling with retries (cf. ADR 008).
([\#1321](https://github.com/cosmos/interchain-security/pull/1321))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Change the states by adding a consumer key for each chain that is
not yet registered meaning for which the gov proposal has not passed.
([\#1339](https://github.com/cosmos/interchain-security/pull/1339))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Introduce the cryptographic verification of equivocation feature to the provider
(cf. [ADR-005](/docs/docs/adrs/adr-005-cryptographic-equivocation-verification.md)
& [ADR-013](/docs/docs/adrs/adr-013-equivocation-slashing.md)).
([\#1340](https://github.com/cosmos/interchain-security/pull/1340))
2 changes: 2 additions & 0 deletions .changelog/v3.2.0/bug-fixes/consumer/1146-pending-packets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix deletion of pending packets that may cause duplicate sends
([\#1146](https://github.com/cosmos/interchain-security/pull/1146))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Remove `idx` field from the `ccv.ConsumerPacketData` type as this would break the
wire ([\#1150](https://github.com/cosmos/interchain-security/pull/1150))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Validate token transfer messages before calling `Transfer()`.
([\#1244](https://github.com/cosmos/interchain-security/pull/1244))
2 changes: 2 additions & 0 deletions .changelog/v3.2.0/bug-fixes/consumer/1262-fee-pool-addr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Remove incorrect address validation on `ProviderFeePoolAddrStr` param.
([\#1262](https://github.com/cosmos/interchain-security/pull/1262))
2 changes: 2 additions & 0 deletions .changelog/v3.2.0/bug-fixes/consumer/1295-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Increment consumer consensus version and register consumer migration.
([\#1295](https://github.com/cosmos/interchain-security/pull/1295))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/dependencies/1196-bump-ibc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [ibc-go](https://github.com/cosmos/ibc-go) to
[v7.2.0](https://github.com/cosmos/ibc-go/releases/tag/v7.2.0).
([\#1196](https://github.com/cosmos/interchain-security/pull/1196))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/dependencies/1258-bump-ibc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [ibc-go](https://github.com/cosmos/ibc-go) to
[v7.3.0](https://github.com/cosmos/ibc-go/releases/tag/v7.3.0).
([\#1258](https://github.com/cosmos/interchain-security/pull/1258))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/dependencies/1258-bump-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) to
[v0.47.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.4).
([\#1258](https://github.com/cosmos/interchain-security/pull/1258))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/dependencies/1259-bump-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) to
[v0.47.5](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5).
([\#1259](https://github.com/cosmos/interchain-security/pull/1259))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add the consumer-side changes for jail throttling with retries (cf. ADR 008).
([\#1024](https://github.com/cosmos/interchain-security/pull/1024))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Introduce the gRPC query `/interchain_security/ccv/consumer/provider-
info` and CLI command `interchain-security-cd q ccvconsumer
provider-info` to retrieve provider info from the consumer chain.
([\#1164](https://github.com/cosmos/interchain-security/pull/1164))
2 changes: 2 additions & 0 deletions .changelog/v3.2.0/features/provider/1076-export-timestamps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add `InitTimeoutTimestamps` and `ExportedVscSendTimestamps` to exported
genesis. ([\#1076](https://github.com/cosmos/interchain-security/pull/1076))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/features/provider/1280-reward-denoms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Add a governance proposal for setting on the provider the denominations for
rewards from consumer chains.
([\#1280](https://github.com/cosmos/interchain-security/pull/1280))
2 changes: 2 additions & 0 deletions .changelog/v3.2.0/improvements/1244-consumer-unbonding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update the default consumer unbonding period to 2 weeks.
([\#1244](https://github.com/cosmos/interchain-security/pull/1244))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Optimize pending packets storage on consumer, with migration.
([\#1037](https://github.com/cosmos/interchain-security/pull/1037))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/state-breaking/1196-bump-ibc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [ibc-go](https://github.com/cosmos/ibc-go) to
[v7.2.0](https://github.com/cosmos/ibc-go/releases/tag/v7.2.0).
([\#1196](https://github.com/cosmos/interchain-security/pull/1196))
2 changes: 2 additions & 0 deletions .changelog/v3.2.0/state-breaking/1244-consumer-unbonding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update the default consumer unbonding period to 2 weeks.
([\#1244](https://github.com/cosmos/interchain-security/pull/1244))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/state-breaking/1258-bump-ibc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [ibc-go](https://github.com/cosmos/ibc-go) to
[v7.3.0](https://github.com/cosmos/ibc-go/releases/tag/v7.3.0).
([\#1258](https://github.com/cosmos/interchain-security/pull/1258))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/state-breaking/1258-bump-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) to
[v0.47.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.4).
([\#1258](https://github.com/cosmos/interchain-security/pull/1258))
3 changes: 3 additions & 0 deletions .changelog/v3.2.0/state-breaking/1259-bump-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Bump [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) to
[v0.47.5](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5).
([\#1259](https://github.com/cosmos/interchain-security/pull/1259))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add the consumer-side changes for jail throttling with retries (cf. ADR 008).
([\#1024](https://github.com/cosmos/interchain-security/pull/1024))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Optimize pending packets storage on consumer, with migration.
([\#1037](https://github.com/cosmos/interchain-security/pull/1037))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix deletion of pending packets that may cause duplicate sends
([\#1146](https://github.com/cosmos/interchain-security/pull/1146))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Remove `idx` field from the `ccv.ConsumerPacketData` type as this would break the
wire ([\#1150](https://github.com/cosmos/interchain-security/pull/1150))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Validate token transfer messages before calling `Transfer()`.
([\#1244](https://github.com/cosmos/interchain-security/pull/1244))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Remove incorrect address validation on `ProviderFeePoolAddrStr` param.
([\#1262](https://github.com/cosmos/interchain-security/pull/1262))
2 changes: 2 additions & 0 deletions .changelog/v3.2.0/state-breaking/consumer/1295-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Increment consumer consensus version and register consumer migration.
([\#1295](https://github.com/cosmos/interchain-security/pull/1295))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Add a governance proposal for setting on the provider the denominations for
rewards from consumer chains.
([\#1280](https://github.com/cosmos/interchain-security/pull/1280))
1 change: 1 addition & 0 deletions .changelog/v3.2.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*November 24, 2023*
3 changes: 3 additions & 0 deletions .github/.codespellignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
clienta
connectiona
sover
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Please go the the `Preview` tab and select the appropriate sub-template:
Please go to the `Preview` tab and select the appropriate sub-template:

* [Production code](?expand=1&template=production.md) - for types `fix`, `feat`, and `refactor`.
* [Docs](?expand=1&template=docs.md) - for documentation changes.
* [Others](?expand=1&template=others.md) - for changes that do not affect production code.
* [Others](?expand=1&template=others.md) - for changes that do not affect production code.
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ please add links to any relevant follow up issues.*
I have...

* [ ] Included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] Added `!` to the type prefix if state-machine breaking change (i.e., requires coordinated upgrade)
* [ ] Added `!` to the type prefix if the change is [state-machine breaking](https://github.com/cosmos/interchain-security/blob/main/RELEASES.md#breaking-changes)
* [ ] Confirmed this PR does not introduce changes requiring state migrations, OR migration code has been added to consumer and/or provider modules
* [ ] Targeted the correct branch (see [PR Targeting](https://github.com/cosmos/interchain-security/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] Provided a link to the relevant issue or specification
* [ ] Followed the guidelines for [building SDK modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] Followed the guidelines for [building SDK modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/build/building-modules/00-intro.md)
* [ ] Included the necessary unit and integration [tests](https://github.com/cosmos/interchain-security/blob/main/CONTRIBUTING.md#testing)
* [ ] Added a changelog entry to `CHANGELOG.md`
* [ ] Included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] Updated the relevant documentation or specification
* [ ] Reviewed "Files changed" and left comments if necessary <!-- relevant if the changes are not obvious -->
* [ ] Confirmed all CI checks have passed
* [ ] If this PR is library API breaking, bump the go.mod version string of the repo, and follow through on a new major release for both the consumer and provider
* [ ] If this PR is library API breaking, bump the go.mod version string of the repo, and follow through on a new major release

### Reviewers Checklist

Expand All @@ -40,7 +40,7 @@ your handle next to the items reviewed if you only reviewed selected items.*
I have...

* [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] confirmed `!` in the type prefix if API or client breaking change
* [ ] confirmed `!` the type prefix if the change is state-machine breaking
* [ ] confirmed this PR does not introduce changes requiring state migrations, OR confirmed migration code has been added to consumer and/or provider modules
* [ ] confirmed all author checklist items have been addressed
* [ ] reviewed state machine logic
Expand Down
14 changes: 12 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ updates:
directory: "/"
schedule:
interval: daily
target-branch: "release/v2.1.x-provider-lsm"
target-branch: "release/v2.4.x-lsm"
# Only allow automated security-related dependency updates on release branches.
open-pull-requests-limit: 0
labels:
Expand Down Expand Up @@ -72,7 +72,17 @@ updates:
directory: "/"
schedule:
interval: daily
target-branch: "release/v3.2.x-consumer"
target-branch: "release/v3.2.x"
# Only allow automated security-related dependency updates on release branches.
open-pull-requests-limit: 0
labels:
- dependencies

- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
target-branch: "release/v3.3.x"
# Only allow automated security-related dependency updates on release branches.
open-pull-requests-limit: 0
labels:
Expand Down
2 changes: 2 additions & 0 deletions .github/issue_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
needs-triage: # if no label is set then set triage
- ''
48 changes: 28 additions & 20 deletions .github/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
"C:x/consumer":
- x/ccv/consumer/**/*
- changed-files:
- any-glob-to-any-file: x/ccv/consumer/**
"C:x/democracy":
- x/ccv/democracy/**/*
- changed-files:
- any-glob-to-any-file: x/ccv/democracy/**
"C:x/provider":
- x/ccv/provider/**/*
- changed-files:
- any-glob-to-any-file: x/ccv/provider/**
"C:x/types":
- x/ccv/types/**/*
- changed-files:
- any-glob-to-any-file: x/ccv/types/**
"C:Docs":
- docs/docs/**/*
- changed-files:
- any-glob-to-any-file: docs/docs/**
"C:ADR":
- docs/docs/adrs/**/*
- changed-files:
- any-glob-to-any-file: docs/docs/adrs/**
"C:CI":
- .github/**/*.yml
- buf.work.yaml
- .mergify.yml
- .golangci.yml
- mlc_config.json
- sonar-project.properties
- changed-files:
- any-glob-to-any-file: .github/**/*.yml
- any-glob-to-any-file: buf.work.yaml
- any-glob-to-any-file: .mergify.yml
- any-glob-to-any-file: .golangci.yml
- any-glob-to-any-file: mlc_config.json
- any-glob-to-any-file: sonar-project.properties
"C:Build":
- Makefile
- Dockerfile
- scripts/*
- changed-files:
- any-glob-to-any-file: Makefile
- any-glob-to-any-file: Dockerfile
- any-glob-to-any-file: scripts/**
"C:Testing":
- app/**/*
- cmd/**/*
- legacy_ibc_testing/**/*
- tests/**/*
- testutil/**/*
- changed-files:
- any-glob-to-any-file: app/**
- any-glob-to-any-file: cmd/**
- any-glob-to-any-file: tests/**
- any-glob-to-any-file: testutil/**
Loading

0 comments on commit b378536

Please sign in to comment.