Skip to content

Commit

Permalink
fix: replace wasmd types with wasmplusd types
Browse files Browse the repository at this point in the history
  • Loading branch information
da1suk8 committed Mar 29, 2024
1 parent 34f12cb commit 505b470
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions x/wasmplus/keeper/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ import (
wasmappparams "github.com/Finschia/wasmd/app/params"
"github.com/Finschia/wasmd/x/wasm/keeper/wasmtesting"
wasmtypes "github.com/Finschia/wasmd/x/wasm/types"
wasmplustypes "github.com/Finschia/wasmd/x/wasmplus/types"
)

var moduleBasics = module.NewBasicManager(
Expand Down Expand Up @@ -119,9 +120,9 @@ func MakeEncodingConfig(_ testing.TB) wasmappparams.EncodingConfig {

moduleBasics.RegisterLegacyAminoCodec(amino)
moduleBasics.RegisterInterfaces(interfaceRegistry)
// add wasmd types
wasmtypes.RegisterInterfaces(interfaceRegistry)
wasmtypes.RegisterLegacyAminoCodec(amino)
// add wasmplusd types
wasmplustypes.RegisterInterfaces(interfaceRegistry)
wasmplustypes.RegisterLegacyAminoCodec(amino)

return encodingConfig
}
Expand Down

0 comments on commit 505b470

Please sign in to comment.