Skip to content

Commit a37274f

Browse files
author
likhita-809
committed
Merge branch 'main' of https://github.com/cosmos/cosmos-sdk into likhita/mint-max-supply
2 parents bd96c8e + d54e940 commit a37274f

Some content is hidden

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

95 files changed

+1360
-1220
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,13 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
5555
* (gRPC) [#19049](https://github.com/cosmos/cosmos-sdk/pull/19049) Add debug log prints for each gRPC request.
5656
* (x/consensus) [#19483](https://github.com/cosmos/cosmos-sdk/pull/19483) Add consensus messages registration to consensus module.
5757
* (types) [#19759](https://github.com/cosmos/cosmos-sdk/pull/19759) Align SignerExtractionAdapter in PriorityNonceMempool Remove.
58+
* (client) [#19870](https://github.com/cosmos/cosmos-sdk/pull/19870) Add new query command `wait-tx`. Alias `event-query-tx-for` to `wait-tx` for backward compatibility.
5859

5960
### Improvements
6061

62+
* (server) [#19854](https://github.com/cosmos/cosmos-sdk/pull/19854) Add customizability to start command.
63+
* Add `StartCmdOptions` in `server.AddCommands` instead of `servertypes.ModuleInitFlags`. To set custom flags set them in the `StartCmdOptions` struct on the `AddFlags` field.
64+
* Add `StartCommandHandler` to `StartCmdOptions` to allow custom start command handlers. Users now have total control over how the app starts.
6165
* (types) [#19672](https://github.com/cosmos/cosmos-sdk/pull/19672) `PreBlock` now returns only an error for consistency with server/v2. The SDK has upgraded x/upgrade accordingly. `ResponsePreBlock` hence has been removed.
6266
* (server) [#19455](https://github.com/cosmos/cosmos-sdk/pull/19455) Allow calling back into the application struct in PostSetup.
6367
* (types) [#19512](https://github.com/cosmos/cosmos-sdk/pull/19512) The notion of basic manager does not exist anymore (and all related helpers).
@@ -103,6 +107,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
103107

104108
### API Breaking Changes
105109

110+
* (server) [#19854](https://github.com/cosmos/cosmos-sdk/pull/19854) Remove `servertypes.ModuleInitFlags` types and from `server.AddCommands` as `StartCmdOptions` already achieves the same goal.
106111
* (types) [#19792](https://github.com/cosmos/cosmos-sdk/pull/19792) In `MsgSimulatorFn` `sdk.Context` argument is replaced for an `address.Codec`. It also returns an error.
107112
* (types) [#19742](https://github.com/cosmos/cosmos-sdk/pull/19742) Removes the use of `Accounts.String`
108113
* `SimulationState` now has address and validator codecs as fields.

UPGRADING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ clientCtx = clientCtx.
3131

3232
Refer to SimApp `root_v2.go` and `root.go` for an example with an app v2 and a legacy app.
3333

34+
Additionally, a simplification of the start command leads to the following change:
35+
36+
```diff
37+
- server.AddCommands(rootCmd, newApp, func(startCmd *cobra.Command) {})
38+
+ server.AddCommands(rootCmd, newApp, server.StartCmdOptions[servertypes.Application]{})
39+
```
40+
3441
#### Server (`app.go`)
3542

3643
##### Module Manager

api/cosmos/staking/v1beta1/staking.pulsar.go

Lines changed: 62 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)