Skip to content

Commit

Permalink
Document a tradeoff
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Dec 8, 2023
1 parent fbf9548 commit a385587
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cardano-cli/src/Cardano/CLI/EraBased/Run/CreateTestnetData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ runGenesisCreateTestNetDataCmd Cmd.GenesisCreateTestNetDataCmdArgs
OnDisk -> do
let delegates = concat $ repeat stakeDelegatorsDirs
delegatesAndPools = zip delegates distribution
-- We don't need to be attentive to laziness here, because anyway this
-- doesn't scale really well (because we're generating legit credentials,
-- as opposed to the Transient case).
forM delegatesAndPools (uncurry $ computeDelegation networkId)
Transient ->
liftIO $ Lazy.forStateM g distribution $ flip computeInsecureDelegation networkId
Expand Down

0 comments on commit a385587

Please sign in to comment.