Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
kocubinski committed May 31, 2024
1 parent 87d1c5b commit aa21e93
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions simapp/v2/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()})

Expand Down Expand Up @@ -240,6 +243,4 @@ func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAd
// if err != nil {
// panic(err)
// }

return servertypes.ExportedApp{}, nil
}

0 comments on commit aa21e93

Please sign in to comment.