Skip to content

Commit

Permalink
feat: bump cosmos-sdk to v0.47.1 (ignite#3455)
Browse files Browse the repository at this point in the history
* feat: upgrade sdk and support app wiring

* update tendermint

* fix cli dependencies

* fix app.go check

* use cometbft-db

* fix wrong replaces in the go.mod

* run go.mod in ignite/templates/app/files/go.mod.plush

* remove indirect require from ignite/templates/app/files/go.mod.plush

* rollback some test changes

* rollback some test changes

* add ics proof file

* fix unused import for simulation file

* fixx app.go keepers

* fix app.go

* fix build issues

* fix crisis and gov keepers

* add changelog

* fix duplicated genutil app module

* fix lint issues

* fix app.go tests

* fix plugin version and lint

* fix invalid module name in the `app.go`

* rollback wrong import delete

* replace the deprecated BroadcastBlockto BroadcastSync

* fix unused import

* increase the integration tests timeout

* bump cosmos sdk and ibc version to the stable release

* fix the chain id for the ibc chains

* fix chain unit tests

* fix query tests

* fix faucet data racing

* fix test sync mode and disable network test since we need to update the sdk

* fix singleston tests

* fix genesis state for ibc modules

* add IsIBC context var

* improve test readbility

* add missing import

* fix the config integration test

* fix faucet test

* split app integration tests

* skip cosmogen tests

* fix `more than one error-wrapping directive %w` error

* remove unused rand

* update CI plugin versions

* fix lint issue for the new golangcilint version

* fix typos

* roolback rand import for module_simulation.go file

* fix broadcastmode for default client.tom

* fix tx integration tests

* rollback some testdata changes

* change new scaffold method signature

* organize `go.mod`

* update cosmossdk to v0.47.1

* fix unit tests for appwiring

* fix unit tests

* fix not found tx for chain unit tests

* add simulation tests

* add new simulation msg operations

* clean simulation template

* fix simulation tests with empty handler

* fix export function

* fix doctor import check

* fix lint

---------

Co-authored-by: İlker Göktuğ ÖZTÜRK <[email protected]>
  • Loading branch information
Pantani and ilgooz authored May 3, 2023
1 parent 7fc7b68 commit d9db57f
Show file tree
Hide file tree
Showing 152 changed files with 2,718 additions and 2,418 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.4.0

- name: Cache node_modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen-docs-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/md-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: technote-space/[email protected].1
- uses: actions/checkout@v3.4.0
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/*.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19

Expand All @@ -26,5 +26,5 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
workdir: ${{ env.working-directory }}
version: 1.13.0
version: 1.13.0
args: release --rm-dist
10 changes: 5 additions & 5 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3.4.0
- name: Finding files and store to output
id: set-matrix
run: echo "matrix=$({ cd integration && find . -type d ! -name testdata -maxdepth 1 -print; } | tail -n +2 | cut -c 3- | jq -R . | jq -cs .)" >> $GITHUB_OUTPUT
Expand All @@ -29,8 +29,8 @@ jobs:
matrix:
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}}
steps:
- uses: actions/checkout@v3.1.0
- uses: technote-space/[email protected].1
- uses: actions/checkout@v3.4.0
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/*.go
Expand All @@ -47,13 +47,13 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: 1.19
- name: Run Integration Tests
if: env.GIT_DIFF
run: GOSUMDB=off go test -v -timeout 60m ./integration/${{ matrix.test-path }}
run: GOSUMDB=off go test -v -timeout 80m ./integration/${{ matrix.test-path }}

status:
runs-on: ubuntu-latest
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/[email protected]
- uses: technote-space/[email protected]
- uses: actions/[email protected]

- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
go.mod
go.sum
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19

- uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.50.1
version: v1.52.1
args: --timeout 10m
github-token: ${{ secrets.github_token }}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: technote-space/[email protected].1
- uses: actions/checkout@v3.4.0
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/*.go
go.mod
go.sum
**/testdata/**
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: 1.19
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
- [#3244](https://github.com/ignite/cli/pull/3244) Update `actions.yml` for resolving deprecation message
- [#3337](https://github.com/ignite/cli/pull/3337) Remove `pkg/openapiconsole` import from scaffold template.
- [#3337](https://github.com/ignite/cli/pull/3337) Register`nodeservice` gRPC in `app.go` template.
- [#3455](https://github.com/ignite/cli/pull/3455) Bump `cosmos-sdk` to `v0.47.1`
- [#3434](https://github.com/ignite/cli/pull/3434) Detect app wiring implementation.
- [#3445](https://github.com/ignite/cli/pull/3445) refactor: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml`

Expand Down
Loading

0 comments on commit d9db57f

Please sign in to comment.