paritytech / substrate-debug-kit

A collection of debug tools, scripts and libraries on top of substrate.
GNU General Public License v3.0
95 stars 36 forks source link

output json #2

Closed soc1c closed 4 years ago

soc1c commented 4 years ago
kianenigma commented 4 years ago

Apologies, just saw this! I actually wanted to start working on this but with a bit of less hacky way: 1- keep the prints as is 2- write to proper hash-maps 3- serde to json 4- only do when user passes a -o file_name

I can will soon push some updates but have not yet worked on the josn thingy. 1- we can either close this 2- can you re-build it on the new to-be master?

soc1c commented 4 years ago

Yes, I agree. I lack the skills and time to make it properly :)

I'll close this for now.

soc1c commented 4 years ago

Also, it would be really helpful to also know who is a candidate beyond rank 50.

kianenigma commented 4 years ago

Also, it would be really helpful to also know who is a candidate beyond rank 50.

currently you can run with cargo run -- --count X and get X results beyond the default 50

soc1c commented 4 years ago

ok perfect. gav just discussed to start with 30