Skip to content

Commit

Permalink
Fix state export (#3672) (#3673)
Browse files Browse the repository at this point in the history
(cherry picked from commit 480a090)

Co-authored-by: Dev Ojha <[email protected]>
  • Loading branch information
mergify[bot] and ValarDragon authored Dec 9, 2022
1 parent d4039c8 commit 175a6b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/ibc-hooks/sdkmodule.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 175a6b6

Please sign in to comment.