-
Notifications
You must be signed in to change notification settings - Fork 12
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
query stake-distribution: add --output-{json,text} flags #743
query stake-distribution: add --output-{json,text} flags #743
Conversation
3d72dae
to
f6edb1d
Compare
@smelc, the test_743.zip file you attached seems to only have empty folders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍. It seems a completely uncontroversial PR to me
[ serialiseToBech32 poolId | ||
, " " | ||
, Text.pack $ showEFloat (Just 3) (fromRational stakeFraction :: Double) "" | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outside of this PR. But I was thinking it would be simpler, nicer, more reusable, and fun to have a
drawTable :: [[String]] -> String
function instead.
Urrgh indeed, I had forgotten the |
f6edb1d
to
fecb4cc
Compare
Changelog
Context
Fixes #739
How to trust this PR
I tested this PR's behavior on IntersectMBO/cardano-node#5803. You can see the comparison of the before/after states here: test_743.zip
Checklist