Skip to content

Commit

Permalink
Merge pull request #513 from input-output-hk/felix-lipski/create-stak…
Browse files Browse the repository at this point in the history
…ed-human-readable-genesis-json

Human readable genesis.json for `create-staked`
  • Loading branch information
felix-lipski authored Dec 11, 2023
2 parents 6947822 + 520f457 commit 89eea4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ runGenesisCreateStakedCmd
start genDlgs mNonDelegatedSupply (length nonDelegAddrs) nonDelegAddrs stakePools stake
(Just delegatedSupply) numDelegations delegAddrs stuffedUtxoAddrs template

liftIO $ LBS.writeFile (rootdir </> "genesis.json") $ Aeson.encode shelleyGenesis
liftIO $ LBS.writeFile (rootdir </> "genesis.json") $ encodePretty shelleyGenesis

void $ writeFileGenesis (rootdir </> "genesis.alonzo.json") $ WritePretty alonzoGenesis
void $ writeFileGenesis (rootdir </> "genesis.conway.json") $ WritePretty conwayGenesis
Expand Down

0 comments on commit 89eea4d

Please sign in to comment.