Skip to content

Commit 943a6fe

Browse files
Merge branch 'main' into akhil/concurrent-export-genesis
2 parents 5c99189 + 4666e1d commit 943a6fe

Some content is hidden

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

59 files changed

+1115
-549
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
/x/accounts/ @testinginprod @sontrinh16 @cosmos/sdk-core-dev
4646
/x/auth/ @facundomedica @testinginprod @aaronc @cosmos/sdk-core-dev
47+
/x/auth/tx/config @julienrbrt @akhilkumarpilli @kocubinski @cosmos/sdk-core-dev
4748
/x/authz/ @akhilkumarpilli @raynaudoe @cosmos/sdk-core-dev
4849
/x/bank/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev
4950
/x/bank/v2 @julienrbrt @hieuvubk @akhilkumarpilli @cosmos/sdk-core-dev
@@ -65,6 +66,7 @@
6566
/x/staking/ @facundomedica @testinginprod @JulianToledano @ziscky @cosmos/sdk-core-dev
6667
/x/tx/ @kocubinski @testinginprod @aaronc @cosmos/sdk-core-dev
6768
/x/upgrade/ @facundomedica @cool-develope @akhilkumarpilli @lucaslopezf @cosmos/sdk-core-dev
69+
/x/validate @julienrbrt @akhilkumarpilli @kocubinski @cosmos/sdk-core-dev
6870

6971
# go mods
7072

.github/pr_labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
- x/upgrade/**/*
8181
"C:x/epochs":
8282
- x/epochs/**/*
83+
"C:x/validate":
84+
- x/validate/**/*
8385
"C:server/v2":
8486
- server/v2/**/*
8587
"C:server/v2 stf":

CHANGELOG.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,23 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
4343
### Features
4444

4545
* (baseapp) [#20291](https://github.com/cosmos/cosmos-sdk/pull/20291) Simulate nested messages.
46-
* (cli) [#21372](https://github.com/cosmos/cosmos-sdk/pull/21372) Add a `bulk-add-genesis-account` genesis command to add many genesis accounts at once.
4746
* (crypto/keyring) [#21653](https://github.com/cosmos/cosmos-sdk/pull/21653) New Linux-only backend that adds Linux kernel's `keyctl` support.
4847
* (runtime) [#21704](https://github.com/cosmos/cosmos-sdk/pull/21704) Add StoreLoader in simappv2.
48+
* (client/keys) [#21829](https://github.com/cosmos/cosmos-sdk/pull/21829) Add support for importing hex key using standard input.
49+
* (x/validate) [#21822](https://github.com/cosmos/cosmos-sdk/pull/21822) New module solely responsible for providing ante/post handlers and tx validators for v2. It can be extended by the app developer to provide extra tx validators.
50+
* In comparison to x/auth/tx/config, there is no app config to skip ante/post handlers, as overwriting them in baseapp or not injecting the x/validate module has the same effect.
4951

5052
### Improvements
5153

52-
* (genutil) [#21701](https://github.com/cosmos/cosmos-sdk/pull/21701) Improved error messages for genesis validation.
5354
* (sims) [#21613](https://github.com/cosmos/cosmos-sdk/pull/21613) Add sims2 framework and factory methods for simpler message factories in modules
54-
* (testutil/integration) [#21816](https://github.com/cosmos/cosmos-sdk/pull/21816) Allow to pass baseapp options in `NewIntegrationApp`.
5555

5656
### Bug Fixes
5757

58-
* (baseapp) [#21256](https://github.com/cosmos/cosmos-sdk/pull/21256) Halt height will not commit the block indicated, meaning that if halt-height is set to 10, only blocks until 9 (included) will be committed. This is to go back to the original behavior before a change was introduced in v0.50.0.
59-
* (runtime) [#21769](https://github.com/cosmos/cosmos-sdk/pull/21769) Fix baseapp options ordering to avoid overwriting options set by modules.
60-
6158
### API Breaking Changes
6259

6360
* (types/mempool) [#21744](https://github.com/cosmos/cosmos-sdk/pull/21744) Update types/mempool.Mempool interface to take decoded transactions. This avoid to decode the transaction twice.
61+
* (x/auth/tx/config) [#21822](https://github.com/cosmos/cosmos-sdk/pull/21822) Sign mode textual is no more automatically added to tx config when using runtime. Should be added manually on the server side.
62+
* (x/auth/tx/config) [#21822](https://github.com/cosmos/cosmos-sdk/pull/21822) This depinject module now only provide txconfig and tx config options. `x/validate` now handles the providing of ante/post handlers, alongside tx validators for v2. The corresponding app config options have been removed from the depinject module config.
6463

6564
### Deprecated
6665

@@ -239,6 +238,28 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
239238
* (module) [#19370](https://github.com/cosmos/cosmos-sdk/pull/19370) Deprecate `module.Configurator`, use `appmodule.HasMigrations` and `appmodule.HasServices` instead from Core API.
240239
* (types) [#21435](https://github.com/cosmos/cosmos-sdk/pull/21435) The `String()` method on `AccAddress`, `ValAddress` and `ConsAddress` have been deprecated. This is done because those are still using the deprecated global `sdk.Config`. Use an `address.Codec` instead.
241240

241+
## [v0.50.10](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.10) - 2024-09-20
242+
243+
## Features
244+
245+
* (cli) [#20779](https://github.com/cosmos/cosmos-sdk/pull/20779) Added `module-hash-by-height` command to query and retrieve module hashes at a specified blockchain height, enhancing debugging capabilities.
246+
* (cli) [#21372](https://github.com/cosmos/cosmos-sdk/pull/21372) Added a `bulk-add-genesis-account` genesis command to add many genesis accounts at once.
247+
* (types/collections) [#21724](https://github.com/cosmos/cosmos-sdk/pull/21724) Added `LegacyDec` collection value.
248+
249+
### Improvements
250+
251+
* (x/bank) [#21460](https://github.com/cosmos/cosmos-sdk/pull/21460) Added `Sender` attribute in `MsgMultiSend` event.
252+
* (genutil) [#21701](https://github.com/cosmos/cosmos-sdk/pull/21701) Improved error messages for genesis validation.
253+
* (testutil/integration) [#21816](https://github.com/cosmos/cosmos-sdk/pull/21816) Allow to pass baseapp options in `NewIntegrationApp`.
254+
255+
### Bug Fixes
256+
257+
* (runtime) [#21769](https://github.com/cosmos/cosmos-sdk/pull/21769) Fix baseapp options ordering to avoid overwriting options set by modules.
258+
* (x/consensus) [#21493](https://github.com/cosmos/cosmos-sdk/pull/21493) Fix regression that prevented to upgrade to > v0.50.7 without consensus version params.
259+
* (baseapp) [#21256](https://github.com/cosmos/cosmos-sdk/pull/21256) Halt height will not commit the block indicated, meaning that if halt-height is set to 10, only blocks until 9 (included) will be committed. This is to go back to the original behavior before a change was introduced in v0.50.0.
260+
* (baseapp) [#21444](https://github.com/cosmos/cosmos-sdk/pull/21444) Follow-up, Return PreBlocker events in FinalizeBlockResponse.
261+
* (baseapp) [#21413](https://github.com/cosmos/cosmos-sdk/pull/21413) Fix data race in sdk mempool.
262+
242263
## [v0.50.9](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.9) - 2024-08-07
243264

244265
## Bug Fixes
@@ -747,6 +768,13 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
747768
* (x/staking) [#14567](https://github.com/cosmos/cosmos-sdk/pull/14567) The `delegator_address` field of `MsgCreateValidator` has been deprecated.
748769
The validator address bytes and delegator address bytes refer to the same account while creating validator (defer only in bech32 notation).
749770

771+
## [v0.47.14](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.14) - 2024-09-20
772+
773+
### Improvements
774+
775+
* [#21295](https://github.com/cosmos/cosmos-sdk/pull/21295) Bump to gogoproto v1.7.0.
776+
* [#21295](https://github.com/cosmos/cosmos-sdk/pull/21295) Remove usage of `slices.SortFunc` due to API break in used versions.
777+
750778
## [v0.47.13](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.13) - 2024-07-15
751779

752780
### Bug Fixes

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ contributors, the general procedure for contributing has been established:
4848
to begin work.
4949
5. To submit your work as a contribution to the repository follow standard GitHub best practices. See [pull request guideline](#pull-requests) below.
5050

51-
**Note:** For very small or blatantly obvious problems, you are
51+
**Note 1:** For very small or blatantly obvious problems, you are
5252
not required to an open issue to submit a PR, but be aware that for more complex
5353
problems/features, if a PR is opened before an adequate design discussion has
5454
taken place in a GitHub issue, that PR runs a high likelihood of being rejected.
@@ -128,9 +128,7 @@ NOTE: when merging, GitHub will squash commits and rebase on top of the main.
128128

129129
### Pull Request Templates
130130

131-
There are three PR templates. The [default template](./.github/PULL_REQUEST_TEMPLATE.md) is for types `fix`, `feat`, and `refactor`. We also have a [docs template](./.github/PULL_REQUEST_TEMPLATE/docs.md) for documentation changes. When previewing a PR before it has been opened, you can change the template by adding one of the following parameters to the url:
132-
133-
* `template=docs.md`
131+
There are three PR templates. The [default template](./.github/PULL_REQUEST_TEMPLATE.md) is used for PR types such as `fix`, `feat`,`docs`, and `refactor`, among others. These are just a few examples. For more details, please refer to the default template.
134132

135133
### Pull Request Accountability
136134

RELEASE_PROCESS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ Their responsibilities include:
212212

213213
Currently residing Stable Release Managers:
214214

215-
* @tac0turtle - Marko Baricevic
216-
* @julienrbrt - Julien Robert
217-
215+
* [@tac0turtle - Marko Baricevic](https://github.com/tac0turtle)
216+
* [@julienrbrt - Julien Robert](https://github.com/julienrbrt)
217+
218218
## Cosmos SDK Modules Tagging Strategy
219219

220220
The Cosmos SDK repository is a mono-repo where its Go modules have a different release process and cadence than the Cosmos SDK itself.

UPGRADING.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ For non depinject users, simply call `RegisterLegacyAminoCodec` and `RegisterInt
106106

107107
Additionally, thanks to the genesis simplification, as explained in [the genesis interface update](#genesis-interface), the module manager `InitGenesis` and `ExportGenesis` methods do not require the codec anymore.
108108

109-
##### GRPC WEB
109+
##### gRPC Web
110110

111111
Grpc-web embedded client has been removed from the server. If you would like to use grpc-web, you can use the [envoy proxy](https://www.envoyproxy.io/docs/envoy/latest/start/start). Here's how to set it up:
112112

@@ -319,6 +319,11 @@ used as a TTL for the transaction and is used to provide replay protection. See
319319
[ADR-070](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-070-unordered-transactions.md)
320320
for more details.
321321

322+
#### Sign Mode Textual
323+
324+
With the split of `x/auth/tx/config` in two (x/auth/tx/config as depinject module for txconfig and tx options) and `x/validate`, sign mode textual is no more automatically configured when using runtime (it was previously the case).
325+
For the same instructions than for legacy app wiring to enable sign mode textual (see in v0.50 UPGRADING documentation).
326+
322327
### Depinject `app_config.go` / `app.yml`
323328

324329
With the introduction of [environment in modules](#core-api), depinject automatically creates the environment for all modules.
@@ -459,7 +464,7 @@ if err != nil {
459464
}
460465
```
461466

462-
### `x/crisis`
467+
#### `x/crisis`
463468

464469
The `x/crisis` module was removed due to it not being supported or functional any longer.
465470

@@ -503,6 +508,11 @@ storetypes.StoreUpgrades{
503508
}
504509
```
505510

511+
#### `x/validate`
512+
513+
Introducing `x/validate` a module that is solely used for registering default ante/post handlers and global tx validators when using runtime and runtime/v2. If you wish to set your custom ante/post handlers, no need to use this module.
514+
You can however always extend them by adding extra tx validators (see `x/validate` documentation).
515+
506516
## [v0.50.x](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.0-alpha.0)
507517

508518
### Migration to CometBFT (Part 2)

0 commit comments

Comments
 (0)