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

feat: bump up cosmos@v0.45.6 #611

Merged
merged 78 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
e269cdc
feat: add get all versions (backport #11124) (#11144)
mergify[bot] Feb 9, 2022
cdaaee3
support debug trace QueryResult (#11148)
yihuang Feb 18, 2022
4455f1e
disable url parameter in swagger-ui page (backport #11202) (#11207)
mergify[bot] Feb 21, 2022
a4fe0fc
feat: Allow to restrict MintCoins from app.go (backport #10771) (#11227)
mergify[bot] Feb 21, 2022
f8167f9
refactor: prune everything (backport #11177) (#11258)
mergify[bot] Feb 23, 2022
cf8551e
feat: min and max operators on coins (backport #11200) (#11249)
mergify[bot] Feb 23, 2022
a1ed16a
feat: include transactions in QueryBlockByHeight (backport #10880) (…
mergify[bot] Feb 24, 2022
05c4d43
fix: reject query with block height in the future (backport #11222) (…
mergify[bot] Feb 25, 2022
521bce6
fix: add concurrency fence on traceContext to avoid data races (backp…
mergify[bot] Feb 8, 2022
9227cfc
fix: x/authz allow insufficient funds error (backport #11252) (#11299)
mergify[bot] Mar 2, 2022
34e3f3c
feat!: Add hooks to allow app modules to add things to state-sync (ba…
mergify[bot] Mar 2, 2022
8bd2b94
Implement rollback command (#11179) (#11314)
mergify[bot] Mar 7, 2022
c6c2985
fix(types): use correct bit length constant for sdk.Dec (backport #11…
mergify[bot] Mar 9, 2022
3c2e787
fix: remove hardcoded pubkey from tx simulation (backport #11282) (#1…
mergify[bot] Mar 10, 2022
4a9353d
fix: cgosecp256k1 verification (backport #11298) (#11360)
mergify[bot] Mar 11, 2022
2aecb56
fix: multisig works with only multisig name as argument, not its addr…
mergify[bot] Mar 11, 2022
10821ed
fix: Update query.go to include pagination for bank q totals (#11355)…
mergify[bot] Mar 15, 2022
6ed1484
feat: add support for spendable balances gRPC query (backport #11417)…
mergify[bot] Mar 27, 2022
d33a8f7
feat: grpc-only mode (backport #11430) (#11460)
mergify[bot] Mar 27, 2022
f8de9f0
feat: add grants by grantee authz query (backport #10944) (#11523)
mergify[bot] Apr 1, 2022
496942d
feat: EIP191 sign mode (backport #11533) (#11545)
mergify[bot] Apr 5, 2022
f6bec44
feat: `ScheduleUpgradeNoHeightValidation` for automated upgrades w/o …
mergify[bot] Apr 8, 2022
c7d9a11
chore: update TM dep (#11562)
alexanderbez Apr 8, 2022
368b870
fix: address confusing error message with SetOrder* functions (#11571…
mergify[bot] Apr 8, 2022
788f47a
build: fix build
dudong2 Jul 26, 2022
05ef05b
check error returned from NewNode (#11624)
jhernandezb Apr 13, 2022
bb4d0a2
feat: add (re)delegation getters (backport #11596) (#11615)
mergify[bot] Apr 13, 2022
66fd823
feat: add vesting util functions (backport #11652) (#11667)
mergify[bot] Apr 18, 2022
510cb76
chore: v0.45.x bump min go version to 1.17 (#11686)
alexanderbez Apr 19, 2022
bf88120
fix: Add validation on create gentx (backport #11693) (#11698)
mergify[bot] Apr 20, 2022
5fddc8a
fix: Added description of how to run the unsafe-reset-all command in …
mergify[bot] Apr 22, 2022
d843304
chore: remove unneeded swagger docs from 0.45 #11745
tac0turtle Apr 25, 2022
00de3c1
fix: data race issues with api.Server (backport #11724) (#11748)
mergify[bot] Apr 25, 2022
63c2afb
updates (#11750)
alexanderbez Apr 25, 2022
07f392f
chore: update vuepress config to reflect new default branch naming (#…
mergify[bot] Apr 26, 2022
5fbdfd2
fix: decrement types.Dec max length to keep decimal bits in DecimalPr…
mergify[bot] Apr 27, 2022
b713855
fix: Bug reading password from a buffer when reader returns EOF (back…
mergify[bot] Apr 27, 2022
9b121fd
refactor: improve error messages (backport #11762) (#11887)
mergify[bot] May 6, 2022
76073b5
feat: add feegrant query to see allowances from a given granter (back…
julienrbrt May 6, 2022
fa26e92
fix: grants by granter pagination `total` (#11813) (#11828)
mergify[bot] May 12, 2022
c21193c
refactor: remove redacted message (backport #11960) (#12002)
mergify[bot] May 20, 2022
319a2e5
fix: index ante events for failed tx (backport: #12013) (#12017)
yihuang May 23, 2022
a85e952
fix: Make rechecking a tx check the sequence number #12060 (#12062)
mergify[bot] May 27, 2022
bf8a7d3
fix: cli `grants-by-grantee`, `grants-by-granter` cmds (backport #119…
mergify[bot] May 27, 2022
d3cbe07
fix: add base account getter (backport #12154) (#12161)
mergify[bot] Jun 6, 2022
a9702ad
refactor: Simplify SimulationManager setup (backport #12153) (#12159)
mergify[bot] Jun 7, 2022
144d442
perf: modify DelegatorSharesInvariant for better performance (#12170)…
mergify[bot] Jun 7, 2022
11af87a
chore: remove direct reliance on staking from slashing (backport #121…
mergify[bot] Jun 7, 2022
a938985
fix(upgrades): perform no-op if 'from' and 'to' migration version are…
mergify[bot] Jun 8, 2022
4250dfb
chore(types): add MustAccAddressFromBech32 util func (backport #12201…
mergify[bot] Jun 9, 2022
c2e06fa
Revert "fix: add base account getter (backport #12154) (#12161)" (#12…
alexanderbez Jun 9, 2022
cee77d4
Update tag.yml
alexanderbez Jun 9, 2022
8936e55
fix: update index of crisis invariant check logs (backport #12208) (#…
mergify[bot] Jun 10, 2022
b16829d
fix: Refactor GetLastCompletedUpgrade [v0.45.x] (#12264)
alexanderbez Jun 15, 2022
bfa3fea
fix: defaultGenTxGas to 10 times (#12314)
hea9549 Jun 21, 2022
a3898d1
fix: edit validator bug from cli (#12317)
likhita-809 Jun 21, 2022
7dc3dda
feat: add query.GenericFilteredPaginated (backport #12253) (#12371)
mergify[bot] Jun 28, 2022
9723c36
refactor: remove new APIs on x/collection (#608)
0Tech Jul 26, 2022
9505081
refactor: remove new APIs on x/token (#609)
0Tech Jul 26, 2022
c5d752a
docs: update outdated events in specs (#602)
0Tech Jul 26, 2022
7291582
feat: apply change of prefix of key name in ostracon (#610)
zemyblue Jul 27, 2022
ada4d8a
chore(deps): Bump github.com/tendermint/tm-db from 0.6.6 to 0.6.7 (#613)
dependabot[bot] Jul 28, 2022
ccdb52a
feat: apply Ostracon's changes that replace `StakingPower` with `Voti…
zemyblue Jul 29, 2022
65cc4eb
chore(deps): Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#…
dependabot[bot] Jul 29, 2022
7004a60
build: fix build
dudong2 Jul 26, 2022
18b9f1d
test: fix test cases
dudong2 Jul 27, 2022
3d2cbec
test: fix lint errors
dudong2 Jul 27, 2022
fdf7609
test: fix TestAppStateDeterminism test
dudong2 Jul 27, 2022
9044152
build: use golang 1.18
dudong2 Jul 27, 2022
92b5004
docs: add swagger file
dudong2 Jul 28, 2022
46bc82c
chore: change pagination flag name 'authorizations' -> 'grants'
dudong2 Jul 28, 2022
c1d1bbd
test: fixes for lint, tparse, runsim, statik due to go 1.18
dudong2 Jul 28, 2022
8ec6d6f
test: add uncovered tests for codecov/patch
dudong2 Jul 28, 2022
4910c39
Merge branch 'main' into dudong2/feat/cosmos-sdk@v0.45.6
dudong2 Aug 1, 2022
2980b34
build: go mod tidy
dudong2 Aug 1, 2022
0b70b74
Merge branch 'main' into dudong2/feat/cosmos-sdk@v0.45.6
dudong2 Aug 2, 2022
b536fc9
Merge branch 'main' into dudong2/feat/cosmos-sdk@v0.45.6
dudong2 Aug 2, 2022
def729b
chore: change panic to require.NoError
dudong2 Aug 2, 2022
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: 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