Skip to content

Commit 22dd4a5

Browse files
mergify[bot]tac0turtlechattondamiannolan
authored
chore: update to rc2 (backport #3095) (#3100)
* deps: Update to Cosmos SDK v0.47 rc-2 (#3095) Co-authored-by: Marko Baricevic <[email protected]> Co-authored-by: Cian Hatton <[email protected]> (cherry picked from commit 1a204fe) # Conflicts: # e2e/go.mod # e2e/go.sum * chore: removing e2e gomod file * go mod tidy --------- Co-authored-by: Marko <[email protected]> Co-authored-by: Cian Hatton <[email protected]> Co-authored-by: Damian Nolan <[email protected]>
1 parent 002ae8c commit 22dd4a5

File tree

10 files changed

+35
-39
lines changed

10 files changed

+35
-39
lines changed

go.mod

+5-7
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ require (
99
cosmossdk.io/tools/rosetta v0.2.0
1010
github.com/armon/go-metrics v0.4.1
1111
github.com/cosmos/cosmos-proto v1.0.0-beta.1
12-
github.com/cosmos/cosmos-sdk v0.47.0-rc1
13-
github.com/cosmos/gogoproto v1.4.3
12+
github.com/cosmos/cosmos-sdk v0.47.0-rc2
13+
github.com/cosmos/gogoproto v1.4.4
1414
github.com/cosmos/ics23/go v0.9.1-0.20221207100636-b1abd8678aab
1515
github.com/golang/protobuf v1.5.2
1616
github.com/gorilla/mux v1.8.0
@@ -23,7 +23,7 @@ require (
2323
github.com/tendermint/tendermint v0.37.0-rc2
2424
github.com/tendermint/tm-db v0.6.7
2525
google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef
26-
google.golang.org/grpc v1.52.1
26+
google.golang.org/grpc v1.52.3
2727
google.golang.org/protobuf v1.28.1
2828
gopkg.in/yaml.v2 v2.4.0
2929
)
@@ -44,7 +44,7 @@ require (
4444
github.com/aws/aws-sdk-go v1.40.45 // indirect
4545
github.com/beorn7/perks v1.0.1 // indirect
4646
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
47-
github.com/bgentry/speakeasy v0.1.0 // indirect
47+
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
4848
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
4949
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
5050
github.com/cespare/xxhash v1.1.0 // indirect
@@ -56,7 +56,7 @@ require (
5656
github.com/cosmos/go-bip39 v1.0.0 // indirect
5757
github.com/cosmos/gogogateway v1.2.0 // indirect
5858
github.com/cosmos/gorocksdb v1.2.0 // indirect
59-
github.com/cosmos/iavl v0.19.4 // indirect
59+
github.com/cosmos/iavl v0.19.5-rc.1 // indirect
6060
github.com/cosmos/ledger-cosmos-go v0.12.1 // indirect
6161
github.com/cosmos/rosetta-sdk-go v0.9.0 // indirect
6262
github.com/creachadair/taskgroup v0.3.2 // indirect
@@ -138,8 +138,6 @@ require (
138138
github.com/spf13/pflag v1.0.5 // indirect
139139
github.com/subosito/gotenv v1.4.2 // indirect
140140
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
141-
github.com/tendermint/btcd v0.1.1 // indirect
142-
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect
143141
github.com/tendermint/go-amino v0.16.0 // indirect
144142
github.com/tidwall/btree v1.5.2 // indirect
145143
github.com/ulikunitz/xz v0.5.8 // indirect

go.sum

+10-13
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
112112
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
113113
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=
114114
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4=
115-
github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY=
116115
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
116+
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 h1:41iFGWnSlI2gVpmOtVTJZNodLdLQLn/KsJqFvXwnd/s=
117+
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
117118
github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U=
118119
github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04=
119120
github.com/btcsuite/btcd/btcutil v1.1.2 h1:XLMbX8JQEiwMcYft2EGi8zPUkoa0abKIU6/BJSRsjzQ=
@@ -167,20 +168,20 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk=
167168
github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis=
168169
github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0=
169170
github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE=
170-
github.com/cosmos/cosmos-sdk v0.47.0-rc1 h1:ptoLIOAqFGoqnZeqgec9KvC2JIZ6CVIyMHHjti9p6dQ=
171-
github.com/cosmos/cosmos-sdk v0.47.0-rc1/go.mod h1:yWd503ULBJ71Zuv7GD0/dYJuyeg4LGWAvjeI4wK/dfY=
171+
github.com/cosmos/cosmos-sdk v0.47.0-rc2 h1:BwQC41zQXG/pN9DdLaWzYJrC911St5lYOQIoW4Hf5wQ=
172+
github.com/cosmos/cosmos-sdk v0.47.0-rc2/go.mod h1:e0ZEpY/nhVoXAkijdHPdFOJNOXCddfvyFrFLp2QmCCY=
172173
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
173174
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
174175
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
175176
github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE=
176177
github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI=
177178
github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU=
178-
github.com/cosmos/gogoproto v1.4.3 h1:RP3yyVREh9snv/lsOvmsAPQt8f44LgL281X0IOIhhcI=
179-
github.com/cosmos/gogoproto v1.4.3/go.mod h1:0hLIG5TR7IvV1fme1HCFKjfzW9X2x0Mo+RooWXCnOWU=
179+
github.com/cosmos/gogoproto v1.4.4 h1:nVAsgLlAf5jeN0fV7hRlkZvf768zU+dy4pG+hxc2P34=
180+
github.com/cosmos/gogoproto v1.4.4/go.mod h1:/yl6/nLwsZcZ2JY3OrqjRqvqCG9InUMcXRfRjQiF9DU=
180181
github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y=
181182
github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw=
182-
github.com/cosmos/iavl v0.19.4 h1:t82sN+Y0WeqxDLJRSpNd8YFX5URIrT+p8n6oJbJ2Dok=
183-
github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw=
183+
github.com/cosmos/iavl v0.19.5-rc.1 h1:4PjF2PdScyPbN1WbXpiQU21YtyonnrMU31xN74g8Rkg=
184+
github.com/cosmos/iavl v0.19.5-rc.1/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw=
184185
github.com/cosmos/ics23/go v0.9.1-0.20221207100636-b1abd8678aab h1:I9ialKTQo7248V827Bba4OuKPmk+FPzmTVHsLXaIJWw=
185186
github.com/cosmos/ics23/go v0.9.1-0.20221207100636-b1abd8678aab/go.mod h1:2CwqasX5dSD7Hbp/9b6lhK6BwoBDCBldx7gPKRukR60=
186187
github.com/cosmos/ledger-cosmos-go v0.12.1 h1:sMBxza5p/rNK/06nBSNmsI/WDqI0pVJFVNihy1Y984w=
@@ -749,10 +750,6 @@ github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8
749750
github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
750751
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY=
751752
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc=
752-
github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s=
753-
github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U=
754-
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI=
755-
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk=
756753
github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E=
757754
github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME=
758755
github.com/tendermint/tendermint v0.37.0-rc2 h1:2n1em+jfbhSv6QnBj8F6KHCpbIzZCB8KgcjidJUQNlY=
@@ -1193,8 +1190,8 @@ google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAG
11931190
google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
11941191
google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ=
11951192
google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
1196-
google.golang.org/grpc v1.52.1 h1:2NpOPk5g5Xtb0qebIEs7hNIa++PdtZLo2AQUpc1YnSU=
1197-
google.golang.org/grpc v1.52.1/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY=
1193+
google.golang.org/grpc v1.52.3 h1:pf7sOysg4LdgBqduXveGKrcEwbStiK2rtfghdzlUYDQ=
1194+
google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY=
11981195
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
11991196
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
12001197
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=

modules/apps/27-interchain-accounts/host/keeper/relay_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
4444
proposalMsg, err := govv1.NewLegacyContent(testProposal, interchainAccountAddr)
4545
suite.Require().NoError(err)
4646

47-
proposal, err := govv1.NewProposal([]sdk.Msg{proposalMsg}, govtypes.DefaultStartingProposalID, "test proposal", suite.chainA.GetContext().BlockTime(), suite.chainA.GetContext().BlockTime(), "title", "Description", sdk.AccAddress(interchainAccountAddr))
47+
proposal, err := govv1.NewProposal([]sdk.Msg{proposalMsg}, govtypes.DefaultStartingProposalID, suite.chainA.GetContext().BlockTime(), suite.chainA.GetContext().BlockTime(), "test proposal", "title", "Description", sdk.AccAddress(interchainAccountAddr))
4848
suite.Require().NoError(err)
4949

5050
suite.chainB.GetSimApp().GovKeeper.SetProposal(suite.chainB.GetContext(), proposal)
@@ -210,7 +210,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
210210
proposalMsg, err := govv1.NewLegacyContent(testProposal, interchainAccountAddr)
211211
suite.Require().NoError(err)
212212

213-
proposal, err := govv1.NewProposal([]sdk.Msg{proposalMsg}, govtypes.DefaultStartingProposalID, "test proposal", suite.chainA.GetContext().BlockTime(), suite.chainA.GetContext().BlockTime(), "title", "description", sdk.AccAddress(interchainAccountAddr))
213+
proposal, err := govv1.NewProposal([]sdk.Msg{proposalMsg}, govtypes.DefaultStartingProposalID, suite.chainA.GetContext().BlockTime(), suite.chainA.GetContext().BlockTime(), "test proposal", "title", "description", sdk.AccAddress(interchainAccountAddr))
214214
suite.Require().NoError(err)
215215

216216
suite.chainB.GetSimApp().GovKeeper.SetProposal(suite.chainB.GetContext(), proposal)

modules/apps/27-interchain-accounts/module.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
203203
}
204204

205205
// ProposalContents doesn't return any content functions for governance proposals.
206-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent {
206+
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
207207
return nil
208208
}
209209

@@ -213,7 +213,7 @@ func (am AppModule) WeightedOperations(_ module.SimulationState) []simtypes.Weig
213213
}
214214

215215
// RandomizedParams creates randomized ibc-transfer param changes for the simulator.
216-
func (am AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange {
216+
func (am AppModule) RandomizedParams(r *rand.Rand) []simtypes.LegacyParamChange {
217217
return simulation.ParamChanges(r, am.controllerKeeper, am.hostKeeper)
218218
}
219219

modules/apps/27-interchain-accounts/simulation/params.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717

1818
// ParamChanges defines the parameters that can be modified by param change proposals
1919
// on the simulation
20-
func ParamChanges(r *rand.Rand, controllerKeeper *controllerkeeper.Keeper, hostKeeper *hostkeeper.Keeper) []simtypes.ParamChange {
21-
var paramChanges []simtypes.ParamChange
20+
func ParamChanges(r *rand.Rand, controllerKeeper *controllerkeeper.Keeper, hostKeeper *hostkeeper.Keeper) []simtypes.LegacyParamChange {
21+
var paramChanges []simtypes.LegacyParamChange
2222
if controllerKeeper != nil {
23-
paramChanges = append(paramChanges, simulation.NewSimParamChange(controllertypes.SubModuleName, string(controllertypes.KeyControllerEnabled),
23+
paramChanges = append(paramChanges, simulation.NewSimLegacyParamChange(controllertypes.SubModuleName, string(controllertypes.KeyControllerEnabled),
2424
func(r *rand.Rand) string {
2525
controllerEnabled := RandomEnabled(r)
2626
return fmt.Sprintf("%s", types.ModuleCdc.MustMarshalJSON(&gogotypes.BoolValue{Value: controllerEnabled})) //nolint:gosimple
@@ -29,7 +29,7 @@ func ParamChanges(r *rand.Rand, controllerKeeper *controllerkeeper.Keeper, hostK
2929
}
3030

3131
if hostKeeper != nil {
32-
paramChanges = append(paramChanges, simulation.NewSimParamChange(hosttypes.SubModuleName, string(hosttypes.KeyHostEnabled),
32+
paramChanges = append(paramChanges, simulation.NewSimLegacyParamChange(hosttypes.SubModuleName, string(hosttypes.KeyHostEnabled),
3333
func(r *rand.Rand) string {
3434
receiveEnabled := RandomEnabled(r)
3535
return fmt.Sprintf("%s", types.ModuleCdc.MustMarshalJSON(&gogotypes.BoolValue{Value: receiveEnabled})) //nolint:gosimple

modules/apps/29-fee/module.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ func (AppModule) GenerateGenesisState(_ *module.SimulationState) {
134134
}
135135

136136
// ProposalContents doesn't return any content functions for governance proposals.
137-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent {
137+
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
138138
return nil
139139
}
140140

141141
// RandomizedParams creates randomized ibc-29-fee param changes for the simulator.
142-
func (AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange {
142+
func (AppModule) RandomizedParams(_ *rand.Rand) []simtypes.LegacyParamChange {
143143
return nil
144144
}
145145

modules/apps/transfer/module.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
146146
}
147147

148148
// ProposalContents doesn't return any content functions for governance proposals.
149-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent {
149+
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
150150
return nil
151151
}
152152

153153
// RandomizedParams creates randomized ibc-transfer param changes for the simulator.
154-
func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange {
154+
func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.LegacyParamChange {
155155
return simulation.ParamChanges(r)
156156
}
157157

modules/apps/transfer/simulation/params.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ import (
1313

1414
// ParamChanges defines the parameters that can be modified by param change proposals
1515
// on the simulation
16-
func ParamChanges(r *rand.Rand) []simtypes.ParamChange {
17-
return []simtypes.ParamChange{
18-
simulation.NewSimParamChange(types.ModuleName, string(types.KeySendEnabled),
16+
func ParamChanges(r *rand.Rand) []simtypes.LegacyParamChange {
17+
return []simtypes.LegacyParamChange{
18+
simulation.NewSimLegacyParamChange(types.ModuleName, string(types.KeySendEnabled),
1919
func(r *rand.Rand) string {
2020
sendEnabled := RadomEnabled(r)
2121
return fmt.Sprintf("%s", types.ModuleCdc.MustMarshalJSON(&gogotypes.BoolValue{Value: sendEnabled})) //nolint:gosimple
2222
},
2323
),
24-
simulation.NewSimParamChange(types.ModuleName, string(types.KeyReceiveEnabled),
24+
simulation.NewSimLegacyParamChange(types.ModuleName, string(types.KeyReceiveEnabled),
2525
func(r *rand.Rand) string {
2626
receiveEnabled := RadomEnabled(r)
2727
return fmt.Sprintf("%s", types.ModuleCdc.MustMarshalJSON(&gogotypes.BoolValue{Value: receiveEnabled})) //nolint:gosimple

modules/core/module.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,12 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
171171
}
172172

173173
// ProposalContents doesn't return any content functions for governance proposals.
174-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent {
174+
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
175175
return nil
176176
}
177177

178178
// RandomizedParams returns nil since IBC doesn't register parameter changes.
179-
func (AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange {
179+
func (AppModule) RandomizedParams(_ *rand.Rand) []simtypes.LegacyParamChange {
180180
return nil
181181
}
182182

testing/simapp/utils.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ func SimulationOperations(app App, cdc codec.JSONCodec, config simtypes.Config)
6565
}
6666
}
6767

68-
simState.Contents = app.SimulationManager().GetProposalContents(simState)
68+
//nolint: staticcheck // SA1019: app.SimulationManager().GetProposalContents is deprecated: Use GetProposalMsgs instead. GetProposalContents returns each module's proposal content generator function with their default operation weight and key.
69+
simState.LegacyProposalContents = app.SimulationManager().GetProposalContents(simState)
6970
return app.SimulationManager().WeightedOperations(simState)
7071
}
7172

0 commit comments

Comments
 (0)