refactor(runtime/v2): remove dependency on sdk (#20389)
This commit is contained in:
+2
-2
@@ -2,9 +2,9 @@ package std
|
||||
|
||||
import (
|
||||
"cosmossdk.io/core/legacy"
|
||||
"cosmossdk.io/core/registry"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
"github.com/cosmos/cosmos-sdk/codec/types"
|
||||
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
||||
@@ -18,7 +18,7 @@ func RegisterLegacyAminoCodec(cdc legacy.Amino) {
|
||||
}
|
||||
|
||||
// RegisterInterfaces registers Interfaces from sdk/types, vesting, crypto, tx.
|
||||
func RegisterInterfaces(interfaceRegistry types.InterfaceRegistry) {
|
||||
func RegisterInterfaces(interfaceRegistry registry.InterfaceRegistrar) {
|
||||
sdk.RegisterInterfaces(interfaceRegistry)
|
||||
txtypes.RegisterInterfaces(interfaceRegistry)
|
||||
cryptocodec.RegisterInterfaces(interfaceRegistry)
|
||||
|
||||
Reference in New Issue
Block a user