forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Release: v0.50.9 neutron #47
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d975e01
chore(simapp): use tagged version (#20951)
julienrbrt 711d86a
fix: include pagination.key at reverse mode (backport #20939) (#20954)
mergify[bot] 28721bc
build(deps): Bump github.com/cometbft/cometbft from 0.38.9 to 0.38.10…
dependabot[bot] 451683b
fix(client/v2): use (PREFIX)_HOME instead of NODE_HOME (backport #209…
mergify[bot] 7d0d59d
fix(client/grpc): `node.NewQueryServer` method not setting `cfg` (bac…
mergify[bot] eb71828
fix: NewIntegrationApp does not write default genesis to state (backp…
mergify[bot] 564cc4d
fix(crypto): revert #20438 (#21019)
facundomedica 0702719
feat: use depinject v1.0.0 (#21000)
julienrbrt e135030
fix(runtime): remove `appv1alpha1.Config` from runtime (backport #210…
mergify[bot] 91d412c
feat: check latest block if no arg in `q block` and `q block-results`…
mergify[bot] ffd5696
fix(simapp): concurrent map writes when calling GetSigners (backport …
mergify[bot] 31ef899
docs: Fix cli usage examples (backport #21150) (#21154)
mergify[bot] a565daa
chore: bring in v0.13.x x/tx in release/v0.50.x (#21158)
julienrbrt 3fc8074
build(deps): Bump cosmossdk.io/x/tx from 0.13.3 to 0.13.4 (#21170)
dependabot[bot] 3f6796f
fix(baseapp): return events from preblocker in FinalizeBlockResponse …
mergify[bot] 16d3025
chore: prepare v0.50.9 (#21163)
julienrbrt 8bfcf55
ci: attempt to fix goreleaser (backport #21194) (#21196)
mergify[bot] 6deac97
Merge commit '8bfcf554275c1efbb42666cc8510d2da139b67fa' into release/…
pr0n00gler 6beaedc
Merge branch 'neutron' into release/v0.50.x-neutron
pr0n00gler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ snapshot: | |
name_template: SNAPSHOT-{{ .Commit }} | ||
|
||
changelog: | ||
skip: false | ||
disable: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# Cosmos SDK v0.50.8 Release Notes | ||
# Cosmos SDK v0.50.9 Release Notes | ||
|
||
💬 [**Release Discussion**](https://github.com/orgs/cosmos/discussions/58) | ||
|
||
## 🚀 Highlights | ||
|
||
For this month patch release of the v0.50.x line, a few improvements were added to the SDK and some bugs were fixed. | ||
For this month patch release of the v0.50.x line, some bugs were fixed. | ||
|
||
Notably, we added and fixed the following: | ||
Notably, we fixed the following: | ||
|
||
* Allow to import private key from mnemonic file using `<appd> keys add testing --recover --source ./mnemonic.txt` | ||
* Fixed the json parsing in `simd q wait-tx` | ||
* `PreBlock` events (mainly `x/upgrade`) are now emitted | ||
* Improve compatibility of depinject v1.0.0 with `app.yaml` / `app.json` | ||
|
||
## 📝 Changelog | ||
|
||
Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.50.8/CHANGELOG.md) for an exhaustive list of changes, or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/v0.50.7...v0.50.8) from the last release. | ||
Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.50.9/CHANGELOG.md) for an exhaustive list of changes, or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/v0.50.8...v0.50.9) from the 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.1`. | ||
Note, that the next SDK release, v0.51, will not include `x/params` migration, when migrating from < v0.47, v0.50.x **or** v0.47.x, is a mandatory migration. | ||
Note, that the next SDK release, v0.52, will not include `x/params` migration, when migrating from < v0.47, v0.50.x **or** v0.47.x, is a mandatory migration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -704,12 +704,13 @@ func (app *BaseApp) cacheTxContext(ctx sdk.Context, txBytes []byte) (sdk.Context | |
return ctx.WithMultiStore(msCache), msCache | ||
} | ||
|
||
func (app *BaseApp) preBlock(req *abci.RequestFinalizeBlock) error { | ||
func (app *BaseApp) preBlock(req *abci.RequestFinalizeBlock) ([]abci.Event, error) { | ||
var events []abci.Event | ||
if app.preBlocker != nil { | ||
ctx := app.finalizeBlockState.Context() | ||
rsp, err := app.preBlocker(ctx, req) | ||
if err != nil { | ||
return err | ||
return nil, err | ||
} | ||
// rsp.ConsensusParamsChanged is true from preBlocker means ConsensusParams in store get changed | ||
// write the consensus parameters in store to context | ||
Comment on lines
704
to
716
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change potentially affects state. Call sequence:
|
||
|
@@ -720,8 +721,9 @@ func (app *BaseApp) preBlock(req *abci.RequestFinalizeBlock) error { | |
ctx = ctx.WithBlockGasMeter(gasMeter) | ||
app.finalizeBlockState.SetContext(ctx) | ||
} | ||
events = ctx.EventManager().ABCIEvents() | ||
} | ||
return nil | ||
return events, nil | ||
} | ||
|
||
func (app *BaseApp) beginBlock(_ *abci.RequestFinalizeBlock) (sdk.BeginBlock, error) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change potentially affects state.
Call sequence: