Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cardano-cli | create-staked: fix UTxO size distribution #4765

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

deepfire
Copy link
Contributor

  1. fix the create-staked distribution, where the first stake pool was getting the majority of funds.
  2. make create-staked print diagnostic output to stderr

@@ -754,7 +754,7 @@ runGenesisCreateStaked (GenesisDir rootdir)
writeFileGenesis (rootdir </> "genesis.alonzo.json") alonzoGenesis
--TODO: rationalise the naming convention on these genesis json files.

liftIO $ Text.putStrLn $ mconcat $
liftIO $ Text.hPutStrLn stderr $ mconcat $
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, why this change?

Copy link
Contributor Author

@deepfire deepfire Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To simplify script integration, where stdout is used for semantic reasons.

@deepfire deepfire force-pushed the fix-genesis-create-staked-distribution branch from d378ecc to 30569c0 Compare January 11, 2023 12:49
@deepfire deepfire merged commit 3b6dbe0 into master Jan 11, 2023
@iohk-bors iohk-bors bot deleted the fix-genesis-create-staked-distribution branch January 11, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants