From 175a6b6717edf2788fff58e6a54b5fb271fbf1db Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 9 Dec 2022 03:39:01 +0100 Subject: [PATCH] Fix state export (#3672) (#3673) (cherry picked from commit 480a090843ae8f14704fdb89c7915afa0cc2d29a) Co-authored-by: Dev Ojha --- x/ibc-hooks/sdkmodule.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x/ibc-hooks/sdkmodule.go b/x/ibc-hooks/sdkmodule.go index 61611869e37..d28b18b282f 100644 --- a/x/ibc-hooks/sdkmodule.go +++ b/x/ibc-hooks/sdkmodule.go @@ -121,10 +121,8 @@ func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json. return []abci.ValidatorUpdate{} } -// ExportGenesis returns the exported genesis state as raw bytes for the mint -// module. func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { - return json.RawMessage{} + return json.RawMessage([]byte("{}")) } // BeginBlock returns the begin blocker for the mint module.