Skip to content

Commit 94e6904

Browse files
committed
fix: set genesis-file and node-key-file in config.toml output
The legacy conversion omitted these fields, writing empty strings to config.toml. seid then fails to locate genesis.json and panics with a nil pointer dereference at start.go:199 when checking the chain ID.
1 parent 5cba8f5 commit 94e6904

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

legacy.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ func (cfg *SeiConfig) toLegacyTendermint() legacyTendermintConfig {
364364
DBPath: cfg.Storage.DBPath,
365365
LogLevel: cfg.Logging.Level,
366366
LogFormat: cfg.Logging.Format,
367+
Genesis: "config/genesis.json",
368+
NodeKey: "config/node_key.json",
367369
ABCI: cfg.Chain.ABCI,
368370
FilterPeers: cfg.Chain.FilterPeers,
369371

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v0.0.3"
2+
"version": "v0.0.4"
33
}

0 commit comments

Comments
 (0)