From aa21e932229487fe96e59ea8b837cf3482eebadd Mon Sep 17 00:00:00 2001 From: Matt Kocubinski Date: Fri, 31 May 2024 13:54:16 -0500 Subject: [PATCH] add TODO --- simapp/v2/export.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simapp/v2/export.go b/simapp/v2/export.go index 06591726b9f6..2097bb1a5f51 100644 --- a/simapp/v2/export.go +++ b/simapp/v2/export.go @@ -6,6 +6,9 @@ import ( // ExportAppStateAndValidators exports the state of the application for a genesis file. func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs, modulesToExport []string) (servertypes.ExportedApp, error) { + panic("not implemented") + // server/v1 implementation is below: + // // as if they could withdraw from the start of the next block // ctx := app.NewContextLegacy(true, cmtproto.Header{Height: app.LastBlockHeight()}) @@ -240,6 +243,4 @@ func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAd // if err != nil { // panic(err) // } - - return servertypes.ExportedApp{}, nil }