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

sdk version bump #1

Open
wants to merge 73 commits into
base: v0.47.5-patch-validators
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
ceb1b9d
docs(rosetta): fix documentation (#17610)
fmorency Sep 1, 2023
1dfa761
fix: typo in comment (backport #17635) (#17637)
mergify[bot] Sep 6, 2023
9413cdd
build(deps): Bump github.com/cosmos/iavl from 0.20.0 to 0.20.1 (#17632)
dependabot[bot] Sep 6, 2023
980e17c
fix(config): mempool.max-txs configuration is invalid (backport #1764…
mergify[bot] Sep 7, 2023
c79964c
chore: log panic recovery in runTx (backport: #17556) (#17671)
mmsqe Sep 11, 2023
55aa507
fix: nil pointer ref priority nonce mempool iterator (backport #17668…
mergify[bot] Sep 11, 2023
80705f7
feat(gov): handle panics when executing x/gov proposals (backport #17…
mergify[bot] Sep 18, 2023
c65feec
refactor(store): add missing error checks in store (#17817)
julienrbrt Sep 20, 2023
a6f79a9
fix(baseapp): select txs correctly with no-op mempool (backport #1776…
mergify[bot] Sep 25, 2023
8d6c611
docs: small update for routes change (backport #17881) (#17887)
mergify[bot] Sep 26, 2023
e0ab380
chore: remove duplicate check (#17901)
tac0turtle Sep 27, 2023
f29fcc5
chore: remove tip posthandler (#17902)
tac0turtle Sep 27, 2023
85034c1
chore(auth): return accId in error (backport #17903) (#17906)
mergify[bot] Sep 27, 2023
353ae64
chore(store): check value (backport #17900) (#17908)
mergify[bot] Sep 27, 2023
afd4d9d
refactor(x/gov): remove gov vote and proposal based telemetry (backpo…
mergify[bot] Sep 27, 2023
d7c4bfd
docs: Typo on Application - Specific documentation (backport #17933)…
mergify[bot] Oct 1, 2023
2601e23
chore(staking): add delegator to events (backport #18006) (#18012)
mergify[bot] Oct 9, 2023
7d12782
feat(baseapp): expose `Mempool` (backport #17954) (#18010)
mergify[bot] Oct 9, 2023
02c403f
docs: fix typos (backport #18018) (#18020)
mergify[bot] Oct 9, 2023
d24d469
chore(x/consensus): check for nil params (backport #18041) (#18069)
mergify[bot] Oct 11, 2023
c121fcc
build(deps): bump cosmos/ledger-cosmos-go to v0.12.3 in v0.47 (#18105)
julienrbrt Oct 13, 2023
efa1226
chore: fix comments on bech32 (backport #18114) (#18117)
mergify[bot] Oct 13, 2023
91b44c5
fix(x/bank): miss keypair of SendEnabled to restore legacy param set …
mmsqe Oct 16, 2023
0469b11
build(deps): Bump github.com/cosmos/ledger-cosmos-go from 0.12.3 to 0…
dependabot[bot] Oct 17, 2023
1a306fd
feat(server): start grpc server and register services when starting i…
p-offtermatt Oct 19, 2023
d003fa1
refactor(x/gov): backport MinInitialDepositRatio validation from v0.5…
julienrbrt Oct 20, 2023
362f234
refactor(x/authz): extend validate genesis (backport #18042) (#18208)
mergify[bot] Oct 23, 2023
269a245
fix(authz): check string is not empty (backport #18209) (#18218)
mergify[bot] Oct 23, 2023
98a8bfe
chore(x/upgrade): Use ValidateBasic for Plan in ReadUpgradeInfoFromDi…
mergify[bot] Oct 24, 2023
af758d7
refactor(network): call `app.Close()` on network cleanup (backport #1…
mergify[bot] Oct 25, 2023
8c9ab2c
fix(server): don't hardcode grpc address to localhost (backport #1825…
mergify[bot] Oct 25, 2023
d3c9653
fix: use a lower file permission in file creation (backport #18206) (…
mergify[bot] Oct 26, 2023
00ee987
fix(snapshot): grant execution permissions to the snapshot dir for th…
mergify[bot] Oct 29, 2023
37ad929
build(deps): Bump cosmossdk.io/math from 1.1.2 to 1.2.0 (#18398)
dependabot[bot] Nov 7, 2023
03d578b
chore: prepare v0.47.6 release notes (#18342)
julienrbrt Nov 14, 2023
cb6d235
fix(client/tx): simulate with correct pk (backport #18472) (#18503)
mergify[bot] Nov 17, 2023
60112c6
feat(server): cmd flag to disable colored logs (backport #18478) (#18…
mergify[bot] Nov 19, 2023
d79964b
build(deps): Bump github.com/cometbft/cometbft from 0.37.2 to 0.37.3 …
dependabot[bot] Nov 20, 2023
58b0cdd
Revert "build(deps): Bump github.com/cometbft/cometbft from 0.37.2 to…
julienrbrt Nov 20, 2023
55c6d55
fix(server): properly parse multiple gas config (backport #18537) (#1…
mergify[bot] Nov 22, 2023
044ff4d
build(deps): Bump github.com/cometbft/cometbft from 0.37.2 to 0.37.4 …
dependabot[bot] Nov 27, 2023
3c7a090
feat(x/gov): better gov genesis validation (backport #18707) (#18712)
mergify[bot] Dec 13, 2023
6309fa7
docs: add ante precision (backport #18709) (#18730)
mergify[bot] Dec 13, 2023
371744b
fix(x/auth): remove misleading gas wanted value from tx simulation fa…
mergify[bot] Dec 19, 2023
9c1fa8c
docs: add index page for learn section (backport #18777) (#18779)
mergify[bot] Dec 19, 2023
929e76b
docs: fix for links (backport #18816) (#18819)
mergify[bot] Dec 19, 2023
9e60114
fix(baseapp): Reset GasMeter before deliverTX v0.47.x backport (#18826)
Eric-Warehime Dec 20, 2023
d09f40d
chore: prepare v0.47.7 (#18765)
julienrbrt Dec 20, 2023
b912ccf
feat(client): add `WithFromName` to tx factory (backport #18852) (#18…
mergify[bot] Dec 21, 2023
1b809a4
perf: Speedup coins.Sort() when coins is of length 1 (backport #18875…
mergify[bot] Dec 23, 2023
5d406c1
perf: Speedup DecCoin.Sort() when coins is of length 1 (backport #188…
mergify[bot] Dec 26, 2023
67aee75
fix(server): consensus failure while restart node with wrong `chainId…
atheeshp Jan 3, 2024
bc8f3e6
test: add NodeURI for clientCtx (backport #18930) (#18988)
mergify[bot] Jan 9, 2024
f0a8560
chore: clean-up buf workspace (backport #18993) (#18998)
mergify[bot] Jan 10, 2024
9f277b7
build(deps): Bump cosmossdk.io/log from 1.2.1 to 1.3.0 (#19024)
dependabot[bot] Jan 11, 2024
6aed814
build(deps): Bump cosmossdk.io/errors from 1.0.0 to 1.0.1 (#19025)
dependabot[bot] Jan 11, 2024
1663a59
fix: allow empty public keys when setting signatures (backport #19106…
mergify[bot] Jan 19, 2024
4912bef
chore: prepare v0.47.8 (#19162)
julienrbrt Jan 22, 2024
e62c19c
docs: fix typo in 06-grpc_rest.md (backport #19192) (#19194)
mergify[bot] Jan 23, 2024
2a10f13
fix: skip same-sender non-sequential sequence and then add others txs…
mergify[bot] Jan 29, 2024
0a4370b
test(baseapp): Refactor tx selector tests + better comments (backpor…
mergify[bot] Feb 3, 2024
7df9bac
build(deps): Bump cosmossdk.io/log from 1.3.0 to 1.3.1 (#19359)
dependabot[bot] Feb 6, 2024
d99e1a7
chore: prepare v0.47.9 (#19451)
julienrbrt Feb 18, 2024
f80c985
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.2 to…
dependabot[bot] Feb 19, 2024
5412062
Merge pull request from GHSA-4j93-fm92-rp4m
julienrbrt Feb 19, 2024
f7dc97b
build(deps): Bump cosmossdk.io/math from 1.2.0 to 1.3.0 (#19564)
dependabot[bot] Feb 26, 2024
792b6da
fix: use proper `db_backend` type when reading chain-id (#19573)
k-yang Feb 27, 2024
d1b5b0c
Merge pull request from GHSA-86h5-xcpx-cfqc
catShaark Feb 27, 2024
1cf2940
build(deps): Bump deps (backport #19655) (#19712)
mergify[bot] Mar 11, 2024
6b11b65
fix(x/gov): grpc query tally for failed proposal (backport #19725) (#…
mergify[bot] Mar 12, 2024
b9b1324
fix(crypto): error if incorrect ledger public key (backport #19691) (…
mergify[bot] Mar 13, 2024
cdb519f
build(deps): Bump github.com/cometbft/cometbft from 0.37.4 to 0.37.5 …
dependabot[bot] Mar 14, 2024
ddfb854
Merge remote-tracking branch 'origin/release/v0.47.x' into faddat/bum…
faddat Mar 20, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/dependencies-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.21"
check-latest: true
- name: "Checkout Repository"
uses: actions/checkout@v3
Expand Down
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,77 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

### Bug Fixes

* (x/gov) [#19725](https://github.com/cosmos/cosmos-sdk/pull/19725) Fetch a failed proposal tally from proposal.FinalTallyResult in the gprc query.
* (crypto) [#19691](https://github.com/cosmos/cosmos-sdk/pull/19746) Fix tx sign doesn't throw an error when incorrect Ledger is used.

## [v0.47.10](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.10) - 2024-02-27

### Bug Fixes

* (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)
* (server) [#19573](https://github.com/cosmos/cosmos-sdk/pull/19573) Use proper `db_backend` type when reading chain-id

## [v0.47.9](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.9) - 2024-02-19

### Bug Fixes

* (x/auth/vesting) [GHSA-4j93-fm92-rp4m](#bug-fixes) Add `BlockedAddr` check in `CreatePeriodicVestingAccount`.
* (baseapp) [#19177](https://github.com/cosmos/cosmos-sdk/pull/19177) Fix baseapp `DefaultProposalHandler` same-sender non-sequential sequence.

## [v0.47.8](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.8) - 2024-01-22

### Improvements

* (client/tx) [#18852](https://github.com/cosmos/cosmos-sdk/pull/18852) Add `WithFromName` to tx factory.
* (types) [#18875](https://github.com/cosmos/cosmos-sdk/pull/18875) Speedup coins.Sort() if len(coins) <= 1.
* (types) [#18888](https://github.com/cosmos/cosmos-sdk/pull/18888) Speedup DecCoin.Sort() if len(coins) <= 1
* (testutil) [#18930](https://github.com/cosmos/cosmos-sdk/pull/18930) Add NodeURI for clientCtx.

### Bug Fixes

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

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

### Improvements

* (x/gov) [#18707](https://github.com/cosmos/cosmos-sdk/pull/18707) Improve genesis validation.
* (server) [#18478](https://github.com/cosmos/cosmos-sdk/pull/18478) Add command flag to disable colored logs.

### Bug Fixes

* (baseapp) [#18609](https://github.com/cosmos/cosmos-sdk/issues/18609) Fixed accounting in the block gas meter after BeginBlock and before DeliverTx, ensuring transaction processing always starts with the expected zeroed out block gas meter.
* (server) [#18537](https://github.com/cosmos/cosmos-sdk/pull/18537) Fix panic when defining minimum gas config as `100stake;100uatom`. Use a `,` delimiter instead of `;`. Fixes the server config getter to use the correct delimiter.
* (client/tx) [#18472](https://github.com/cosmos/cosmos-sdk/pull/18472) Utilizes the correct Pubkey when simulating a transaction.

## [v0.47.6](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.6) - 2023-11-14

### Features

* (server) [#18110](https://github.com/cosmos/cosmos-sdk/pull/18110) Start gRPC & API server in standalone mode.

### Improvements

* (baseapp) [#17954](https://github.com/cosmos/cosmos-sdk/issues/17954) Add `Mempool()` method on `BaseApp` to allow access to the mempool.
* (x/gov) [#17780](https://github.com/cosmos/cosmos-sdk/pull/17780) Recover panics and turn them into errors when executing x/gov proposals.

### Bug Fixes

* (server) [#18254](https://github.com/cosmos/cosmos-sdk/pull/18254) Don't hardcode gRPC address to localhost.
* (server) [#18251](https://github.com/cosmos/cosmos-sdk/pull/18251) Call `baseapp.Close()` when app started as grpc only.
* (baseapp) [#17769](https://github.com/cosmos/cosmos-sdk/pull/17769) Ensure we respect block size constraints in the `DefaultProposalHandler`'s `PrepareProposal` handler when a nil or no-op mempool is used. We provide a `TxSelector` type to assist in making transaction selection generalized. We also fix a comparison bug in tx selection when `req.maxTxBytes` is reached.
* (config) [#17649](https://github.com/cosmos/cosmos-sdk/pull/17649) Fix `mempool.max-txs` configuration is invalid in `app.config`.
* (mempool) [#17668](https://github.com/cosmos/cosmos-sdk/pull/17668) Fix `PriorityNonceIterator.Next()` nil pointer ref for min priority at the end of iteration.
* (x/auth) [#17902](https://github.com/cosmos/cosmos-sdk/pull/17902) Remove tip posthandler.
* (x/bank) [#18107](https://github.com/cosmos/cosmos-sdk/pull/18107) Add missing keypair of SendEnabled to restore legacy param set before migration.

### Client Breaking Changes

* (x/gov) [#17910](https://github.com/cosmos/cosmos-sdk/pull/17910) Remove telemetry for counting votes and proposals. It was incorrectly counting votes. Use alternatives, such as state streaming.

## [v0.47.5](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5) - 2023-09-01

### Features
Expand Down
21 changes: 12 additions & 9 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# Cosmos SDK v0.47.5 Release Notes
# Cosmos SDK v0.47.10 Release Notes

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

## 🚀 Highlights

Get ready for v0.50.0 and start integrating with the next [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.0-rc.0) release.
This early monthly patch release fixes [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc).

For this 5th patch release of the `v0.47.x` line, some of the notable changes include:
We recommended to upgrade to this patch release as soon as possible.
When upgrading from <= v0.47.9, please ensure that 2/3 of the validator power upgrade to v0.47.10.

* A new command for importing private keys encoded in hex. This complements the existing `import` command that supports mnemonic and key files.
Use `<appd> keys import <name> <hex>` to import a private key encoded in hex.
* A new command, `rpc.QueryEventForTxCmd` for querying a transaction by its hash and blocking until the transaction is included in a block. It is useful as an alternative to the legacy `--sync block`.
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.

Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.47.5/CHANGELOG.md) for an exhaustive list of changes or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/release/v0.47.4...v0.47.5) from last release.
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`.

Refer to the [upgrading guide](https://github.com/cosmos/cosmos-sdk/blob/release/v0.47.x/UPGRADING.md) when migrating from `v0.46.x` to `v0.47.0`.
## Maintenance Policy

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.

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.
6 changes: 3 additions & 3 deletions api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ module cosmossdk.io/api
go 1.19

require (
github.com/cosmos/cosmos-proto v1.0.0-beta.2
github.com/cosmos/cosmos-proto v1.0.0-beta.4
github.com/cosmos/gogoproto v1.4.10
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4
google.golang.org/grpc v1.55.0
google.golang.org/protobuf v1.30.0
google.golang.org/protobuf v1.32.0
)

require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
golang.org/x/exp v0.0.0-20230131160201-f062dba9d201 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/sys v0.7.0 // indirect
Expand Down
12 changes: 6 additions & 6 deletions api/go.sum
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
github.com/cosmos/cosmos-proto v1.0.0-beta.2 h1:X3OKvWgK9Gsejo0F1qs5l8Qn6xJV/AzgIWR2wZ8Nua8=
github.com/cosmos/cosmos-proto v1.0.0-beta.2/go.mod h1:+XRCLJ14pr5HFEHIUcn51IKXD1Fy3rkEQqt4WqmN4V0=
github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU=
github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co=
github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoKuI=
github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
golang.org/x/exp v0.0.0-20230131160201-f062dba9d201 h1:BEABXpNXLEz0WxtA+6CQIz2xkg80e+1zrhWyMcq8VzE=
golang.org/x/exp v0.0.0-20230131160201-f062dba9d201/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
golang.org/x/net v0.9.0 h1:aWJ/m6xSmxWBx+V0XRHTlrYrPG56jKsLdTFmsSsCzOM=
Expand All @@ -23,5 +23,5 @@ google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag=
google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
4 changes: 4 additions & 0 deletions baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ func (app *BaseApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeg
}
}

// Reset the gas meter so that the AnteHandlers aren't required to
gasMeter = app.getBlockGasMeter(app.deliverState.ctx)
app.deliverState.ctx = app.deliverState.ctx.WithBlockGasMeter(gasMeter)

return res
}

Expand Down
Loading