Skip to content

Commit

Permalink
fix: changed references from govtypes to v1beta
Browse files Browse the repository at this point in the history
  • Loading branch information
da1suk8 committed Mar 18, 2024
1 parent bd94e55 commit 5bb5af6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/wasmplus/types/proposal_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"

wasmtypes "github.com/Finschia/wasmd/x/wasm/types"
)
Expand All @@ -23,8 +23,8 @@ var EnableAllProposals = append([]wasmtypes.ProposalType{
}, wasmtypes.EnableAllProposals...)

func init() {
govtypes.RegisterProposalType(string(ProposalTypeDeactivateContract))
govtypes.RegisterProposalType(string(ProposalTypeActivateContract))
v1beta1.RegisterProposalType(string(ProposalTypeDeactivateContract))
v1beta1.RegisterProposalType(string(ProposalTypeActivateContract))
}

func (p DeactivateContractProposal) GetTitle() string { return p.Title }
Expand Down

0 comments on commit 5bb5af6

Please sign in to comment.