Skip to content

Commit

Permalink
replace Aeson encode with encodePretty
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-lipski committed Dec 8, 2023
1 parent b0cf3f0 commit 520f457
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 520f457

Please sign in to comment.