Skip to content

Commit 80dd2bc

Browse files
Copilotmichaelfig
andcommitted
Fix integration test - register actual MsgServer implementation
Co-authored-by: michaelfig <457244+michaelfig@users.noreply.github.com>
1 parent 247b60c commit 80dd2bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

golang/cosmos/tests/integrations/vbank/vbank_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import (
3232

3333
"github.com/Agoric/agoric-sdk/golang/cosmos/x/swingset"
3434
"github.com/Agoric/agoric-sdk/golang/cosmos/x/vbank"
35+
"github.com/Agoric/agoric-sdk/golang/cosmos/x/vbank/keeper"
3536
vbanktypes "github.com/Agoric/agoric-sdk/golang/cosmos/x/vbank/types"
3637

3738
vstorage "github.com/Agoric/agoric-sdk/golang/cosmos/x/vstorage"
@@ -206,7 +207,7 @@ func initVbankFixtures(t *testing.T) VbankFixtures {
206207
sdkCtx := sdk.UnwrapSDKContext(integrationApp.Context())
207208

208209
// Register message and query servers
209-
vbanktypes.RegisterMsgServer(integrationApp.MsgServiceRouter(), vbanktypes.UnimplementedMsgServer{})
210+
vbanktypes.RegisterMsgServer(integrationApp.MsgServiceRouter(), keeper.NewMsgServerImpl(vbankKeeper))
210211
vbanktypes.RegisterQueryServer(integrationApp.QueryHelper(), &vbanktypes.UnimplementedQueryServer{})
211212

212213
return VbankFixtures{

0 commit comments

Comments
 (0)