Skip to content

Commit

Permalink
Add handler boilerplat
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Oct 28, 2022
1 parent 99f07ad commit 9cf39d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/ccv/provider/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
testkeeper "github.com/cosmos/interchain-security/testutil/keeper"
"github.com/cosmos/interchain-security/x/ccv/provider"
"github.com/cosmos/interchain-security/x/ccv/provider/keeper"
"github.com/cosmos/interchain-security/x/ccv/provider/types"
)

type Helper struct {
Expand Down Expand Up @@ -47,5 +48,7 @@ func TestInvalidMsg(t *testing.T) {

func TestDesignateConsensusKeyForConsumerChainHappy(t *testing.T) {
h := MakeHelper(t)

msg, err := types.NewMsgDesignateConsensusKeyForConsumerChain()
require.NoError(t, err)
h.handler(h.ctx, msg)
}

0 comments on commit 9cf39d1

Please sign in to comment.