refactor(runtime/v2): remove dependency on sdk (#20389)

This commit is contained in:
Matt Kocubinski
2024-05-16 11:40:11 +00:00
committed by GitHub
parent 53925ef5fd
commit e034766799
19 changed files with 259 additions and 638 deletions
+2 -2
View File
@@ -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)