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 v0.45.16 #16

Draft
wants to merge 113 commits into
base: cudos-master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
ad4ad43
fix: decrement types.Dec max length to keep decimal bits in DecimalPr…
mergify[bot] Apr 27, 2022
162fb49
fix: Bug reading password from a buffer when reader returns EOF (back…
mergify[bot] Apr 27, 2022
85bf0aa
refactor: improve error messages (backport #11762) (#11887)
mergify[bot] May 6, 2022
8bbeba5
feat: add feegrant query to see allowances from a given granter (back…
julienrbrt May 6, 2022
cf17549
fix: grants by granter pagination `total` (#11813) (#11828)
mergify[bot] May 12, 2022
a72d9fa
refactor: remove redacted message (backport #11960) (#12002)
mergify[bot] May 20, 2022
2921a1c
fix: index ante events for failed tx (backport: #12013) (#12017)
yihuang May 23, 2022
a802a5c
fix: Make rechecking a tx check the sequence number #12060 (#12062)
mergify[bot] May 27, 2022
057a6ca
fix: cli `grants-by-grantee`, `grants-by-granter` cmds (backport #119…
mergify[bot] May 27, 2022
008d10d
fix: add base account getter (backport #12154) (#12161)
mergify[bot] Jun 6, 2022
d721a76
refactor: Simplify SimulationManager setup (backport #12153) (#12159)
mergify[bot] Jun 7, 2022
bec98b5
perf: modify DelegatorSharesInvariant for better performance (#12170)…
mergify[bot] Jun 7, 2022
95d873f
chore: remove direct reliance on staking from slashing (backport #121…
mergify[bot] Jun 7, 2022
48c2f77
fix(upgrades): perform no-op if 'from' and 'to' migration version are…
mergify[bot] Jun 8, 2022
a3f8a83
chore(types): add MustAccAddressFromBech32 util func (backport #12201…
mergify[bot] Jun 9, 2022
4dd96eb
Revert "fix: add base account getter (backport #12154) (#12161)" (#12…
alexanderbez Jun 9, 2022
a2761bd
chore: prep release notes + cl (#12207)
alexanderbez Jun 9, 2022
6dc53e0
Update tag.yml
alexanderbez Jun 9, 2022
63d768c
fix: update index of crisis invariant check logs (backport #12208) (#…
mergify[bot] Jun 10, 2022
aeab66a
fix: Refactor GetLastCompletedUpgrade [v0.45.x] (#12264)
alexanderbez Jun 15, 2022
bf7348e
fix: defaultGenTxGas to 10 times (#12314)
hea9549 Jun 21, 2022
cece44d
fix: edit validator bug from cli (#12317)
likhita-809 Jun 21, 2022
dced7ec
chore: update release notes (#12377)
julienrbrt Jun 28, 2022
f2d9444
feat: add query.GenericFilteredPaginated (backport #12253) (#12371)
mergify[bot] Jun 28, 2022
7e727e8
fix: update x/mint parameter validation (backport #12384) (#12396)
mergify[bot] Jun 30, 2022
a99988f
chore: optimize get last completed upgrade (#12268)
robert-zaremba Jul 3, 2022
5e40a14
fix: Simulation is not deterministic due to GenTx (backport #12374) (…
adu-web3 Jul 4, 2022
10961d0
fix: use go install instead of go get in makefile (#12435)
julienrbrt Jul 4, 2022
0e166fa
chore: fumpt sdk v45 series #12442
faddat Jul 5, 2022
155d9ec
feat: Move AppModule.BeginBlock and AppModule.EndBlock to extension i…
mergify[bot] Jul 19, 2022
4eec00f
feat: add message index event attribute to authz message execution (b…
mergify[bot] Jul 22, 2022
1fcc404
chore(store): upgrade iavl to v0.19.0 (backport #12626) (#12697)
mergify[bot] Jul 23, 2022
eb032e3
feat: Add `GetParamSetIfExists` to prevent panic on breaking param ch…
fedekunze Jul 26, 2022
3ae6bb4
feat: Add convenience method for constructing key to access account's…
mergify[bot] Aug 2, 2022
e23386b
chore: bump tm in 0.45.x (#12784)
tac0turtle Aug 4, 2022
35ae2c4
chore: 0.45.7 changelog prep (#12821)
tac0turtle Aug 4, 2022
4b31a06
docs(staking): typo in staking/state (backport #12834) (#12836)
mergify[bot] Aug 7, 2022
cd5ba07
chore: fee payer event (backport #12850) (#12856)
mergify[bot] Aug 8, 2022
b09fc03
chore: changelog update (backport #12859) (#12862)
mergify[bot] Aug 8, 2022
09321d7
fix: Use fixed length hex for pointer at FwdCapabilityKey (backport #…
yihuang Aug 9, 2022
86311ae
feat: deterministic map iteration (backport #12781) (#12944)
mergify[bot] Aug 18, 2022
b0ea376
chore: bump tendermint to `0.34.21` and iavl to `0.19.1` (#12970)
julienrbrt Aug 19, 2022
03b8d0b
perf: Amortize clearing unsorted cache entries (Juno genesis fix) (ba…
mergify[bot] Aug 19, 2022
a80bf98
fix: proper error when parsing telemetry configuration (backport #129…
mergify[bot] Aug 23, 2022
46d7a3e
ci: fix release notes not populated by goreleaser (#13019)
mergify[bot] Aug 24, 2022
4cd8d95
fix: missing return statement in BaseApp.Query (backport #13046) (#13…
mergify[bot] Aug 25, 2022
ff416ee
chore: v0.45.8 release changelog (#13053)
julienrbrt Aug 25, 2022
b897f47
fix: call `SetIAVLCacheSize` with the configured value in simapp (bac…
mergify[bot] Aug 31, 2022
3bdbaf1
feat: Add a cli cmd to prune old states according to current settings…
mergify[bot] Sep 2, 2022
bc28298
fix: rollback command don't actually delete multistore versions (back…
yihuang Sep 5, 2022
128922c
fix: make linting work on 45 (#13185)
faddat Sep 8, 2022
e70b5db
feat: configurable fastnode (backport #13321) (#13338)
mergify[bot] Sep 20, 2022
63a7c45
fix: ensure withdraw_rewards events are always emitted on reward with…
mergify[bot] Sep 20, 2022
24e405e
imp(keyring): improve UX for keyring.List (#13369)
fedekunze Sep 27, 2022
b6d51b5
feat: ADR-038 Part 2: StreamingService interface, file writing implem…
yihuang Oct 3, 2022
ccd98c5
fix: state listener could observe discarded writes (backport #13459) …
mergify[bot] Oct 9, 2022
c308e1f
feat: gRPC query for operator and chain configuration (backport #1348…
mergify[bot] Oct 11, 2022
260f72c
chore: CHANGELOG update (backport #13536) (#13538)
mergify[bot] Oct 13, 2022
dad68bb
refactor: Improve AllocateTokens (backport #13524) (#13527)
mergify[bot] Oct 13, 2022
d8527c3
chore: make iavl fast node migration off by default (#13540)
tac0turtle Oct 13, 2022
2582f0a
Merge pull request from GHSA-3qp7-gj37-g9rx
ebuchman Oct 14, 2022
d118681
fix: move ics23 to correct folder (#13549)
aaronc Oct 14, 2022
6f309d2
fix: fix liveness tests #13551
ValarDragon Oct 14, 2022
0622dd4
feat: add `GenSignedMockTx` (#13557)
julienrbrt Oct 16, 2022
a6e909e
fix: fix `make proto-gen` (#13564)
julienrbrt Oct 17, 2022
7a500a2
feat: [REDO] gRPC query for operator and chain configuration (backpor…
alexanderbez Oct 18, 2022
239c0bb
chore: bump tendermint to `0.34.22` (#13585)
julienrbrt Oct 19, 2022
1596edf
fix: (v0.45.x) regression in return value of WithdrawDelegationReward…
nddeluca Oct 20, 2022
3f29739
fix(server): v0.45.x Populate the PruningKeepEvery config entry in Ge…
SpicyLemon Oct 21, 2022
e972b64
feat(cli): add module-account cli cmd and grpc get api (backport #136…
mergify[bot] Oct 24, 2022
cafa881
chore: prepare 0.45.10 changelog (#13624)
julienrbrt Oct 24, 2022
d60d45b
refactor: fix description iavl-disable-fastnode cmd flag (backport #1…
mergify[bot] Oct 26, 2022
273750f
build(deps): Bump github.com/cosmos/iavl from 0.19.3 to 0.19.4 (#13679)
julienrbrt Oct 28, 2022
760acf1
fix: --dry-run flag not working when using tx cmd (#13673)
likhita-809 Oct 31, 2022
3d54be5
chore: fix --dry-run flag not working issue's changelog (#13711)
likhita-809 Nov 1, 2022
3b72162
ci: notify for 0.45.x releases (#13720)
julienrbrt Nov 1, 2022
ef7c0f9
docs: fix algolia on 0.45 (#13731)
julienrbrt Nov 2, 2022
b4ff0df
chore: bump tendermint to `0.34.23` (#13815)
julienrbrt Nov 9, 2022
47f4664
chore: prepare 0.45.11 release (#13817)
julienrbrt Nov 10, 2022
f889026
docs: update algolia index (#13824)
julienrbrt Nov 10, 2022
af529b8
fix: Return error instead of empty values when pruned height is queri…
likhita-809 Nov 17, 2022
49b9aed
chore: bump tendermint to 0.34.24 (#13973)
julienrbrt Nov 22, 2022
8bf996f
fix: do not shadow clientCtx in start.go (#14086) (#14102)
mergify[bot] Nov 30, 2022
9baf33b
chore: backport tracekvstore store_name (#14159)
tac0turtle Dec 5, 2022
4a62609
fix: state listener observe writes at wrong time (backport #13516) (#…
mergify[bot] Dec 6, 2022
0b6c346
refactor: cleanup store/streaming/constructor.go (backport #14044) (#…
mergify[bot] Dec 9, 2022
c0d85e3
chore: audit store/streaming/file/service.go (backport #14234) (#14242)
mergify[bot] Dec 10, 2022
77e66cf
perf: optimize iteration on nested cache context (backport #13881) (#…
mergify[bot] Jan 5, 2023
9f23566
chore: prepare v0.45.12 release (#14623)
julienrbrt Jan 16, 2023
b92222f
build: bump `bgentry/speakasy` to pseudo version (backport #14633) (#…
mergify[bot] Jan 16, 2023
5524b56
refactor: reduce tendermint deps (backport #14616) (#14664)
mergify[bot] Jan 18, 2023
6ab492c
chore: prepare 0.45.12 release (#14729)
julienrbrt Jan 23, 2023
82ce891
fix: fix failing test in 0.45 (#14741)
julienrbrt Jan 23, 2023
f96336f
fix: nested iterator on cache store (backport #14798) (#14823)
mergify[bot] Jan 27, 2023
7c82d64
chore: update IAVL (backport #14830) (#14834)
mergify[bot] Jan 30, 2023
d49269e
chore: bump IAVL to v0.19.5 (backport #14889) (#14891)
mergify[bot] Feb 2, 2023
73c752f
build(deps): bump tendermint to v0.34.25 (backport #14903) (#14906)
mergify[bot] Feb 4, 2023
472729e
build(deps): bump tendermint to v0.34.26 (backport #14911) (#14913)
mergify[bot] Feb 5, 2023
572aca2
ci: update release slack channel and algolia api key (backport #14942…
mergify[bot] Feb 7, 2023
36a9807
chore: prepare v0.45.13 release notes (#14960)
julienrbrt Feb 9, 2023
f27d491
feat: add retroactive support for core API to 0.45.x (#14583)
aaronc Feb 9, 2023
140ebff
fix: avoid broadcasting tx through query (backport #15044) (#15048)
mergify[bot] Feb 16, 2023
1bdde19
chore: Add check for uneven stores' height (backport #14410) (#15114)
mergify[bot] Feb 21, 2023
3a48354
build(deps): bump btcd in v0.45 (backport #14846) (#15127)
mergify[bot] Feb 22, 2023
53db377
build: use cometbft in v0.45 (#15089)
julienrbrt Feb 24, 2023
77f1fe4
chore: bump cometbft to v0.34.27 final (#15207)
julienrbrt Feb 27, 2023
b0833c2
refactor: fix spelling of Adaptor (#15465)
facundomedica Mar 20, 2023
c0fe4f7
chore: prepare v0.45.15 release (#15346)
julienrbrt Mar 22, 2023
d3370f2
fix(feegrant): infinite feegrant bug (#16097)
assafmo May 11, 2023
9abd946
chore: prepare v0.45.16 release (#16111)
julienrbrt May 11, 2023
d3f09c2
chore: update sidebar v0.45 (#16303)
julienrbrt May 26, 2023
7de950e
Merge remote-tracking branch 'origin/release/v0.45.x' into HEAD
faddat Dec 11, 2023
5299f01
tidy
faddat Dec 11, 2023
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
  •  
  •  
  •  
31 changes: 15 additions & 16 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
name: Lint
# Lint runs golangci-lint over the entire cosmos-sdk repository
# This workflow is run on every pull request and push to master
# The `golangci` will pass without running if no *.{go, mod, sum} files have been changed.
on:
pull_request:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2.1.4
- uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: technote-space/get-diff-action@v5
id: git_diff
go-version: 1.19
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: run go linters
run: make lint-go
if: env.GIT_DIFF
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
2 changes: 1 addition & 1 deletion .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- name: install runsim
run: |
export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected]
export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
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 @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- run: make build
Expand All @@ -26,11 +26,11 @@ jobs:
steps:
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected]
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
Expand All @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v4
Expand All @@ -69,7 +69,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v4
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v4
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v4
Expand Down
23 changes: 21 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,31 @@ jobs:
- name: Install Go
uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/[email protected]
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 }}

release-success:
needs: release
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: Notify Slack on success
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cosmos-tech
SLACK_USERNAME: Cosmos SDK Release Bot
SLACK_ICON: https://avatars.githubusercontent.com/t/5997665?size=64
SLACK_COLOR: good
SLACK_TITLE: "Cosmos SDK ${{ github.ref_name }} is tagged :tada:"
SLACK_MESSAGE: "@channel :point_right: https://github.com/cosmos/cosmos-sdk/releases/tag/${{ github.ref_name }}"
SLACK_FOOTER: ""
SLACK_LINK_NAMES: true
MSG_MINIMAL: true
58 changes: 29 additions & 29 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
steps:
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- name: install tparse
run: |
export GO111MODULE="on" && go get github.com/mfridman/[email protected]
go install github.com/mfridman/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- uses: technote-space/get-diff-action@v4
id: git_diff
with:
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v4
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
go-version: 1.19
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -218,29 +218,29 @@ jobs:
# make test-rosetta
# # if: env.GIT_DIFF

# liveness-test:
# runs-on: ubuntu-latest
# timeout-minutes: 15
# steps:
# - uses: actions/checkout@v2
# - uses: actions/[email protected]
# with:
# go-version: 1.17
# - uses: technote-space/get-diff-action@v4
# id: git_diff
# with:
# PATTERNS: |
# **/**.go
# go.mod
# go.sum
# - name: start localnet
# run: |
# make clean localnet-start
# if: env.GIT_DIFF
# - name: test liveness
# run: |
# ./contrib/localnet_liveness.sh 100 5 50 localhost
# if: env.GIT_DIFF
liveness-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.19
- uses: technote-space/get-diff-action@v4
id: git_diff
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: start localnet
run: |
make clean localnet-start
if: env.GIT_DIFF
- name: test liveness
run: |
./contrib/localnet_liveness.sh 100 5 50 localhost
if: env.GIT_DIFF

docker-build:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.swm
*.swn
*.pyc
.dccache

# private files
private[.-]*
Expand Down
30 changes: 8 additions & 22 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,30 @@ run:
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dogsled
# - errcheck
- exportloopref
- goconst
- gocritic
- gofmt
- goimports
- gofumpt
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- prealloc
- revive
- exportloopref
- nolintlint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- unparam
- misspell
# - wsl
- nolintlint

issues:
exclude-rules:
- text: "Use of weak random number generator"
linters:
- gosec
- text: "comment on exported var"
linters:
- golint
- text: "don't use an underscore in package name"
linters:
- golint
- text: "ST1003:"
linters:
- stylecheck
Expand All @@ -54,7 +38,10 @@ issues:
- text: "ST1016:"
linters:
- stylecheck
- path: "legacy"
- text: "should be written without leading space as"
linters:
- nolintlint
- path: "migrations"
text: "SA1019:"
linters:
- staticcheck
Expand All @@ -70,6 +57,5 @@ linters-settings:
suggest-new: true
nolintlint:
allow-unused: false
allow-leading-space: true
require-explanation: false
require-specific: false
require-specific: false
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ snapshot:
name_template: SNAPSHOT-{{ .Commit }}

changelog:
skip: true
skip: false
Loading
Loading