Skip to content

Commit a3dbbe8

Browse files
authored
Merge branch 'main' into feat/add-swagger-ui
2 parents 98f2d85 + a1a4c9a commit a3dbbe8

File tree

215 files changed

+4480
-4735
lines changed

Some content is hidden

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

215 files changed

+4480
-4735
lines changed

.github/.codespellignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ cips
22
pullrequest
33
keypair
44
pastTime
5-
hasTables
65
Nam
76
EyT
87
upTo
9-
pullRequests
8+
pullRequests
9+
AccountAt
10+
expRes
11+
hasTables

.github/CODEOWNERS

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -10,62 +10,62 @@
1010

1111
# Components
1212

13-
/baseapp/ @facundomedica @aaronc @testinginprod @kocubinski @cosmos/sdk-core-dev
13+
/baseapp/ @cosmos/sdk-core-dev
1414
/client/ @julienrbrt @JulianToledano @cosmos/sdk-core-dev
1515
/client/v2/ @julienrbrt @JulianToledano @cosmos/sdk-core-dev
16-
/collections/ @testinginprod @facundomedica @cosmos/sdk-core-dev
16+
/collections/ @cosmos/sdk-core-dev
1717
/core/ @cosmos/sdk-core-dev
1818
/crypto/ @JulianToledano @raynaudoe @cosmos/sdk-core-dev
19-
/depinject/ @aaronc @kocubinski @julienrbrt @cosmos/sdk-core-dev
20-
/indexer/ @aaronc @cool-develope @cosmos/sdk-core-dev
21-
/log/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev
22-
/math/ @testinginprod @alpe @cosmos/sdk-core-dev
23-
/orm/ @aaronc @testinginprod @lucaslopezf @cosmos/sdk-core-dev
24-
/runtime/ @julienrbrt @hieuvubk @cosmos/sdk-core-dev
25-
/runtime/v2/ @julienrbrt @hieuvubk @cosmos/sdk-core-dev
26-
/schema/ @aaronc @testinginprod @cosmos/sdk-core-dev
19+
/depinject/ @julienrbrt @cosmos/sdk-core-dev
20+
/indexer/ @cosmos/sdk-core-dev
21+
/log/ @julienrbrt @cosmos/sdk-core-dev
22+
/math/ @alpe @cosmos/sdk-core-dev
23+
/orm/ @lucaslopezf @cosmos/sdk-core-dev
24+
/runtime/ @julienrbrt @cosmos/sdk-core-dev
25+
/runtime/v2/ @julienrbrt @cosmos/sdk-core-dev
26+
/schema/ @cosmos/sdk-core-dev
2727
/server/ @cosmos/sdk-core-dev
28-
/server/v2/ @julienrbrt @hieuvubk @kocubinski @cosmos/sdk-core-dev
29-
/server/v2/stf/ @testinginprod @kocubinski @cosmos/sdk-core-dev
30-
/server/v2/appmanager/ @testinginprod @facundomedica @cosmos/sdk-core-dev
31-
/server/v2/cometbft/ @facundomedica @sontrinh16 @cosmos/sdk-core-dev
32-
/simsx @alpe @facundomedica @kocubinski @cosmos/sdk-core-dev
33-
/simapp/ @facundomedica @julienrbrt @cosmos/sdk-core-dev
34-
/simapp/v2/ @kocubinski @julienrbrt @cosmos/sdk-core-dev
35-
/store/ @cool-develope @kocubinski @cosmos/sdk-core-dev
36-
/store/v2/ @cool-develope @kocubinski @cosmos/sdk-core-dev
37-
/types/mempool/ @kocubinski @cosmos/sdk-core-dev
28+
/server/v2/ @julienrbrt @cosmos/sdk-core-dev
29+
/server/v2/stf/ @cosmos/sdk-core-dev
30+
/server/v2/appmanager/ @cosmos/sdk-core-dev
31+
/server/v2/cometbft/ @cosmos/sdk-core-dev
32+
/simsx @alpe @cosmos/sdk-core-dev
33+
/simapp/ @julienrbrt @cosmos/sdk-core-dev
34+
/simapp/v2/ @julienrbrt @cosmos/sdk-core-dev
35+
/store/ @cosmos/sdk-core-dev
36+
/store/v2/ @cosmos/sdk-core-dev
37+
/types/mempool/ @cosmos/sdk-core-dev
3838
/tools/hubl @julienrbrt @JulianToledano @cosmos/sdk-core-dev
39-
/tools/cosmovisor @julienrbrt @facundomedica @cosmos/sdk-core-dev
40-
/tools/confix @julienrbrt @akhilkumarpilli @cosmos/sdk-core-dev
41-
/tests/integration/aminojson @kocubinski @cosmos/sdk-core-dev
39+
/tools/cosmovisor @julienrbrt @cosmos/sdk-core-dev
40+
/tools/confix @julienrbrt @cosmos/sdk-core-dev
41+
/tests/integration/aminojson @cosmos/sdk-core-dev
4242

4343
# x modules
4444

45-
/x/accounts/ @testinginprod @sontrinh16 @cosmos/sdk-core-dev
46-
/x/auth/ @facundomedica @testinginprod @aaronc @cosmos/sdk-core-dev
47-
/x/auth/tx/config @julienrbrt @akhilkumarpilli @kocubinski @cosmos/sdk-core-dev
48-
/x/authz/ @akhilkumarpilli @raynaudoe @cosmos/sdk-core-dev
49-
/x/bank/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev
50-
/x/bank/v2 @julienrbrt @hieuvubk @akhilkumarpilli @cosmos/sdk-core-dev
51-
/x/circuit/ @kocubinski @akhilkumarpilli @raynaudoe @cosmos/sdk-core-dev
52-
/x/consensus/ @testinginprod @raynaudoe @cosmos/sdk-core-dev
45+
/x/accounts/ @cosmos/sdk-core-dev
46+
/x/auth/ @cosmos/sdk-core-dev
47+
/x/auth/tx/config @julienrbrt @cosmos/sdk-core-dev
48+
/x/authz/ @raynaudoe @cosmos/sdk-core-dev
49+
/x/bank/ @julienrbrt @cosmos/sdk-core-dev
50+
/x/bank/v2 @julienrbrt @cosmos/sdk-core-dev
51+
/x/circuit/ @raynaudoe @cosmos/sdk-core-dev
52+
/x/consensus/ @raynaudoe @cosmos/sdk-core-dev
5353
/x/distribution/ @alpe @JulianToledano @cosmos/sdk-core-dev
54-
/x/epochs/ @alpe @facundomedica @cosmos/sdk-core-dev
55-
/x/evidence/ @alpe @akhilkumarpilli @cosmos/sdk-core-dev
56-
/x/feegrant/ @cool-develope @alpe @cosmos/sdk-core-dev
57-
/x/genutil/ @kocubinski @hieuvubk @julienrbrt @cosmos/sdk-core-dev
58-
/x/gov/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev
59-
/x/group/ @kocubinski @akhilkumarpilli @cosmos/sdk-core-dev
60-
/x/mint/ @lucaslopezf @facundomedica @cosmos/sdk-core-dev
54+
/x/epochs/ @alpe @cosmos/sdk-core-dev
55+
/x/evidence/ @alpe @cosmos/sdk-core-dev
56+
/x/feegrant/ @alpe @cosmos/sdk-core-dev
57+
/x/genutil/ @julienrbrt @cosmos/sdk-core-dev
58+
/x/gov/ @julienrbrt @cosmos/sdk-core-dev
59+
/x/group/ @cosmos/sdk-core-dev
60+
/x/mint/ @lucaslopezf @cosmos/sdk-core-dev
6161
/x/nft/ @alpe @lucaslopezf @cosmos/sdk-core-dev
62-
/x/protocolpool/ @facundomedica @hieuvubk @alpe @cosmos/sdk-core-dev
62+
/x/protocolpool/ @alpe @cosmos/sdk-core-dev
6363
/x/simulation/ @cosmos/sdk-core-dev # deprecated so whole team
64-
/x/slashing/ @testinginprod @raynaudoe @lucaslopezf @cosmos/sdk-core-dev
65-
/x/staking/ @facundomedica @testinginprod @JulianToledano @ziscky @cosmos/sdk-core-dev
66-
/x/tx/ @kocubinski @testinginprod @aaronc @cosmos/sdk-core-dev
67-
/x/upgrade/ @facundomedica @cool-develope @akhilkumarpilli @lucaslopezf @cosmos/sdk-core-dev
68-
/x/validate @julienrbrt @akhilkumarpilli @kocubinski @cosmos/sdk-core-dev
64+
/x/slashing/ @raynaudoe @lucaslopezf @cosmos/sdk-core-dev
65+
/x/staking/ @JulianToledano @ziscky @cosmos/sdk-core-dev
66+
/x/tx/ @cosmos/sdk-core-dev
67+
/x/upgrade/ @lucaslopezf @cosmos/sdk-core-dev
68+
/x/validate @julienrbrt @cosmos/sdk-core-dev
6969

7070
# go mods
7171

@@ -74,11 +74,11 @@
7474

7575
# ci & build
7676

77-
.github/ @auricom @julienrbrt @tac0turtle
78-
scripts/ @auricom @julienrbrt @tac0turtle
79-
contrib/ @auricom @julienrbrt @tac0turtle
80-
*.mk @auricom @julienrbrt @tac0turtle
81-
Makefile @auricom @julienrbrt @tac0turtle
77+
.github/ @julienrbrt @tac0turtle
78+
scripts/ @julienrbrt @tac0turtle
79+
contrib/ @julienrbrt @tac0turtle
80+
*.mk @julienrbrt @tac0turtle
81+
Makefile @julienrbrt @tac0turtle
8282

8383
# docs configuration
8484

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
4141
Every module contains its own CHANGELOG.md. Please refer to the module you are interested in.
4242

4343
### Features
44-
44+
* (sims) [#23013](https://github.com/cosmos/cosmos-sdk/pull/23013) Integration with app v2
4545
* (baseapp) [#20291](https://github.com/cosmos/cosmos-sdk/pull/20291) Simulate nested messages.
4646
* (client/keys) [#21829](https://github.com/cosmos/cosmos-sdk/pull/21829) Add support for importing hex key using standard input.
4747
* (x/auth/ante) [#23128](https://github.com/cosmos/cosmos-sdk/pull/23128) Allow custom verifyIsOnCurve when validate tx for public key like ethsecp256k1.
@@ -53,6 +53,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
5353
### Bug Fixes
5454

5555
* (query) [23002](https://github.com/cosmos/cosmos-sdk/pull/23002) Fix collection filtered pagination.
56+
* (x/auth/tx) [#23170](https://github.com/cosmos/cosmos-sdk/pull/23170) Avoid panic from newWrapperFromDecodedTx when AuthInfo.Fee is optional in decodedTx.
5657
* (x/auth/tx) [23144](https://github.com/cosmos/cosmos-sdk/pull/23144) Add missing CacheWithValue for ExtensionOptions.
5758
* (x/auth/tx) [#23148](https://github.com/cosmos/cosmos-sdk/pull/23148) Avoid panic from intoAnyV2 when v1.PublicKey is optional.
5859

@@ -61,6 +62,15 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
6162
* (x/params) [#22995](https://github.com/cosmos/cosmos-sdk/pull/22995) Remove `x/params`. Migrate to the new params system introduced in `v0.47` as demonstrated [here](https://github.com/cosmos/cosmos-sdk/blob/main/UPGRADING.md#xparams).
6263
* (testutil) [#22392](https://github.com/cosmos/cosmos-sdk/pull/22392) Remove `testutil/network` package. Use the integration framework or systemtests framework instead.
6364

65+
#### Removal of v1 components
66+
67+
This subsection lists the API breaking changes that are [part of the removal of v1 components](https://github.com/cosmos/cosmos-sdk/issues/22904). The v1 components were deprecated in `v0.52` and are now removed.
68+
69+
* (simapp) [#23009](https://github.com/cosmos/cosmos-sdk/pull/23009) Simapp has been removed. Check-out Simapp/v2 instead.
70+
* (server) [#23018](https://github.com/cosmos/cosmos-sdk/pull/23018) [#23238](https://github.com/cosmos/cosmos-sdk/pull/23238) The server package has been removed. Use server/v2 instead
71+
* (x/genutil) [#23238](https://github.com/cosmos/cosmos-sdk/pull/23238) Genutil commands specific to a baseapp chain have been deleted.
72+
* (client) [#22904](https://github.com/cosmos/cosmos-sdk/issues/22904) v1 specific client commands have been removed.
73+
6474
### Deprecated
6575

6676
* (modules) [#22994](https://github.com/cosmos/cosmos-sdk/pull/22994) Deprecate `Invariants` and associated methods.

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Our Pledge
44

5-
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
66

77
## Our Standards
88

api/cosmos/base/reflection/v1beta1/reflection.pulsar.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ require (
88
github.com/cosmos/gogoproto v1.7.0
99
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1
1010
google.golang.org/grpc v1.68.1
11-
google.golang.org/protobuf v1.36.1
11+
google.golang.org/protobuf v1.36.2
1212
)
1313

1414
require (
1515
buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 // indirect
1616
github.com/google/go-cmp v0.6.0 // indirect
17-
golang.org/x/net v0.32.0 // indirect
17+
golang.org/x/net v0.33.0 // indirect
1818
golang.org/x/sys v0.28.0 // indirect
1919
golang.org/x/text v0.21.0 // indirect
2020
google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect

api/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek
1010
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
1111
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
1212
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
13-
golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI=
14-
golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs=
13+
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
14+
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
1515
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
1616
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
1717
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
@@ -22,5 +22,5 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a h1:
2222
google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU=
2323
google.golang.org/grpc v1.68.1 h1:oI5oTa11+ng8r8XMMN7jAOmWfPZWbYpCFaMUTACxkM0=
2424
google.golang.org/grpc v1.68.1/go.mod h1:+q1XYFJjShcqn0QZHvCyeR4CXPA+llXIeUIfIe00waw=
25-
google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk=
26-
google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
25+
google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU=
26+
google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=

baseapp/baseapp.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929
"github.com/cosmos/cosmos-sdk/baseapp/oe"
3030
"github.com/cosmos/cosmos-sdk/codec"
3131
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
32-
servertypes "github.com/cosmos/cosmos-sdk/server/types"
3332
"github.com/cosmos/cosmos-sdk/telemetry"
3433
sdk "github.com/cosmos/cosmos-sdk/types"
3534
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
@@ -58,8 +57,6 @@ const (
5857
execModeFinalize // Finalize a block proposal
5958
)
6059

61-
var _ servertypes.ABCI = (*BaseApp)(nil)
62-
6360
// BaseApp reflects the ABCI application implementation.
6461
type BaseApp struct {
6562
// initialized on creation

baseapp/streaming.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
abci "github.com/cometbft/cometbft/api/cometbft/abci/v1"
1313
"github.com/spf13/cast"
1414

15+
"cosmossdk.io/core/server"
1516
"cosmossdk.io/log"
1617
"cosmossdk.io/schema"
1718
"cosmossdk.io/schema/appdata"
@@ -21,7 +22,6 @@ import (
2122
storetypes "cosmossdk.io/store/types"
2223

2324
"github.com/cosmos/cosmos-sdk/client/flags"
24-
servertypes "github.com/cosmos/cosmos-sdk/server/types"
2525
sdk "github.com/cosmos/cosmos-sdk/types"
2626
)
2727

@@ -60,7 +60,7 @@ func (app *BaseApp) EnableIndexer(indexerOpts interface{}, keys map[string]*stor
6060
}
6161

6262
// RegisterStreamingServices registers streaming services with the BaseApp.
63-
func (app *BaseApp) RegisterStreamingServices(appOpts servertypes.AppOptions, keys map[string]*storetypes.KVStoreKey) error {
63+
func (app *BaseApp) RegisterStreamingServices(appOpts server.DynamicConfig, keys map[string]*storetypes.KVStoreKey) error {
6464
// register streaming services
6565
streamingCfg := cast.ToStringMap(appOpts.Get(StreamingTomlKey))
6666
for service := range streamingCfg {
@@ -83,7 +83,7 @@ func (app *BaseApp) RegisterStreamingServices(appOpts servertypes.AppOptions, ke
8383

8484
// registerStreamingPlugin registers streaming plugins with the BaseApp.
8585
func (app *BaseApp) registerStreamingPlugin(
86-
appOpts servertypes.AppOptions,
86+
appOpts server.DynamicConfig,
8787
keys map[string]*storetypes.KVStoreKey,
8888
streamingPlugin interface{},
8989
) error {
@@ -98,7 +98,7 @@ func (app *BaseApp) registerStreamingPlugin(
9898

9999
// registerABCIListenerPlugin registers plugins that implement the ABCIListener interface.
100100
func (app *BaseApp) registerABCIListenerPlugin(
101-
appOpts servertypes.AppOptions,
101+
appOpts server.DynamicConfig,
102102
keys map[string]*storetypes.KVStoreKey,
103103
abciListener storetypes.ABCIListener,
104104
) {

client/config/toml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func writeConfigFile(configFilePath string, config interface{}) error {
7373
return os.WriteFile(configFilePath, buffer.Bytes(), 0o600)
7474
}
7575

76-
// getClientConfig reads values from client.toml file and unmarshalls them into ClientConfig
76+
// getClientConfig reads values from client.toml file and unmarshals them into ClientConfig
7777
func getClientConfig(configPath string, v *viper.Viper) (*Config, error) {
7878
v.AddConfigPath(configPath)
7979
v.SetConfigName("client")

0 commit comments

Comments
 (0)