Skip to content

Commit

Permalink
Merge branch 'main' into damian/core-runtime-env
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan committed Dec 18, 2024
2 parents 9620934 + 83fdb7f commit 17170df
Show file tree
Hide file tree
Showing 249 changed files with 5,392 additions and 4,862 deletions.
2 changes: 2 additions & 0 deletions .github/.codespellignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
clientA
connectionA
1 change: 0 additions & 1 deletion .github/.misspell-fixer.ignore

This file was deleted.

32 changes: 16 additions & 16 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

* @AdityaSripal @damiannolan @chatton @DimitrisJim @gjermundgaraba @bznein
* @AdityaSripal @damiannolan @DimitrisJim @gjermundgaraba

# Our appreciation and gratitude to past code owners: @fedekunze @seantking @tmsdkeys @charleenfei @crodriguezvega @colin-axner
# Our appreciation and gratitude to past code owners: @fedekunze @seantking @tmsdkeys @charleenfei @crodriguezvega @colin-axner @chatton @bznein

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

# CODEOWNERS for the CODEOWNER file

/.github/CODEOWNERS @AdityaSripal @damiannolan @chatton
/.github/CODEOWNERS @AdityaSripal @damiannolan

# CODEOWNERS for the core IBC module

/modules/core/ @AdityaSripal @damiannolan @chatton
/proto/ibc/core/ @AdityaSripal @damiannolan @chatton
/modules/core/ @AdityaSripal @damiannolan
/proto/ibc/core/ @AdityaSripal @damiannolan

# CODEOWNERS for the light-clients

/modules/light-clients/ @AdityaSripal @damiannolan @chatton
/proto/ibc/lightclients/ @AdityaSripal @damiannolan @chatton
/modules/light-clients/ @AdityaSripal @damiannolan
/proto/ibc/lightclients/ @AdityaSripal @damiannolan

# CODEOWNERS for 08-wasm light client module

/modules/light-clients/08-wasm/ @AdityaSripal @damiannolan @chatton @DimitrisJim @srdtrk
/modules/light-clients/08-wasm/ @AdityaSripal @damiannolan @DimitrisJim @srdtrk

# CODEOWNERS for ICS 20

/modules/apps/transfer/ @AdityaSripal @damiannolan @chatton @DimitrisJim
/proto/ibc/applications/transfer/ @AdityaSripal @damiannolan @chatton @DimitrisJim
/modules/apps/transfer/ @AdityaSripal @damiannolan @DimitrisJim
/proto/ibc/applications/transfer/ @AdityaSripal @damiannolan @DimitrisJim

# CODEOWNERS for interchain-accounts module

/modules/apps/27-interchain-accounts/ @AdityaSripal @damiannolan @chatton
/proto/ibc/applications/interchain_accounts/ @AdityaSripal @damiannolan @chatton
/modules/apps/27-interchain-accounts/ @AdityaSripal @damiannolan
/proto/ibc/applications/interchain_accounts/ @AdityaSripal @damiannolan

# CODEOWNERS for fee module

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

# CODEOWNERS for callbacks middleware

/modules/apps/callbacks/ @AdityaSripal @damiannolan @srdtrk @chatton
/modules/apps/callbacks/ @AdityaSripal @damiannolan @srdtrk

# CODEOWNERS for docs

/docs/ @AdityaSripal @damiannolan @chatton @DimitrisJim @srdtrk
/docs/ @AdityaSripal @damiannolan @DimitrisJim @srdtrk

18 changes: 9 additions & 9 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
queue_rules:
- name: default
queue_conditions:
- "#approved-reviews-by>=1"
- base=main
- label=automerge
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
merge_conditions:
- "#approved-reviews-by>=1"
- base=main
- label=automerge
merge_method: squash

pull_request_rules:
- name: automerge to main with label automerge and branch protection passing
conditions:
- "#approved-reviews-by>=1"
- base=main
- label=automerge
actions:
queue:
name: default
merge_method: squash
- name: backport patches to v0.1.x callbacks ibc-go v7.3.x branch
conditions:
- base=main
Expand Down Expand Up @@ -130,3 +126,7 @@ pull_request_rules:
backport:
branches:
- release/v9.0.x
- name: automerge to main with label automerge and branch protection passing
conditions: []
actions:
queue:
3 changes: 1 addition & 2 deletions .github/workflows/callbacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: false
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down Expand Up @@ -63,7 +62,7 @@ jobs:
steps:
- name: sonarcloud
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }}
uses: SonarSource/sonarcloud-github-action@v3.1.0
uses: SonarSource/sonarcloud-github-action@v4.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: make build-docs

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.9
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
branch: gh-pages
folder: docs/build
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@4f58ea79222b3b9dc2c8bbdd6debcef730109a75
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355
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@4f58ea79222b3b9dc2c8bbdd6debcef730109a75
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355
with:
context: .
push: true
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/e2e-compatibility-workflow-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ jobs:
# Note: this is significant as the standard behaviour when running e2es on PRs
# is that there is a set of env vars that are the same for each run. e.g. the same docker image is used
# for every test. With compatibility tests, each test may be running different combinations of images.
CHAIN_IMAGE: 'ghcr.io/cosmos/ibc-go-simd'
CHAIN_A_TAG: '${{ matrix.chain-a }}'
CHAIN_B_TAG: '${{ matrix.chain-b }}'
CHAIN_BINARY: 'simd'
RELAYER_ID: '${{ matrix.relayer-type }}'
- name: Upload Diagnostics
uses: actions/upload-artifact@v4
Expand Down
60 changes: 1 addition & 59 deletions .github/workflows/e2e-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,13 @@ jobs:
output=$(go run cmd/build_test_matrix/main.go)
echo "matrix=$output" >> $GITHUB_OUTPUT
env:
TEST_EXCLUSIONS: 'TestUpgradeTestSuite,TestGrandpaTestSuite,TestIBCWasmUpgradeTestSuite'
TEST_EXCLUSIONS: 'TestUpgradeTestSuite,TestIBCWasmUpgradeTestSuite'

# dynamically build a matrix of test/test suite pairs to run
build-test-matrix-wasm:
# run this job on forks and copies of ibc-go, for example: a public fork or a private copy of ibc-go.
if: ${{ github.repository != 'cosmos/ibc-go' || github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- id: set-matrix
run: |
output=$(go run cmd/build_test_matrix/main.go)
echo "matrix=$output" >> $GITHUB_OUTPUT
env:
TEST_ENTRYPOINT: 'TestGrandpaTestSuite'

# e2e-fork runs the e2e tests directly by using a matrix strategy.
e2e-fork:
env:
CHAIN_A_TAG: latest
CHAIN_B_TAG: latest
CHAIN_IMAGE: ibc-go-simd
RELAYER_ID: "hermes" # by default use hermes for fork e2es.
FORK: "true"
# run this job on forks and copies of ibc-go, for example: a public fork or a private copy of ibc-go.
if: ${{ github.repository != 'cosmos/ibc-go' || github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
Expand All @@ -82,40 +61,3 @@ jobs:
run: |
cd e2e
make e2e-test test=${{ matrix.test }}
# this workflow runs only the wasm tests.
# e2e-fork-wasm:
# env:
# CHAIN_A_TAG: latest
# CHAIN_B_TAG: latest
# CHAIN_IMAGE: ibc-go-wasm-simd
# RELAYER_ID: "hyperspace" # by default use hyperspace relayer for fork wasm tests.
# FORK: "true"
# run this job on forks and copies of ibc-go, for example: a public fork or a private copy of ibc-go.
# if: ${{ github.repository != 'cosmos/ibc-go' || github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
# needs: build-test-matrix-wasm
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix: ${{ fromJSON(needs.build-test-matrix-wasm.outputs.matrix) }}
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# - name: Install dependencies
# run: make python-install-deps
# - name: Docker Build Wasm
# run: |
# version="$(scripts/get-libwasm-version.py --get-version)"
# checksum="$(scripts/get-libwasm-version.py --get-checksum)"
# docker build . -t "${CHAIN_IMAGE}:${CHAIN_A_TAG}" -f modules/light-clients/08-wasm/Dockerfile --build-arg LIBWASM_VERSION=${version} --build-arg LIBWASM_CHECKSUM=${checksum}
# - name: Setup Go
# uses: actions/setup-go@v5
# with:
# go-version: '1.23'
# cache-dependency-path: 'e2e/go.sum'
# - name: Run e2e Test
# run: |
# cd e2e
# make e2e-test test=${{ matrix.test }}
38 changes: 0 additions & 38 deletions .github/workflows/e2e-manual-wasm-simd.yaml

This file was deleted.

Loading

0 comments on commit 17170df

Please sign in to comment.