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

chore: merge latest main into 04-channel-upgrades branch #1788

Merged
merged 63 commits into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
1d94aad
docs: msg types for fee middleware (#1572)
charleenfei Jun 27, 2022
3b5db68
chore: adding module name to incentivized packet events (#1580)
damiannolan Jun 27, 2022
36a3382
docs: adding events to fee middleware docs (#1578)
damiannolan Jun 27, 2022
83ca736
docs: adding End Users section to ics29 docs (#1579)
seantking Jun 27, 2022
8422d0c
feat: emitting an event when handling a client upgrade proposal (#1570)
seantking Jun 27, 2022
0479198
docs: nits (#1595)
seantking Jun 27, 2022
84792ba
docs: document that version string can be empty as argument of Regist…
crodriguezvega Jun 27, 2022
41282c7
docs: add upgrade client proposal event (#1596)
crodriguezvega Jun 28, 2022
b40dbc6
Consolidate usage of NewErrorAcknowledgement (#1565)
chatton Jun 28, 2022
f283d12
docs: adding line about module accounts / invariants (#1597)
seantking Jun 28, 2022
ecf3543
follow up nits to #1565 (#1598)
crodriguezvega Jun 29, 2022
d170a41
build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#1…
dependabot[bot] Jun 29, 2022
48a6ae5
chore: bump go package version to v4 (#1564)
crodriguezvega Jun 29, 2022
7d971ec
deps: bumping go version 1.18 (#1627)
damiannolan Jul 1, 2022
ea64db7
add backport to v4.0.x and remove backports to v1 (EoL) (#1629)
crodriguezvega Jul 1, 2022
6c4a442
delete unused 04-channel version functions (#1636)
crodriguezvega Jul 1, 2022
e049649
build(deps): bump github.com/cosmos/cosmos-sdk from 0.45.5 to 0.45.6 …
dependabot[bot] Jul 4, 2022
7d18182
update mergify.yml with new release branches (#1654)
crodriguezvega Jul 5, 2022
527a11a
Script to dynamically generate list of e2e tests (E2E #1) (#1644)
chatton Jul 6, 2022
6d1fa91
Add GitHub actions for e2e tests (E2E #2) (#1646)
chatton Jul 8, 2022
7370a8b
Remove crossings hello (#1317)
vuong177 Jul 11, 2022
c449d85
docs: update roadmap (#1678)
crodriguezvega Jul 12, 2022
9aab42d
refactor: remove crossing hellos from 03-connection (#1672)
colin-axner Jul 12, 2022
ef4eaf9
(core/23-commitment/types) doc: fix typo (#1694)
renaynay Jul 12, 2022
1e6af48
remove spurious `TestABCICodeDeterminism` tests (#1695)
crodriguezvega Jul 13, 2022
da45cad
update bug report issue template (#1693)
colin-axner Jul 13, 2022
b9e35eb
fix codeowners for 02-client (#1696)
crodriguezvega Jul 13, 2022
e8dd1a8
build(deps): bump google.golang.org/grpc from 1.47.0 to 1.48.0 (#1699)
dependabot[bot] Jul 13, 2022
419c3c4
docs: update middleware documentation (#1639)
crodriguezvega Jul 14, 2022
b0b1810
Adding github action to run goimports (#1673)
chatton Jul 14, 2022
81d10d4
Add E2ETestSuite Type (E2E #3) (#1650)
chatton Jul 14, 2022
0fd5656
Separate go mod for e2e (E2E #4) (#1701)
chatton Jul 15, 2022
c96fe92
put back module name in event (#1681)
crodriguezvega Jul 15, 2022
95cd1c5
fix typo
crodriguezvega Jul 18, 2022
74ed532
Extracting e2e tests into two separate workflows (#1719)
chatton Jul 18, 2022
c7be122
add categories
crodriguezvega Jul 19, 2022
193e414
Add fee middleware test suite functions (E2E #5) (#1710)
chatton Jul 19, 2022
9776639
Build local image to run tests with make e2e-test (#1722)
chatton Jul 19, 2022
c809ce3
Remove leftover crossing hello tests in connection handshake (#1724)
AdityaSripal Jul 19, 2022
5b61a5b
chore: adding environment variable to specify go relayer image (#1727)
chatton Jul 19, 2022
d1649c0
Thomas/1584 update docs apps (#1675)
tmsdkeys Jul 19, 2022
aaccbd1
update fee mw docs, add formating, fix typos, increase readability (#…
tmsdkeys Jul 19, 2022
bdd797e
chore: remove @fedekunze from CODEOWNERS (#1733)
fedekunze Jul 20, 2022
8987888
Test for AsyncSingleSender (E2E #6) (#1682)
chatton Jul 20, 2022
cc74109
fix: running e2e-fork for dependabot PRs (#1745)
chatton Jul 20, 2022
5f5a287
Adding manual triggering of e2e via workflow dispatch (#1749)
chatton Jul 21, 2022
be5ccf3
chore: denom traces migration handler (#1680)
charleenfei Jul 21, 2022
049d336
add changelog entry for #1680
crodriguezvega Jul 21, 2022
0caf625
add issue templates for epics and releases (#1702)
crodriguezvega Jul 21, 2022
c1a727e
fix typo
crodriguezvega Jul 21, 2022
3af515d
fix typo
crodriguezvega Jul 21, 2022
c12789d
feat: allow governance to update the TrustingPeriod of the 07-tenderm…
charleenfei Jul 21, 2022
7dc9fed
E2E Test: TestMsgPayPacketFeeSingleSender (#1756)
chatton Jul 21, 2022
ebc7638
move entry to right place
crodriguezvega Jul 22, 2022
141b223
build(deps): bump docker/build-push-action from 3.0.0 to 3.1.0 (#1743)
dependabot[bot] Jul 25, 2022
492e14d
chore: Update makefile (#1770)
colin-axner Jul 25, 2022
32531e7
add version matrix (#1767)
crodriguezvega Jul 26, 2022
fb19126
add pseudocode to handle empty version string in OnChanOpenInit
crodriguezvega Jul 26, 2022
ef7a5c7
fix broken link (#1776)
crodriguezvega Jul 26, 2022
85893ee
add item to update the version matrix after a release (#1775)
crodriguezvega Jul 26, 2022
214e4a3
E2E Test: TestMsgPayPacketFeeSingleSenderTimesOut (#1751)
chatton Jul 27, 2022
547da7b
Move scripts from .github directory into cmd (#1787)
chatton Jul 27, 2022
e1b0f67
Merge branch 'main' into damian/merge-main
damiannolan Jul 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@

# CODEOWNERS for the core IBC module

/modules/core/ @colin-axner @fedekunze @AdityaSripal
/proto/ibc/core/ @colin-axner @fedekunze @AdityaSripal
/modules/core/ @colin-axner @AdityaSripal
/proto/ibc/core/ @colin-axner @AdityaSripal

## CODEOWNERS for core/02-client

/modules/core/02-client @seantking @damiannolan
/proto/ibc/core/client @seantking @damiannolan
/modules/core/02-client @colin-axner @AdityaSripal @seantking @damiannolan
/proto/ibc/core/client @colin-axner @AdityaSripal @seantking @damiannolan

# CODEOWNERS for the light-clients

/modules/light-clients/ @colin-axner @fedekunze @AdityaSripal @seantking @damiannolan
/proto/ibc/lightclients/ @colin-axner @fedekunze @AdityaSripal @seantking @damiannolan
/modules/light-clients/ @colin-axner @AdityaSripal @seantking @damiannolan
/proto/ibc/lightclients/ @colin-axner @AdityaSripal @seantking @damiannolan

# CODEOWNERS for ICS 20

/modules/apps/transfer/ @colin-axner @fedekunze @AdityaSripal
/proto/ibc/applications/transfer/ @colin-axner @fedekunze @AdityaSripal
/modules/apps/transfer/ @colin-axner @AdityaSripal
/proto/ibc/applications/transfer/ @colin-axner @AdityaSripal

# CODEOWNERS for interchain-accounts module

Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ through the appropriate channels won't receive any bounty.

<!-- Concisely describe the issue -->

## Expected Behaviour

<!-- What is the expected behaviour? -->

## Version

<!-- git commit hash or release version -->
Expand Down
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/epic-tracker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
name: Epic Tracker
about: Create an issue to track feature epic progress

---

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for opening an issue! ✰
v Before smashing the submit button please review the template.
v Word of caution: poorly thought-out proposals may be rejected
v without deliberation
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

## Requirements document

<!-- Link to requirements document -->

## IBC spec

<!-- Link to specification -->

## ADRs

<!-- Links to ADRs related to this epic -->

## Milestones

<!-- Links to alpha, beta, RC milestones -->

## Implementation issues

<!-- Links to specific issues, thematically/logically grouped -->

## QA scenarios

<!-- Lists of manual QA tests that need be performed -->

## Automated e2e tests

<!-- List of automated e2e tests that need be added to CI -->

## Pre-releases

<!-- Links to alpha, beta, RC tags/releases -->

## Checklist

<!-- Remove any items that are not applicable. -->

- [ ] Internal audit(s)
- [ ] External audit(s)
- [ ] Documentation
- [ ] Swagger
- [ ] Integration with relayers:
- [ ] Hermes
- [ ] Rly

____

#### For Admin Use

- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate contributors tagged/assigned
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/release-tracker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
name: Release tracker
about: Create an issue to track release progress

---

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for opening an issue! ✰
v Before smashing the submit button please review the template.
v Word of caution: poorly thought-out proposals may be rejected
v without deliberation
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

## Milestones

<!-- Links to alpha, beta, RC or final milestones -->

### IBC spec compatibility

<!-- Version of the IBC spec that this release is compatible with -->

### QA

#### Backwards compatibility

<!-- List of tests that need be performed with previous
versions of ibc-go to guarantee that no regression is introduced -->

- [ ] Fungible token transfers over a non-incentivised channel works with a counterparty chain running each previous major version.
- [ ] Fungible token transfers over an incentivised channel works with a counterparty chain running each previous major version that supports ICS-29 Fee Middleware.
- [ ] Interchain Accounts over a non-incentivised channel works with a counterparty chain running each previous major version that supports ICS-27 Interchain Accounts over non-incentivised channels.
- [ ] Interchain Accounts over an incentivised channel works with a counterparty chain running each previous major version that supports ICS-27 Interchain Accounts over incentivised channels.

### Migration

<!-- Link to migration document -->

## Checklist

<!-- Remove any items that are not applicable. -->

- [ ] Bump [go package version](https://github.com/cosmos/ibc-go/blob/main/go.mod#L3).
- [ ] Change all imports starting with `github.com/cosmos/ibc-go/v{x}` to `github.com/cosmos/ibc-go/v{x+1}`.
- [ ] Branch off main to create release branch in the form of `release/vx.y.z`.
- [ ] Add branch protection rules to new release branch.
- [ ] Add backport task to [`mergify.yml`](https://github.com/cosmos/ibc-go/blob/main/.github/mergify.yml)
- [ ] Upgrade ibc-go version in [ibctest](https://github.com/strangelove-ventures/ibctest).
- [ ] Check Swagger is up-to-date.

## Post-release checklist

- [ ] Update [`CHANGELOG.md`](https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md)
- [ ] Update the table of supported release lines (and End of Life dates) in [`RELEASES.md`](https://github.com/cosmos/ibc-go/blob/main/RELEASES.md).
- [ ] Update [version matrix](https://github.com/cosmos/ibc-go/blob/main/RELEASES.md#version-matrix) in `RELEASES.md`.
- [ ] Update docs site:
- [ ] Add new release branch to [`docs/versions`](https://github.com/cosmos/ibc-go/blob/main/docs/versions) file.
- [ ] Add `label` and `key` to `versions` array in [`config.js`](https://github.com/cosmos/ibc-go/blob/main/docs/.vuepress/config.js#L33).
- [ ] After changes to docs site are deployed, check [ibc.cosmos.network](https://ibc.cosmos.network) is updated.

____

#### For Admin Use

- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate contributors tagged/assigned
48 changes: 24 additions & 24 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,67 +18,67 @@ pull_request_rules:
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
- name: backport patches to v1.3.x branch
- name: backport patches to v2.1.x branch
conditions:
- base=main
- label=backport-to-v1.3.x
- label=backport-to-v2.1.x
actions:
backport:
branches:
- release/v1.3.x
- name: backport patches to v1.4.x branch
- release/v2.1.x
- name: backport patches to v2.2.x branch
conditions:
- base=main
- label=backport-to-v1.4.x
- label=backport-to-v2.2.x
actions:
backport:
branches:
- release/v1.4.x
- name: backport patches to v1.5.x branch
- release/v2.2.x
- name: backport patches to v2.3.x branch
conditions:
- base=main
- label=backport-to-v1.5.x
- label=backport-to-v2.3.x
actions:
backport:
branches:
- release/v1.5.x
- name: backport patches to v2.1.x branch
- release/v2.3.x
- name: backport patches to v2.4.x branch
conditions:
- base=main
- label=backport-to-v2.1.x
- label=backport-to-v2.4.x
actions:
backport:
branches:
- release/v2.1.x
- name: backport patches to v2.2.x branch
- release/v2.4.x
- name: backport patches to v3.0.x branch
conditions:
- base=main
- label=backport-to-v2.2.x
- label=backport-to-v3.0.x
actions:
backport:
branches:
- release/v2.2.x
- name: backport patches to v2.3.x branch
- release/v3.0.x
- name: backport patches to v3.1.x branch
conditions:
- base=main
- label=backport-to-v2.3.x
- label=backport-to-v3.1.x
actions:
backport:
branches:
- release/v2.3.x
- name: backport patches to v3.0.x branch
- release/v3.1.x
- name: backport patches to v3.2.x branch
conditions:
- base=main
- label=backport-to-v3.0.x
- label=backport-to-v3.2.x
actions:
backport:
branches:
- release/v3.0.x
- name: backport patches to v3.1.x branch
- release/v3.2.x
- name: backport patches to v4.0.x branch
conditions:
- base=main
- label=backport-to-v3.1.x
- label=backport-to-v4.0.x
actions:
backport:
branches:
- release/v3.1.x
- release/v4.0.x
20 changes: 20 additions & 0 deletions .github/scripts/go-imports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
formatted_files="$(docker run -v "$(pwd)":/ibc-go --rm -w "/ibc-go" --entrypoint="" cytopia/goimports goimports -l -local 'github.com/cosmos/ibc-go' /ibc-go)"

exit_code=0
for f in $formatted_files
do
# we don't care about formatting in pb.go files.
if [ "${f: -5}" == "pb.go" ]; then
continue
fi
exit_code=1
echo "formatted file ${f}..."
done

if [ "${exit_code}" == 1 ]; then
echo "not all files were correctly formated, run the following:"
echo "make goimports"
fi

exit $exit_code
18 changes: 17 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,25 @@ jobs:
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
if: env.GIT_DIFF
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)

- run: make build
- name: Autobuild
uses: github/codeql-action/autobuild@v2
if: env.GIT_DIFF

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/e2e-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Tests / E2E Fork
on:
workflow_dispatch:
pull_request:
branches:
- main
paths-ignore:
- docs/**

jobs:
# dynamically build a matrix of test/test suite pairs to run
build-test-matrix:
if: ${{ 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@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- id: set-matrix
run: echo "::set-output name=matrix::$(go run cmd/build_test_matrix/main.go)"

e2e:
env:
SIMD_TAG: latest
SIMD_IMAGE: ibc-go-simd-e2e
if: ${{ github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
needs:
- build-test-matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.build-test-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- name: Docker Build
run: docker build . -t "${SIMD_IMAGE}:${SIMD_TAG}"
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Run e2e Test
env:
# see images here https://github.com/cosmos/relayer/pkgs/container/relayer/versions
RLY_TAG: "v2.0.0-rc2"
run: |
cd e2e
make e2e-test suite=${{ matrix.suite }} test=${{ matrix.test }}
Loading