Skip to content

Commit 682ba55

Browse files
authored
chore: remove unused ProposalContents function
1 parent 99c985c commit 682ba55

File tree

5 files changed

+1
-20
lines changed

5 files changed

+1
-20
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
5959
* (07-tendermint) [\#1896](https://github.com/cosmos/ibc-go/pull/1896) Remove error return from `IterateConsensusStateAscending` in `07-tendermint`.
6060
* (apps/27-interchain-accounts) [\#2638](https://github.com/cosmos/ibc-go/pull/2638) Interchain accounts host and controller Keepers now expects a keeper which fulfills the expected `exported.ScopedKeeper` interface for the capability keeper.
6161
* (06-solomachine) [\#2761](https://github.com/cosmos/ibc-go/pull/2761) Removed deprecated `ClientId` field from `Misbehaviour` and `allow_update_after_proposal` field from `ClientState`.
62+
* (apps) [\#3154](https://github.com/cosmos/ibc-go/pull/3154) Remove unused `ProposalContents` function.
6263
* (apps) [#3149](https://github.com/cosmos/ibc-go/pull/3149) Remove legacy interface function `RandomizedParams`, which is no longer used.
6364

6465
### State Machine Breaking

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,6 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
201201
simulation.RandomizedGenState(simState)
202202
}
203203

204-
// ProposalContents doesn't return any content functions for governance proposals.
205-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
206-
return nil
207-
}
208-
209204
// WeightedOperations is unimplemented.
210205
func (am AppModule) WeightedOperations(_ module.SimulationState) []simtypes.WeightedOperation {
211206
return nil

modules/apps/29-fee/module.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@ func (am AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.V
132132
func (AppModule) GenerateGenesisState(_ *module.SimulationState) {
133133
}
134134

135-
// ProposalContents doesn't return any content functions for governance proposals.
136-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
137-
return nil
138-
}
139-
140135
// RegisterStoreDecoder registers a decoder for 29-fee module's types
141136
func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) {
142137
}

modules/apps/transfer/module.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,6 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
144144
simulation.RandomizedGenState(simState)
145145
}
146146

147-
// ProposalContents doesn't return any content functions for governance proposals.
148-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
149-
return nil
150-
}
151-
152147
// RegisterStoreDecoder registers a decoder for transfer module's types
153148
func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
154149
sdr[types.StoreKey] = simulation.NewDecodeStore(am.keeper)

modules/core/module.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,6 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
169169
simulation.RandomizedGenState(simState)
170170
}
171171

172-
// ProposalContents doesn't return any content functions for governance proposals.
173-
func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
174-
return nil
175-
}
176-
177172
// RegisterStoreDecoder registers a decoder for ibc module's types
178173
func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
179174
sdr[exported.StoreKey] = simulation.NewDecodeStore(*am.keeper)

0 commit comments

Comments
 (0)