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

Bring in upstream changes through v0.46.13 #572

Merged
merged 51 commits into from
Jun 9, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
a8556b6
fix: create snapshot dir for rocksdb backend (backport #15054) (#15065)
mergify[bot] Feb 17, 2023
5848fd3
chore: Add check for uneven stores' height (backport #14410) (#15115)
mergify[bot] Feb 21, 2023
8499d16
refactor!: remove store v2alpha1 (#15152)
julienrbrt Feb 24, 2023
3aaaf2c
build: use cometbft in v0.46 (#15090)
julienrbrt Feb 24, 2023
f1ec5fe
chore: bump cometbft to v0.34.27 final (#15206)
julienrbrt Feb 27, 2023
1229bd1
fix: Change proposer address cast for `sdk_block` conversion (backpor…
mergify[bot] Mar 2, 2023
578c160
fix: revert double close fix (#15255)
julienrbrt Mar 3, 2023
5023392
chore: prepare v0.46.11 release (#15259)
julienrbrt Mar 3, 2023
570392a
feat: add extend cb to avoid unmarshal state twice for sim test (back…
mmsqe Mar 9, 2023
f939979
feat: add extend cb with genesisState for sim test (backport: #15305)…
mmsqe Mar 10, 2023
f382e43
fix: add extra check in vesting (backport #15373) (#15383)
mergify[bot] Mar 14, 2023
e1da9c5
docs: update cosmwasm link (#15441)
tac0turtle Mar 17, 2023
431e42a
fix: remove extra `;` in service.proto (#15443)
julienrbrt Mar 17, 2023
8726f42
fix: flaky group genesis sim (backport #15447) (#15461)
mergify[bot] Mar 20, 2023
31adbba
feat: add delegator to withdraw address (backport #15462) (#15473)
mergify[bot] Mar 20, 2023
8d053c2
docs: improve proto vesting docs about time attributes (backport #154…
mergify[bot] Mar 20, 2023
cc39456
feat: add query `groups` in `x/group` (backport #14879) (#15476)
mergify[bot] Mar 20, 2023
cb26943
fix: Makefile rocksdb (backport #15422) (#15525)
mergify[bot] Mar 23, 2023
f89d955
fix(x/gov): Return ErrInvalidProposalContent in SubmitProposal when l…
yihuang Apr 3, 2023
152465b
fix: remove unnecessary cms typecasting (backport #14054) (#15669)
mergify[bot] Apr 3, 2023
5cd0b23
chore: prepare v0.46.12 release notes (#15685)
julienrbrt Apr 4, 2023
1a47cb2
fix: upstream error on empty version (backport #13355) (#15717)
mergify[bot] Apr 6, 2023
95f529e
feat: More flexibility for `CacheMultiStoreWithVersion` (backport #15…
mergify[bot] Apr 11, 2023
742856f
feat: add moduleStateCb to allow access moduleState in sim test (back…
mergify[bot] Apr 24, 2023
83eef6b
build(deps): bump cometbft to v0.34.28 (#15973)
julienrbrt Apr 28, 2023
5e199ca
chore(gov): improve proposal conversion error message (backport #1597…
mergify[bot] Apr 28, 2023
738220a
feat!: bootstrap comet cmd for local state sync (backport #16061) (#…
mergify[bot] May 10, 2023
dcf04af
chore(auth/vesting): fix typo in `create-period-vesting-account` cmd …
mergify[bot] May 10, 2023
10cc30f
feat: add local snapshots management commands (backport #16067) (#16103)
mergify[bot] May 12, 2023
5472fb5
fix: snapshot commands panic if snapshot don't exists (backport #1613…
mergify[bot] May 13, 2023
557da6e
feat: add Close method for resource cleanup in graceful shutdown (bac…
mergify[bot] May 19, 2023
5b02d46
feat: save restored snapshot locally (backport #16060) (#16262)
mergify[bot] May 24, 2023
a9abe1c
chore: update sidebar v0.46 (#16304)
julienrbrt May 26, 2023
59f6714
chore: add baseapp circuit breaker setter (#16289)
tac0turtle May 26, 2023
265b8a6
fix: allow any address in `ValidatePromptAddress` (backport #16312) (…
mergify[bot] May 26, 2023
863ad92
feat(group): add group event tally result (backport #16191) (#16306)
mergify[bot] May 26, 2023
5b4c593
fix: Revert "fix(x/gov): Return ErrInvalidProposalContent in SubmitPr…
yihuang May 30, 2023
26405d9
chore: prepare v0.46.13 (#16249)
julienrbrt Jun 2, 2023
67f33bd
chore: small snapshot commands & docs improvement (backport #16404) (…
mergify[bot] Jun 2, 2023
9f649b4
Merge tag 'v0.46.11' into prov/dwedul/bump-to-0.46.13
SpicyLemon Jun 2, 2023
7d43a5a
Add the quarantine and sanction stores to the import-export sim test.
SpicyLemon Jun 2, 2023
d605ffa
Merge tag 'v0.46.12' into prov/dwedul/bump-to-0.46.13
SpicyLemon Jun 2, 2023
7ee7809
refactor: avoid breaking change due to #16415 included in v0.50 (back…
mergify[bot] Jun 6, 2023
d4b7164
chore: prepare v0.46.13 (2/2) (#16443)
julienrbrt Jun 8, 2023
fd90480
fix: patch barberry (#16466)
julienrbrt Jun 8, 2023
476aaa4
Merge branch 'main-pio' into prov/dwedul/bump-to-0.46.13
SpicyLemon Jun 8, 2023
dec6c7c
Merge tag 'v0.46.13' into prov/dwedul/bump-to-0.46.13
SpicyLemon Jun 8, 2023
8f0c6d2
Better gov prop error handling.
SpicyLemon Jun 8, 2023
648bf54
Fix the group sims random genesis so it can't pick the same account t…
SpicyLemon Jun 8, 2023
be8a998
Add changelog entries.
SpicyLemon Jun 8, 2023
ca1fee0
Regen the swagger docs.
SpicyLemon Jun 8, 2023
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
Prev Previous commit
Next Next commit
chore: prepare v0.46.13 (cosmos#16249)
  • Loading branch information
julienrbrt committed Jun 2, 2023
commit 26405d9b81f8653cb5bf3a8569359a910ccdbf81
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,21 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [v0.46.13](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.13) - 2022-06-05

## Features

* (snapshots) [#16060](https://github.com/cosmos/cosmos-sdk/pull/16060) Support saving and restoring snapshot locally.
* (baseapp) [#16290](https://github.com/cosmos/cosmos-sdk/pull/16290) Add circuit breaker setter in baseapp.
* [#16060](https://github.com/cosmos/cosmos-sdk/pull/16060) Support saving restoring snapshot locally.
* (x/group) [#16191](https://github.com/cosmos/cosmos-sdk/pull/16191) Add EventProposalPruned event to group module whenever a proposal is pruned.

### Improvements

* (deps) [#15973](https://github.com/cosmos/cosmos-sdk/pull/15973) Bump CometBFT to [v0.34.28](https://github.com/cometbft/cometbft/blob/v0.34.28/CHANGELOG.md#v03428).
* (store) [#15683](https://github.com/cosmos/cosmos-sdk/pull/15683) `rootmulti.Store.CacheMultiStoreWithVersion` now can handle loading archival states that don't persist any of the module stores the current state has.
* (simapp) [#15903](https://github.com/cosmos/cosmos-sdk/pull/15903) Add `AppStateFnWithExtendedCbs` with moduleStateCb callback function to allow access moduleState. Note, this function is present in simtestutil from `v0.47.2+`.
* (simapp) [#15903](https://github.com/cosmos/cosmos-sdk/pull/15903) Add `AppStateFnWithExtendedCbs` with moduleStateCb callback function to allow access moduleState. Note, this function is present in `simtestutil` from `v0.47.2+`.
* (gov) [#15979](https://github.com/cosmos/cosmos-sdk/pull/15979) Improve gov error message when failing to convert v1 proposal to v1beta1.
* (server) [#16061](https://github.com/cosmos/cosmos-sdk/pull/16061) add comet bootstrap command
* (server) [#16061](https://github.com/cosmos/cosmos-sdk/pull/16061) Add Comet bootstrap command.
* (store) [#16067](https://github.com/cosmos/cosmos-sdk/pull/16067) Add local snapshots management commands.
* (baseapp) [#16193](https://github.com/cosmos/cosmos-sdk/pull/16193) Add `Close` method to `BaseApp` for custom app to cleanup resource in graceful shutdown.

Expand Down
13 changes: 10 additions & 3 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# Cosmos SDK v0.46.13 Release Notes

<!-- TODO -->
This release includes a few improvements and bug fixes.
Notably, a bump to [CometBFT v0.34.28](https://github.com/cometbft/cometbft/blob/v0.34.28/CHANGELOG.md#v03428).
Additionally, it includes new commands for snapshots management and bootstrapping from a local snapshot.
Add `snapshot.Cmd(appCreator)` to your chain root command for using it.

Note, from `v0.46.11`+, the following replace is *mandatory* in the `go.mod` of your application:
Did you know Cosmos SDK Twilight (a.k.a v0.47) has been released? Upgrade easily by reading the [upgrading guide](https://github.com/cosmos/cosmos-sdk/blob/release/v0.47.x/UPGRADING.md#v047x).

Ensure you have the following replaces in the `go.mod` of your application:

```go
// use cometbft
replace github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.28
// replace broken goleveldb
replace github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
```

Please see the [CHANGELOG](https://github.com/cosmos/cosmos-sdk/blob/release/v0.46.x/CHANGELOG.md) for an exhaustive list of changes.

**Full Commit History**: https://github.com/cosmos/cosmos-sdk/compare/v0.46.12...v0.46.13
**Full Commit History**: https://github.com/cosmos/cosmos-sdk/compare/v0.46.12...v0.46.13
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/cosmos/cosmos-proto v1.0.0-alpha7
github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1
github.com/cosmos/go-bip39 v1.0.0
github.com/cosmos/iavl v0.19.5
github.com/cosmos/iavl v0.19.6
github.com/cosmos/ledger-cosmos-go v0.12.2
github.com/gogo/gateway v1.1.0
github.com/gogo/protobuf v1.3.2
Expand Down Expand Up @@ -171,13 +171,15 @@ replace (
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
github.com/jhump/protoreflect => github.com/jhump/protoreflect v1.9.0
// Downgraded to avoid bugs in following commits which caused simulations to fail.
// replace broken goleveldb.
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
// use cometbft
github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.28
)

retract (
// revert fix https://github.com/cosmos/cosmos-sdk/pull/16331
v0.46.12
// subject to a bug in the group module and gov module migration
[v0.46.5, v0.46.6]
// subject to the dragonberry vulnerability
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y=
github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw=
github.com/cosmos/iavl v0.19.5 h1:rGA3hOrgNxgRM5wYcSCxgQBap7fW82WZgY78V9po/iY=
github.com/cosmos/iavl v0.19.5/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw=
github.com/cosmos/iavl v0.19.6 h1:XY78yEeNPrEYyNCKlqr9chrwoeSDJ0bV2VjocTk//OU=
github.com/cosmos/iavl v0.19.6/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw=
github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo=
github.com/cosmos/keyring v1.2.0/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA=
github.com/cosmos/ledger-cosmos-go v0.12.2 h1:/XYaBlE2BJxtvpkHiBm97gFGSGmYGKunKyF3nNqAXZA=
Expand Down