From 08acdfbf9cfd1b91e34cce94e5d68f28eb399ab8 Mon Sep 17 00:00:00 2001 From: Jayden Lee <41176085+tkxkd0159@users.noreply.github.com> Date: Fri, 3 May 2024 16:12:07 +0900 Subject: [PATCH] chore --- x/fbridge/keeper/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/fbridge/keeper/keeper.go b/x/fbridge/keeper/keeper.go index 33cc2ed914..8e50b43e72 100644 --- a/x/fbridge/keeper/keeper.go +++ b/x/fbridge/keeper/keeper.go @@ -111,7 +111,7 @@ func (k Keeper) GetRoleMetadata(ctx sdk.Context) types.RoleMetadata { data := types.RoleMetadata{} bz := memStore.Get(types.KeyMemRoleMetadata) if bz == nil { - panic("role metadata must be set at genesis") + return types.RoleMetadata{} } k.cdc.MustUnmarshal(bz, &data) return data