From 22683c59363850a3f1505037350b10c397d6cb58 Mon Sep 17 00:00:00 2001 From: levisyin <150114626+levisyin@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:42:02 +0800 Subject: [PATCH] fix(orm): run module_test failed (#19057) --- orm/model/ormdb/module_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/orm/model/ormdb/module_test.go b/orm/model/ormdb/module_test.go index 18c7f55878..2557cd857c 100644 --- a/orm/model/ormdb/module_test.go +++ b/orm/model/ormdb/module_test.go @@ -13,6 +13,7 @@ import ( "gotest.tools/v3/assert" "gotest.tools/v3/golden" + appv1alpha1 "cosmossdk.io/api/cosmos/app/v1alpha1" ormmodulev1alpha1 "cosmossdk.io/api/cosmos/orm/module/v1alpha1" ormv1alpha1 "cosmossdk.io/api/cosmos/orm/v1alpha1" "cosmossdk.io/core/genesis" @@ -34,8 +35,8 @@ import ( func init() { // this registers the test module with the module registry - am.Register(&testpb.Module{}, - am.Provide(NewKeeper), + appconfig.RegisterModule(&testpb.Module{}, + appconfig.Provide(NewKeeper), ) }