Skip to content

Commit

Permalink
remove distribution decoders
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Sep 17, 2024
1 parent e08f5da commit 04db3be
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 132 deletions.
2 changes: 1 addition & 1 deletion x/distribution/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {

// RegisterStoreDecoder registers a decoder for distribution module's types
func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.StoreKey] = simulation.NewDecodeStore(am.cdc)
sdr[types.StoreKey] = simtypes.NewStoreDecoderFuncFromCollectionsSchema(am.keeper.Schema)
}

// ProposalMsgsX returns msgs used for governance proposals for simulations.
Expand Down
68 changes: 0 additions & 68 deletions x/distribution/simulation/decoder.go

This file was deleted.

63 changes: 0 additions & 63 deletions x/distribution/simulation/decoder_test.go

This file was deleted.

0 comments on commit 04db3be

Please sign in to comment.