Skip to content

Commit

Permalink
Merge pull request #611 from dudong2/dudong2/feat/cosmos-sdk@v0.45.6
Browse files Browse the repository at this point in the history
feat: bump up cosmos@v0.45.6
  • Loading branch information
dudong2 authored Aug 2, 2022
2 parents 3d85b26 + def729b commit 9ba6ea3
Show file tree
Hide file tree
Showing 233 changed files with 15,076 additions and 66,556 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/setup-go@v2.1.4
with:
go-version: 1.18
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0
with:
Expand All @@ -25,7 +28,7 @@ jobs:
- uses: golangci/golangci-lint-action@master
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.39
version: v1.47.2
args: --timeout 10m
github-token: ${{ secrets.GITHUB_TOKEN }}
if: env.GIT_DIFF
44 changes: 0 additions & 44 deletions .github/workflows/proto-docker.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- uses: ./.github/actions/generate-swagger
- name: diff
run: git diff
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
- name: install runsim
run: |
export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/runsim@v1.0.0
export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3.0.5
with:
path: ~/go/bin
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- run: make build
Expand All @@ -36,11 +36,11 @@ jobs:
steps:
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/runsim@v1.0.0
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3.0.5
with:
path: ~/go/bin
Expand All @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v6.1.0
Expand All @@ -80,7 +80,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v6.1.0
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v6.1.0
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v6.1.0
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sims_normal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- run: make build
Expand All @@ -24,11 +24,11 @@ jobs:
steps:
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/runsim@v1.0.0
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3.0.5
with:
path: ~/go/bin
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- uses: actions/cache@v3.0.5
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- uses: actions/cache@v3.0.5
Expand All @@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- uses: actions/cache@v3.0.5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v3
with:
args: release --rm-dist --release-notes ./RELEASE_CHANGELOG.md
args: release --rm-dist --release-notes ./RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 25 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
steps:
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- name: Display go version
run: go version
- name: install tparse
run: |
export GO111MODULE="on" && go get github.com/mfridman/tparse@v0.8.3
export GO111MODULE="on" && go install github.com/mfridman/tparse@v0.8.3
- uses: actions/cache@v3.0.5
with:
path: ~/go/bin
Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- uses: technote-space/get-diff-action@v6.1.0
id: git_diff
with:
Expand All @@ -67,7 +67,7 @@ jobs:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v3.2.1
# with:
# go-version: 1.15
# go-version: 1.18
# - name: Display go version
# run: go version
# - uses: technote-space/get-diff-action@v6.1.0
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- uses: technote-space/get-diff-action@v6.1.0
with:
PATTERNS: |
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.15
go-version: 1.18
- uses: technote-space/get-diff-action@v6.1.0
with:
PATTERNS: |
Expand All @@ -224,6 +224,24 @@ jobs:
name: "${{ github.sha }}-${{ matrix.part }}-race-output"
path: ./${{ matrix.part }}-race-output.txt

# TODO finschia: enable this test
# test-rosetta:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - uses: actions/checkout@v2
# - uses: technote-space/get-diff-action@v4
# id: git_diff
# with:
# PATTERNS: |
# **/**.go
# go.mod
# go.sum
# - name: test rosetta
# run: |
# make test-rosetta
# if: env.GIT_DIFF

# TODO ebony: enable this test
# liveness-test:
# runs-on: ubuntu-latest
Expand All @@ -232,7 +250,7 @@ jobs:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v2.1.3
# with:
# go-version: 1.15
# go-version: 1.18
# - uses: technote-space/get-diff-action@v6.1.0
# id: git_diff
# with:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/collection) [\#574](https://github.com/line/lbm-sdk/pull/574) implement x/collection
* (store) [\#605](https://github.com/line/lbm-sdk/pull/605) replace line/iavl and line/tm-db with cosmos/iavl and tendermint/tm-db.
* (server/grpc) [\#607](https://github.com/line/lbm-sdk/pull/607) revert gRPC block height header.
* (global) [\#611](https://github.com/line/lbm-sdk/pull/611) bump github.com/cosmos/cosmos-sdk from v0.45.1 to v0.45.6
* (simapp) [\#620](https://github.com/line/lbm-sdk/pull/620) chore: add iterator feature for simapp

### Improvements
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Please don't make Pull Requests from `main`.

## Dependencies

We use [Go 1.15 Modules](https://github.com/golang/go/wiki/Modules) to manage
We use [Go 1.18 Modules](https://github.com/golang/go/wiki/Modules) to manage
dependency versions.

The `main` branch of every LBM repository should just build with `go get`,
Expand Down
Loading

0 comments on commit 9ba6ea3

Please sign in to comment.