From 92e9fdc6fa4cc8e8ebe2cc7552e866b56f427d8e Mon Sep 17 00:00:00 2001 From: tarumi Date: Thu, 14 Sep 2023 17:40:35 +0200 Subject: [PATCH] add expected keepers --- x/resolver/types/expected_keepers.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/resolver/types/expected_keepers.go b/x/resolver/types/expected_keepers.go index f62ea4c1..8ca895ea 100644 --- a/x/resolver/types/expected_keepers.go +++ b/x/resolver/types/expected_keepers.go @@ -3,10 +3,13 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" + registrytypes "github.com/mycel-domain/mycel/x/registry/types" ) type RegistryKeeper interface { // Methods imported from registry should be defined here + GetSecondLevelDomain(ctx sdk.Context, name string, parent string) (val registrytypes.SecondLevelDomain, found bool) + GetTopLevelDomain(ctx sdk.Context, name string) (val registrytypes.TopLevelDomain, found bool) } // AccountKeeper defines the expected account keeper used for simulations (noalias)