66 "encoding/json"
77 "errors"
88 "io"
9+ "reflect"
910 "strings"
1011 "sync"
1112 "testing"
@@ -15,11 +16,10 @@ import (
1516 abciproto "github.com/cometbft/cometbft/api/cometbft/abci/v1"
1617 v1 "github.com/cometbft/cometbft/api/cometbft/types/v1"
1718 "github.com/cosmos/gogoproto/proto"
19+ gogoproto "github.com/cosmos/gogoproto/proto"
1820 gogotypes "github.com/cosmos/gogoproto/types"
1921 "github.com/stretchr/testify/require"
2022
21- "reflect"
22-
2323 appmodulev2 "cosmossdk.io/core/appmodule/v2"
2424 "cosmossdk.io/core/server"
2525 "cosmossdk.io/core/store"
@@ -35,9 +35,9 @@ import (
3535 "cosmossdk.io/server/v2/stf/branch"
3636 "cosmossdk.io/server/v2/stf/mock"
3737 consensustypes "cosmossdk.io/x/consensus/types"
38+
3839 "github.com/cosmos/cosmos-sdk/testutil/testdata"
3940 sdk "github.com/cosmos/cosmos-sdk/types"
40- gogoproto "github.com/cosmos/gogoproto/proto"
4141)
4242
4343var (
@@ -810,7 +810,7 @@ func setUpConsensus(t *testing.T, gasLimit uint64, mempool mempool.Mempool[mock.
810810 }, nil
811811 })
812812
813- var helloFooHandler = func (ctx context.Context , msg transaction.Msg ) (msgResp transaction.Msg , err error ) {
813+ helloFooHandler : = func (ctx context.Context , msg transaction.Msg ) (msgResp transaction.Msg , err error ) {
814814 typedReq := msg .(* testdata.SayHelloRequest )
815815 handler := testdata.QueryImpl {}
816816 typedResp , err := handler .SayHello (ctx , typedReq )
0 commit comments