Merge PR #4665: Refactor x/gov Module Structure (prep for module spec)

This commit is contained in:
Federico Kunze
2019-08-08 15:51:18 -04:00
committed by Alexander Bezobchuk
parent 83db58ec5e
commit e4c8bd72b7
56 changed files with 2757 additions and 2633 deletions
+1
View File
@@ -7,6 +7,7 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
)
// NewParamChangeProposalHandler creates a new governance Handler for a ParamChangeProposal
func NewParamChangeProposalHandler(k Keeper) govtypes.Handler {
return func(ctx sdk.Context, content govtypes.Content) sdk.Error {
switch c := content.(type) {