Skip to content

Commit

Permalink
Merge branch 'main' into jim/use-denom-in-simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-axner authored Jun 12, 2024
2 parents a5ea28d + 2b887d7 commit 109d5c4
Show file tree
Hide file tree
Showing 80 changed files with 1,513 additions and 1,304 deletions.
12 changes: 6 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

* @colin-axner @AdityaSripal @crodriguezvega @charleenfei @damiannolan @chatton @DimitrisJim
* @colin-axner @AdityaSripal @crodriguezvega @damiannolan @chatton @DimitrisJim @gjermundgaraba

# Our appreciation and gratitude to past code owners: @fedekunze @seantking @tmsdkeys
# Our appreciation and gratitude to past code owners: @fedekunze @seantking @tmsdkeys @charleenfei

# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
Expand All @@ -25,7 +25,7 @@

# CODEOWNERS for 08-wasm light client module

/modules/light-clients/08-wasm/ @colin-axner @AdityaSripal @damiannolan @charleenfei @chatton @DimitrisJim @srdtrk @crodriguezvega
/modules/light-clients/08-wasm/ @colin-axner @AdityaSripal @damiannolan @chatton @DimitrisJim @srdtrk @crodriguezvega

# CODEOWNERS for ICS 20

Expand All @@ -39,14 +39,14 @@

# CODEOWNERS for fee module

/modules/apps/29-fee/ @AdityaSripal @charleenfei @colin-axner @damiannolan @chatton
/proto/ibc/applications/fee/ @AdityaSripal @charleenfei @colin-axner @damiannolan @chatton
/modules/apps/29-fee/ @AdityaSripal @colin-axner @damiannolan @chatton
/proto/ibc/applications/fee/ @AdityaSripal @colin-axner @damiannolan @chatton

# CODEOWNERS for callbacks middleware

/modules/apps/callbacks/ @colin-axner @AdityaSripal @damiannolan @srdtrk @chatton

# CODEOWNERS for docs

/docs/ @colin-axner @AdityaSripal @crodriguezvega @charleenfei @damiannolan @chatton @DimitrisJim @srdtrk
/docs/ @colin-axner @AdityaSripal @crodriguezvega @damiannolan @chatton @DimitrisJim @srdtrk

6 changes: 6 additions & 0 deletions .github/workflows/callbacks.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Callbacks Module
# This workflow runs when a PR is opened that targets code that is part of the callbacks module.
on:
merge_group:
pull_request:
push:
branches:
- main

permissions:
contents: read
pull-requests: read

jobs:
lint:
Expand All @@ -16,9 +19,12 @@ jobs:
with:
go-version: '1.22'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/[email protected]
with:
version: v1.57.2
only-new-issues: true
args: --timeout 5m
working-directory: modules/apps/callbacks

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/capability.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Capability Module
# This workflow runs when a PR is opened that targets code that is part of the capability module.
on:
merge_group:
pull_request:
paths:
- '.github/workflows/capability.yml'
Expand Down Expand Up @@ -47,4 +48,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
projectBaseDir: modules/capability/
projectBaseDir: modules/capability/
1 change: 1 addition & 0 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: Check docs build
# This workflow runs when a PR is labeled with `docs`
# This will check if the docs build successfully by running `npm run build`
on:
merge_group:
pull_request:
branches:
- main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
images: ${{ env.REGISTRY }}/cosmos/${{ env.IMAGE_NAME }}

- name: Build Docker image
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
Expand All @@ -46,7 +46,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Docker image
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25
with:
context: .
push: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-compatibility-workflow-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: 'e2e/go.sum'
- name: Run e2e Test
run: |
cd e2e
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: 'e2e/go.sum'
- name: Run e2e Test
run: |
cd e2e
Expand Down Expand Up @@ -104,6 +105,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: 'e2e/go.sum'
- name: Run e2e Test
run: |
cd e2e
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:

- name: Build and push Docker image
if: ${{ inputs.build-and-push-docker-image }}
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25
with:
context: .
push: true
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:

- name: Build and push Docker image
if: ${{ inputs.build-and-push-docker-image-wasm }}
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25
with:
context: .
push: true
Expand Down Expand Up @@ -239,6 +239,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: 'e2e/go.sum'
- name: Run e2e Test
id: e2e_test
run: |
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/e2emodule.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
name: E2E Unit tests/Lint.
# This workflow runs when a PR is opened that targets code that is part of the e2e module.
on:
merge_group:
pull_request:
paths:
- '.github/workflows/e2emodule.yml'
- 'e2e/**'

permissions:
contents: read
pull-requests: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: 'e2e/go.sum'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/[email protected]
with:
version: v1.57.2
only-new-issues: true
args: --timeout 5m
working-directory: e2e/

Expand All @@ -27,6 +36,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: 'e2e/go.sum'
- name: Go Test
run: |
cd e2e
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/golangci-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
pull-requests: read

jobs:
golangci:
Expand All @@ -24,8 +24,11 @@ jobs:
with:
go-version: '1.22'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.57.2
only-new-issues: true
args: --timeout 10m
6 changes: 5 additions & 1 deletion .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
pull-requests: read

jobs:
golangci:
name: lint
Expand All @@ -19,8 +20,11 @@ jobs:
with:
go-version: '1.22'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.57.2
only-new-issues: true
args: --timeout 10m
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
images: ${{ env.REGISTRY }}/cosmos/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25
with:
context: .
push: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Tests / Code Coverage
# Tests / Code Coverage workflow runs unit tests and uploads a code coverage report
# This workflow is run on pushes to main & every Pull Requests where a .go, .mod, .sum have been changed
on:
merge_group:
pull_request:
push:
branches:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/wasm-client.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Wasm Light-Client
# This workflow runs when a PR is opened that targets code that is part of the wasm light-client.
on:
merge_group:
pull_request:
push:
branches:
- main
permissions:
contents: read
pull-requests: read

jobs:
lint:
Expand All @@ -16,9 +18,12 @@ jobs:
with:
go-version: '1.22'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/[email protected]
with:
version: v1.57.2
only-new-issues: true
args: --timeout 10m
working-directory: modules/light-clients/08-wasm

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ Ref: https://keepachangelog.com/en/1.0.0/

### Bug Fixes

* (apps/27-interchain-accounts) [\#6377](https://github.com/cosmos/ibc-go/pull/6377) Generate ICA simtest proposals only for provided keepers.

## [v8.3.0](https://github.com/cosmos/ibc-go/releases/tag/v8.3.0) - 2024-05-16

### Dependencies
Expand Down
24 changes: 15 additions & 9 deletions docs/docs/01-ibc/10-roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,33 @@ slug: /ibc/roadmap

# Roadmap ibc-go

*Latest update: April 05st, 2024*
*Latest update: June 7th, 2024*

This document endeavours to inform the wider IBC community about plans and priorities for work on ibc-go by the team at Interchain GmbH. It is intended to broadly inform all users of ibc-go, including developers and operators of IBC, relayer, chain and wallet applications.

This roadmap should be read as a high-level guide, rather than a commitment to schedules and deliverables. The degree of specificity is inversely proportional to the timeline. We will update this document periodically to reflect the status and plans. For the latest expected release timelines, please check [here](https://github.com/cosmos/ibc-go/wiki/Release-timeline).

## v8.3.0

### Conditional clients

Conditional clients are light clients which are dependent on another client in order to verify or update state. Conditional clients are essential for integration with modular blockchains which break up consensus and state management, such as rollups. Currently, light clients receive a single provable store they maintain. There is an unidirectional communication channel with 02-client: the 02-client module will call into the light client, without allowing for the light client to call into the 02-client module. But modular blockchains break up a logical blockchain into many constituent parts, so in order to accurately represent these chains and also to account for various types of shared security primitives that are coming up, we need to introduce dependencies between clients. In the case of optimistic rollups, for example, in order to prove execution (allowing for fraud proofs), you must prove data availability and sequencing. A potential solution to this problem is that a light client may optionally specify a list of dependencies and the 02-client module would lookup read-only provable stores for each dependency and provide this to the conditional client to perform verification. Please see [this issue](https://github.com/cosmos/ibc-go/issues/5112) for more details.

## v9.0.0

### ICS20 v2

The transfer application will be updated to add support for [transferring multiple tokens in the same packet](https://github.com/cosmos/ibc/pull/1020) and support for [atomically route tokens series of paths with a single packet](https://github.com/cosmos/ibc/pull/1090)
The transfer application will be updated to add support for [transferring multiple tokens in the same packet](https://github.com/cosmos/ibc/pull/1020) and support for [atomically route tokens series of paths with a single packet](https://github.com/cosmos/ibc/pull/1090).

## v10.0.0

### Multihop channels
### ICA v2

This new version of ICS27 will address many of [the pain points with the current design](https://github.com/cosmos/ibc-go/pull/6281), including multiplexing all communication between controller and host through a single channel (instead of each interchain account on the host being associated to a different channel, as it is now).

### Multipacket atomicity

We will refactor the 05-port router to enable atomic sending of multiple packets belonging to different applications.

---

And potentially later on...

#### Multihop channels

Multihop channels specify a way to route messages across a path of IBC enabled blockchains utilizing multiple pre-existing IBC connections. The current IBC protocol defines messaging in a point-to-point paradigm which allows message passing between two directly connected IBC chains, but as more IBC enabled chains come into existence there becomes a need to relay IBC packets across chains because IBC connections may not exist between the two chains wishing to exchange messages. IBC connections may not exist for a variety of reasons which could include economic inviability since connections require client state to be continuously exchanged between connection ends which carries a cost. Please see the [ICS 33 spec](https://github.com/cosmos/ibc/blob/main/spec/core/ics-033-multi-hop/README.md) for more information.

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/02-apps/01-transfer/05-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ slug: /apps/transfer/events

| Type | Attribute Key | Attribute Value |
|-----------------------|---------------|------------------|
| fungible_token_packet | sender | \{sender\} |
| fungible_token_packet | receiver | \{receiver\} |
| fungible_token_packet | sender | \{sender\} |
| fungible_token_packet | receiver | \{receiver\} |
| fungible_token_packet | tokens | \{jsonTokens\} |
| fungible_token_packet | memo | \{memo\} |
| fungible_token_packet | success | \{ackSuccess\} |
| fungible_token_packet | error | \{ackError\} |
| fungible_token_packet | memo | \{memo\} |
| denomination | trace_hash | \{hex_hash\} |
| denomination | denom | \{jsonDenom\} |
| message | module | transfer |
Expand Down
Loading

0 comments on commit 109d5c4

Please sign in to comment.