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: update to 0.47 #2672

Merged
merged 64 commits into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
4ac4c4e
fix some tests and codegen
tac0turtle Nov 3, 2022
a7c259c
remove third party
tac0turtle Nov 3, 2022
a09e632
`make proto-gen`
julienrbrt Nov 3, 2022
88a9127
more changes
tac0turtle Nov 3, 2022
be4e24a
build
tac0turtle Nov 3, 2022
361893d
remove pulsar and use untagged version 0.47
julienrbrt Nov 3, 2022
884abbf
update ibctest
julienrbrt Nov 3, 2022
6eead9b
updates
julienrbrt Nov 4, 2022
fe2f2c2
bump go + cleanup
julienrbrt Nov 4, 2022
b24bce6
Merge branch 'main' into marko/0.47-test
Dec 5, 2022
3ca60cf
update imports
Dec 6, 2022
6282362
chore: update ics23 proto to cosmos/ics23 buf tag
colin-axner Dec 7, 2022
a5aa59a
chore: update imports, bump deps to cosmos/ics23 latest commit, sdk v…
colin-axner Dec 7, 2022
6ac95e1
fix: use our custom SignAndDeliver function
colin-axner Dec 7, 2022
1293374
Merge branch 'main' of github.com:cosmos/ibc-go into marko/0.47-test
colin-axner Dec 7, 2022
bda2e77
chore: remove unnecessary function
colin-axner Dec 7, 2022
e668b89
Merge branch 'main' of github.com:cosmos/ibc-go into marko/0.47-test
colin-axner Dec 7, 2022
e86ca8b
fix: migration tests
colin-axner Dec 7, 2022
778af45
Merge branch 'main' into marko/0.47-test
crodriguezvega Dec 8, 2022
aa56946
fix for interchain accounts tests
crodriguezvega Dec 12, 2022
4f3435e
setting the legacy router at the right location
crodriguezvega Dec 12, 2022
48b73c0
fix rosetta in root.go (#2914)
faddat Dec 12, 2022
3c9878c
chore: apply fix from Carlos, remove mock from blocked address list
colin-axner Dec 12, 2022
b0b636f
Merge branch 'main' into marko/0.47-test
colin-axner Dec 12, 2022
3d2135f
chore: bump e2e go.mod
colin-axner Dec 12, 2022
a5badea
chore: remove ignore on ics23 proofs.proto
colin-axner Dec 12, 2022
334d0eb
chore: uncomment test
colin-axner Dec 12, 2022
52f5587
pinning buf deps
damiannolan Dec 12, 2022
9e96ae1
use configuration value instead of constant
crodriguezvega Dec 12, 2022
0a5d8b7
Merge branch 'marko/0.47-test' of https://github.com/cosmos/ibc-go in…
crodriguezvega Dec 12, 2022
a40a22d
revert sdk buf dependency and readd comment
damiannolan Dec 12, 2022
645fbe2
Merge branch 'main' of github.com:cosmos/ibc-go into marko/0.47-test
colin-axner Dec 12, 2022
241db2c
Merge branch 'main' into marko/0.47-test
colin-axner Dec 12, 2022
65d5b06
Merge branch 'main' of github.com:cosmos/ibc-go into marko/0.47-test
colin-axner Dec 12, 2022
b9a7cbc
Merge branch 'marko/0.47-test' of github.com:cosmos/ibc-go into marko…
colin-axner Dec 12, 2022
30963e4
update genutil app module basic
julienrbrt Dec 12, 2022
ded2d7a
Merge branch 'main' into marko/0.47-test
charleenfei Dec 12, 2022
66d363e
Merge branch 'main' into marko/0.47-test
crodriguezvega Dec 12, 2022
d230ffe
remove unnecessary conversion
crodriguezvega Dec 12, 2022
6a9f0d7
Merge branch 'marko/0.47-test' of https://github.com/cosmos/ibc-go in…
crodriguezvega Dec 12, 2022
f1410da
use ibctest 0.47 branch
julienrbrt Dec 13, 2022
b4aa89b
Dynamically determine gov genesis state (#2931)
chatton Dec 14, 2022
3226aeb
Merge branch 'main' into marko/0.47-test
damiannolan Dec 15, 2022
39a9be4
use latest sdk with pointer for upgrade module in app (#2955)
faddat Dec 19, 2022
7a47bb8
update to latest sdk
damiannolan Dec 20, 2022
2f3cacf
Merge branch 'main' into marko/0.47-test
damiannolan Dec 20, 2022
6e26617
go mod tidy
damiannolan Dec 20, 2022
476e813
updating to go 1.19 in dockerfile
damiannolan Dec 20, 2022
73b7d81
go mod tidy e2e
damiannolan Dec 20, 2022
69ad106
readding module name event emissions across core and apps
damiannolan Dec 20, 2022
10d1737
Merge branch 'main' into marko/0.47-test
damiannolan Dec 20, 2022
1261891
Merge branch 'main' into marko/0.47-test
tac0turtle Jan 12, 2023
0b7b448
update
tac0turtle Jan 12, 2023
f0c2c0f
chore: using newest relayer tag
chatton Jan 12, 2023
f778f3d
chore: updating e2e go mod
chatton Jan 12, 2023
12ec55b
chore: updating go sum
chatton Jan 12, 2023
e0fb890
chore: fixing NewMsgSubmitProposal signature
chatton Jan 12, 2023
fb2c8bf
chore: bump to latest version of 0.47 ibctest PR
chatton Jan 12, 2023
ef2d585
chore: updating to latest ibctest changes
chatton Jan 13, 2023
ddceea4
chore: tests passing with new relayer image
chatton Jan 13, 2023
2dbecfc
chore: merge main
chatton Jan 13, 2023
95c70a6
chore: register all types in the e2e codec
chatton Jan 13, 2023
54e5782
chore: adding additional types to codec
chatton Jan 13, 2023
7c6453c
chore: ensure proposal messages pass validate basic
chatton Jan 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/e2e-compatibility-workflow-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ on:
required: true
type: string
test-suite:
description: 'Test suite to run'
description: "Test suite to run"
required: true
type: string


jobs:
load-test-matrix:
outputs:
Expand Down Expand Up @@ -43,7 +42,7 @@ jobs:
repository: cosmos/ibc-go
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Run e2e Test
run: |
cd e2e
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- id: set-matrix
run: echo "matrix=$(go run cmd/build_test_matrix/main.go)" >> $GITHUB_OUTPUT
env:
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Run e2e Test
run: |
cd e2e
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,38 @@ on:
workflow_call:
inputs:
test-entry-point:
description: 'Test entry point'
description: "Test entry point"
required: false
type: string
default: "" # empty string means run all tests
test-exclusions:
description: 'Comma separated list of tests to skip'
description: "Comma separated list of tests to skip"
required: false
type: string
default: "" # empty string means don't skip any test.
chain-image:
description: 'The image to use for chains'
description: "The image to use for chains"
required: true
type: string
default: "ghcr.io/cosmos/ibc-go-simd"
chain-a-tag:
description: 'The tag to use for chain A'
description: "The tag to use for chain A"
required: true
type: string
default: main
chain-b-tag:
default: v4.0.0
description: 'The tag to use for chain B'
description: "The tag to use for chain B"
required: true
type: string
chain-binary:
default: "simd"
description: 'The chain binary'
description: "The chain binary"
required: false
type: string
relayer-tag:
description: 'The tag to use for the relayer'
required: false
description: "The tag to use for the relayer"
required: false
default: "v2.1.2"
type: string
build-and-push-docker-image:
Expand All @@ -42,7 +42,6 @@ on:
type: boolean
default: false


env:
REGISTRY: ghcr.io
IMAGE_NAME: ibc-go-simd
Expand Down Expand Up @@ -100,7 +99,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- id: set-matrix
run: echo "matrix=$(go run cmd/build_test_matrix/main.go)" >> $GITHUB_OUTPUT
env:
Expand All @@ -125,7 +124,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Run e2e Test
run: |
cd e2e
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Run e2e upgrade test
run: |
cd e2e
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.3.1
with:
version: latest
args: --timeout 5m
args: --timeout 5m
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Display go version
run: go version
- name: install tparse
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
Expand Down
46 changes: 23 additions & 23 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18 as builder
FROM golang:1.19 as builder

ENV GOPATH=""
ENV GOMODULE="on"
Expand Down
33 changes: 13 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ SIMAPP = ./testing/simapp
MOCKS_DIR = $(CURDIR)/tests/mocks
HTTPS_GIT := https://github.com/cosmos/ibc-go.git
DOCKER := $(shell which docker)
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.9.0
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)

export GO111MODULE = on
Expand Down Expand Up @@ -307,37 +306,31 @@ format:
### Protobuf ###
###############################################################################

protoVer=v0.7
protoImageName=tendermintdev/sdk-proto-gen:$(protoVer)
containerProtoGen=$(PROJECT_NAME)-proto-gen-$(protoVer)
containerProtoGenSwagger=$(PROJECT_NAME)-proto-gen-swagger-$(protoVer)
containerProtoFmt=$(PROJECT_NAME)-proto-fmt-$(protoVer)
protoVer=0.11.2
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)

proto-all: proto-format proto-lint proto-gen

proto-format:
@echo "Formatting Protobuf files"
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoFmt}$$"; then docker start -a $(containerProtoFmt); else docker run --name $(containerProtoFmt) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \
find ./ -name "*.proto" -exec clang-format -i {} \; ; fi

proto-lint:
@$(DOCKER_BUF) lint --error-format=json

proto-gen:
@echo "Generating Protobuf files"
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then docker start -a $(containerProtoGen); else docker run --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \
sh ./scripts/protocgen.sh; fi
@$(protoImage) sh ./scripts/protocgen.sh

proto-swagger-gen:
@echo "Generating Protobuf Swagger"
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGenSwagger}$$"; then docker start -a $(containerProtoGenSwagger); else docker run --name $(containerProtoGenSwagger) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \
sh ./scripts/protoc-swagger-gen.sh; fi
@$(protoImage) sh ./scripts/protoc-swagger-gen.sh

proto-format:
@$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \;

proto-lint:
@$(protoImage) buf lint --error-format=json

proto-check-breaking:
@$(DOCKER_BUF) breaking --against $(HTTPS_GIT)#branch=main
@$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main

proto-update-deps:
@echo "Updating Protobuf dependencies"
@cd proto && buf mod update
$(DOCKER) run --rm -v $(CURDIR)/proto:/workspace --workdir /workspace $(protoImageName) buf mod update

.PHONY: proto-all proto-gen proto-gen-any proto-swagger-gen proto-format proto-lint proto-check-breaking proto-update-deps
2 changes: 1 addition & 1 deletion buf.work.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# previous "buf.yaml" configuration.
version: v1
directories:
- proto
- proto
2 changes: 1 addition & 1 deletion docs/ibc/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Proofs are passed from core IBC to light-clients as bytes. It is up to light cli

- The paths that all IBC implementations must use for committing IBC messages is defined in
[ICS-24 Host State Machine Requirements](https://github.com/cosmos/ics/tree/master/spec/core/ics-024-host-requirements).
- The proof format that all implementations must be able to produce and verify is defined in [ICS-23 Proofs](https://github.com/confio/ics23) implementation.
- The proof format that all implementations must be able to produce and verify is defined in [ICS-23 Proofs](https://github.com/cosmos/ics23) implementation.

### [Capabilities](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/core/10-ocap.md)

Expand Down
Loading