Skip to content

Commit

Permalink
print auth genesis to spot weird accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
tbruyelle committed Aug 27, 2024
1 parent 8b5a8dc commit 80ea857
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"os"
"path/filepath"

"github.com/davecgh/go-spew/spew"
"github.com/gorilla/mux"
"github.com/rakyll/statik/fs"
"github.com/spf13/cast"
Expand Down Expand Up @@ -261,6 +262,7 @@ func (app *AtomOneApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) a
if err := tmjson.Unmarshal(req.AppStateBytes, &genesisState); err != nil {
panic(err)
}
spew.Dump("AUTH", genesisState["auth"])

app.UpgradeKeeper.SetModuleVersionMap(ctx, app.mm.GetVersionMap())

Expand Down

0 comments on commit 80ea857

Please sign in to comment.