Skip to content

Commit

Permalink
chore: register interface in setup test for data module
Browse files Browse the repository at this point in the history
  • Loading branch information
JeancarloBarrios committed Jul 1, 2024
1 parent 0a23652 commit 6c40dd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/data/server/testsuite/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func setup(t *testing.T) fixture.Factory {
bankKeeper := bankkeeper.NewBaseKeeper(cdc, bankKey, accountKeeper, nil, authority.String())

dataMod := datamodule.NewModule(dataKey, accountKeeper, bankKeeper)
dataMod.RegisterInterfaces(cdc.InterfaceRegistry())
ff.SetModules([]sdkmodules.AppModule{dataMod})

return ff
Expand Down

0 comments on commit 6c40dd4

Please sign in to comment.