Skip to content

Commit f0bf4ab

Browse files
committed
sync with upstream release/v0.47.x
1 parent 9bd1e03 commit f0bf4ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1406
-898
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v3
2424
- uses: actions/setup-go@v3
2525
with:
26-
go-version: "1.19"
26+
go-version: "1.22"
2727
check-latest: true
2828
- uses: technote-space/[email protected]
2929
id: git_diff

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v3
2626
- uses: actions/setup-go@v3
2727
with:
28-
go-version: "1.19"
28+
go-version: "1.22"
2929
check-latest: true
3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL

.github/workflows/dependabot-update-all.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
token: ${{ secrets.PRBOT_PAT }}
1818
- uses: actions/setup-go@v3
1919
with:
20-
go-version: "1.19"
20+
go-version: "1.22"
2121
check-latest: true
2222
- name: Extract updated dependency
2323
id: deps

.github/workflows/labeler.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ permissions:
88
jobs:
99
labeler:
1010
permissions:
11-
contents: read # for actions/labeler to determine modified files
12-
pull-requests: write # for actions/labeler to add labels to PRs
11+
contents: read # for actions/labeler to determine modified files
12+
pull-requests: write # for actions/labeler to add labels to PRs
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/labeler@main
15+
- uses: actions/labeler@v4 # v5 is broken, ref https://github.com/actions/labeler/issues/712. Do not bump.
1616
with:
17-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: "1.19"
19+
go-version: "1.22"
2020
check-latest: true
2121
- uses: actions/checkout@v3
2222
- name: golangci-lint

.github/workflows/release-cosmovisor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: "1.19"
19+
go-version: "1.22"
2020
check-latest: true
2121
# get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV
2222
- name: Set env

.github/workflows/release-rosetta.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: "1.19"
19+
go-version: "1.22"
2020
check-latest: true
2121
# get 'v*.*.*' part from 'rosetta/v*.*.*' and save to $GITHUB_ENV
2222
- name: Set env

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Go
2121
uses: actions/setup-go@v3
2222
with:
23-
go-version: "1.19"
23+
go-version: "1.22"
2424
check-latest: true
2525
- name: Unshallow
2626
run: git fetch --prune --unshallow

.github/workflows/sims-045.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: "release/v0.45.x"
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.22"
2525
check-latest: true
2626
- run: make build
2727

@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/setup-go@v3
3535
with:
36-
go-version: "1.19"
36+
go-version: "1.22"
3737
check-latest: true
3838
- name: Install runsim
3939
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -51,7 +51,7 @@ jobs:
5151
ref: "release/v0.45.x"
5252
- uses: actions/setup-go@v3
5353
with:
54-
go-version: "1.19"
54+
go-version: "1.22"
5555
check-latest: true
5656
- uses: actions/cache@v3
5757
with:
@@ -70,7 +70,7 @@ jobs:
7070
ref: "release/v0.45.x"
7171
- uses: actions/setup-go@v3
7272
with:
73-
go-version: "1.19"
73+
go-version: "1.22"
7474
check-latest: true
7575
- uses: actions/cache@v3
7676
with:
@@ -90,7 +90,7 @@ jobs:
9090
ref: "release/v0.45.x"
9191
- uses: actions/setup-go@v3
9292
with:
93-
go-version: "1.19"
93+
go-version: "1.22"
9494
check-latest: true
9595
- uses: actions/cache@v3
9696
with:

.github/workflows/sims-046.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: "release/v0.46.x"
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.22"
2525
check-latest: true
2626
- run: make build
2727

@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/setup-go@v3
3535
with:
36-
go-version: "1.19"
36+
go-version: "1.22"
3737
check-latest: true
3838
- name: Install runsim
3939
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -52,7 +52,7 @@ jobs:
5252
ref: "release/v0.46.x"
5353
- uses: actions/setup-go@v3
5454
with:
55-
go-version: "1.19"
55+
go-version: "1.22"
5656
check-latest: true
5757
- uses: actions/cache@v3
5858
with:
@@ -71,7 +71,7 @@ jobs:
7171
ref: "release/v0.46.x"
7272
- uses: actions/setup-go@v3
7373
with:
74-
go-version: "1.19"
74+
go-version: "1.22"
7575
check-latest: true
7676
- uses: actions/cache@v3
7777
with:
@@ -90,7 +90,7 @@ jobs:
9090
ref: "release/v0.46.x"
9191
- uses: actions/setup-go@v3
9292
with:
93-
go-version: "1.19"
93+
go-version: "1.22"
9494
check-latest: true
9595
- uses: actions/cache@v3
9696
with:

.github/workflows/sims-047.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: "release/v0.47.x"
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.22"
2525
check-latest: true
2626
- run: make build
2727

@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/setup-go@v3
3535
with:
36-
go-version: "1.19"
36+
go-version: "1.22"
3737
check-latest: true
3838
- name: Install runsim
3939
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -52,7 +52,7 @@ jobs:
5252
ref: "release/v0.47.x"
5353
- uses: actions/setup-go@v3
5454
with:
55-
go-version: "1.19"
55+
go-version: "1.22"
5656
check-latest: true
5757
- uses: actions/cache@v3
5858
with:
@@ -71,7 +71,7 @@ jobs:
7171
ref: "release/v0.47.x"
7272
- uses: actions/setup-go@v3
7373
with:
74-
go-version: "1.19"
74+
go-version: "1.22"
7575
check-latest: true
7676
- uses: actions/cache@v3
7777
with:
@@ -90,7 +90,7 @@ jobs:
9090
ref: "release/v0.47.x"
9191
- uses: actions/setup-go@v3
9292
with:
93-
go-version: "1.19"
93+
go-version: "1.22"
9494
check-latest: true
9595
- uses: actions/cache@v3
9696
with:

.github/workflows/sims-nightly.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- uses: actions/setup-go@v3
2424
with:
25-
go-version: "1.19"
25+
go-version: "1.22"
2626
check-latest: true
2727
- name: Install runsim
2828
run: go install github.com/cosmos/tools/cmd/[email protected]
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@v3
3838
- uses: actions/setup-go@v3
3939
with:
40-
go-version: "1.19"
40+
go-version: "1.22"
4141
check-latest: true
4242
- uses: actions/cache@v3
4343
with:

.github/workflows/sims.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: "1.19"
24+
go-version: "1.22"
2525
check-latest: true
2626
- run: make build
2727
- name: Install runsim
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v3
4040
- uses: actions/setup-go@v3
4141
with:
42-
go-version: "1.19"
42+
go-version: "1.22"
4343
check-latest: true
4444
- uses: actions/cache@v3
4545
with:
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/checkout@v3
5757
- uses: actions/setup-go@v3
5858
with:
59-
go-version: "1.19"
59+
go-version: "1.22"
6060
check-latest: true
6161
- uses: actions/cache@v3
6262
with:
@@ -74,7 +74,7 @@ jobs:
7474
- uses: actions/checkout@v3
7575
- uses: actions/setup-go@v3
7676
with:
77-
go-version: "1.19"
77+
go-version: "1.22"
7878
check-latest: true
7979
- uses: actions/cache@v3
8080
with:

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v3
2020
- uses: actions/setup-go@v3
2121
with:
22-
go-version: "1.19"
22+
go-version: "1.22"
2323
check-latest: true
2424
- name: Create a file with all core Cosmos SDK pkgs
2525
run: go list ./... > pkgs.txt
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/checkout@v3
5454
- uses: actions/setup-go@v3
5555
with:
56-
go-version: "1.19"
56+
go-version: "1.22"
5757
check-latest: true
5858
cache: true
5959
cache-dependency-path: go.sum
@@ -85,7 +85,7 @@ jobs:
8585
- uses: actions/checkout@v3
8686
- uses: actions/setup-go@v3
8787
with:
88-
go-version: "1.19"
88+
go-version: "1.22"
8989
check-latest: true
9090
cache: true
9191
cache-dependency-path: go.sum
@@ -116,7 +116,7 @@ jobs:
116116
- uses: actions/checkout@v3
117117
- uses: actions/setup-go@v3
118118
with:
119-
go-version: "1.19"
119+
go-version: "1.22"
120120
check-latest: true
121121
cache: true
122122
cache-dependency-path: go.sum
@@ -194,7 +194,7 @@ jobs:
194194
- uses: actions/checkout@v3
195195
- uses: actions/setup-go@v3
196196
with:
197-
go-version: "1.19"
197+
go-version: "1.22"
198198
check-latest: true
199199
cache: true
200200
cache-dependency-path: go.sum
@@ -224,7 +224,7 @@ jobs:
224224
- uses: actions/checkout@v3
225225
- uses: actions/setup-go@v3
226226
with:
227-
go-version: "1.19"
227+
go-version: "1.22"
228228
check-latest: true
229229
cache: true
230230
cache-dependency-path: go.sum
@@ -250,7 +250,7 @@ jobs:
250250
- uses: actions/checkout@v3
251251
- uses: actions/setup-go@v3
252252
with:
253-
go-version: "1.19"
253+
go-version: "1.22"
254254
check-latest: true
255255
cache: true
256256
cache-dependency-path: simapp/go.sum

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@ Ref: https://keepachangelog.com/en/1.0.0/
3939

4040
* (x/staking) Fix a possible bypass of delagator slashing: [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc)
4141

42+
## [v0.47.11](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.11) - 2024-04-22
43+
44+
### Bug Fixes
45+
46+
* (x/feegrant,x/authz) [#20114](https://github.com/cosmos/cosmos-sdk/pull/20114) Follow up of [GHSA-4j93-fm92-rp4m](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-4j93-fm92-rp4m). The same issue was found in `x/feegrant` and `x/authz` modules.
47+
* (crypto) [#20027](https://github.com/cosmos/cosmos-sdk/pull/20027) secp256r1 keys now implement gogoproto's customtype interface.
48+
* (x/gov) [#19725](https://github.com/cosmos/cosmos-sdk/pull/19725) Fetch a failed proposal tally from `proposal.FinalTallyResult` in the gprc query.
49+
* (crypto) [#19691](https://github.com/cosmos/cosmos-sdk/pull/19746) Throw an error when signing with incorrect Ledger.
50+
51+
## [v0.47.10](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.10) - 2024-02-27
52+
53+
### Bug Fixes
54+
55+
* (x/staking) Fix a possible bypass of delagator slashing: [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc)
56+
* (server) [#19573](https://github.com/cosmos/cosmos-sdk/pull/19573) Use proper `db_backend` type when reading chain-id
57+
4258
## [v0.47.9](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.9) - 2024-02-19
4359

4460
### Bug Fixes
@@ -58,6 +74,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
5874
### Bug Fixes
5975

6076
* [#19106](https://github.com/cosmos/cosmos-sdk/pull/19106) Allow empty public keys when setting signatures. Public keys aren't needed for every transaction.
77+
* (server) [#18920](https://github.com/cosmos/cosmos-sdk/pull/18920) Fixes consensus failure while restart node with wrong `chainId` in genesis.
6178

6279
## [v0.47.7](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.7) - 2023-12-20
6380

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313
# This image is pushed to the GHCR as https://ghcr.io/cosmos/simapp
1414

15-
FROM --platform=$BUILDPLATFORM golang:1.19-alpine AS build-env
15+
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS build-env
1616

1717
# Install minimum necessary dependencies
1818
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev

RELEASE_NOTES.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
# Cosmos SDK v0.47.10 Release Notes
1+
# Cosmos SDK v0.47.11 Release Notes
22

33
💬 [**Release Discussion**](https://github.com/orgs/cosmos/discussions/6)
44

55
## 🚀 Highlights
66

7-
This early monthly patch release fixes [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc).
7+
For this month patch release of the v0.47.x line, a few bug were fixed in the SDK.
8+
Notably:
89

9-
We recommended to upgrade to this patch release as soon as possible.
10-
When upgrading from <= v0.47.9, please ensure that 2/3 of the validator power upgrade to v0.47.10.
10+
* `secp256r1` keys now implement gogoproto's customtype interface.
11+
* CLI now throws an error when signing with an incorrect Ledger.
12+
* Fixing [GHSA-4j93-fm92-rp4m](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-4j93-fm92-rp4m) in `x/feegrant` and `x/authz` modules. The upgrade instuctions were provided in the [v0.47.9 release notes](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.9).
1113

12-
Curious? Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.47.10/CHANGELOG.md) for an exhaustive list of changes or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/v0.47.9...v0.47.10) from last release.
14+
Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.47.11/CHANGELOG.md) for an exhaustive list of changes or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/v0.47.10...v0.47.11) from last release.
1315

1416
Refer to the [upgrading guide](https://github.com/cosmos/cosmos-sdk/blob/release/v0.50.x/UPGRADING.md) when migrating from `v0.47.x` to `v0.50.x`.
1517

1618
## Maintenance Policy
1719

1820
v0.50 has been released which means the v0.47.x line is now supported for bug fixes only, as per our release policy. Earlier versions are not maintained.
1921

20-
Start integrating with [Cosmos SDK Eden (v0.50)](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.5) and enjoy and the new features and performance improvements.
22+
Start integrating with [Cosmos SDK Eden (v0.50)](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.6) and enjoy and the new features and performance improvements.

0 commit comments

Comments
 (0)