From c8f47139e1b864b1574dc62e0678694da4e67f1c Mon Sep 17 00:00:00 2001 From: Thomas Bruyelle Date: Mon, 22 May 2023 12:27:25 +0200 Subject: [PATCH] Finish simulation migration https://github.com/cosmos/cosmos-sdk/blob/release/v0.47.x/UPGRADING.md#simulation --- x/ccv/consumer/module.go | 5 ----- x/ccv/provider/module.go | 5 ----- 2 files changed, 10 deletions(-) diff --git a/x/ccv/consumer/module.go b/x/ccv/consumer/module.go index f2f48a999b..e8cf09a922 100644 --- a/x/ccv/consumer/module.go +++ b/x/ccv/consumer/module.go @@ -193,11 +193,6 @@ func (am AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.V func (AppModule) GenerateGenesisState(simState *module.SimulationState) { } -// ProposalContents doesn't return any content functions for governance proposals. -func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg { - return nil -} - // RegisterStoreDecoder registers a decoder for consumer module's types // TODO func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) { diff --git a/x/ccv/provider/module.go b/x/ccv/provider/module.go index 66d6714d59..4615344446 100644 --- a/x/ccv/provider/module.go +++ b/x/ccv/provider/module.go @@ -152,11 +152,6 @@ func (am AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.V func (AppModule) GenerateGenesisState(simState *module.SimulationState) { } -// ProposalContents doesn't return any content functions for governance proposals. -func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg { - return nil -} - // RegisterStoreDecoder registers a decoder for provider module's types func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) { }