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

feat(cli): lotus state sectors --show-partitions + CSV #12834

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Jan 21, 2025

  • Add option to show partitions and deadlines.
  • Print output in CSV

@rvagg rvagg requested a review from rjan90 January 21, 2025 10:18
@rvagg rvagg force-pushed the rvagg/lotus-state-sectors-partitions branch 2 times, most recently from 0425e0b to 73dec37 Compare January 21, 2025 10:19
@rjan90
Copy link
Contributor

rjan90 commented Jan 21, 2025

Needs a make docsgen it seems to pass the gen-check. But apart from that looks good from testing it out:

lotus state sectors --show-partitions f08403
Sector Number, Deadline, Partition, Sealed CID
8328, 3, 0, bagboea4b5abcaxwczngoee5y6gask3m52iutd3lt3ghr75zuojlm6mnjowwncmka
8470, 0, 0, bagboea4b5abcbrvivor6335bbinaf26wo6ycihk2oafhy5cixkhqyndofljf3c2n
8489, 0, 0, bagboea4b5abcaoh2yg5jvfefohtnfcsqqh6aooszft3rcm5s6pxgrrzjd6sny4r6
8490, 0, 0, bagboea4b5abcaug7e75ev7jxazbxpbgqge433icczsvgppjidzmxlgspp5eo2j3r
8491, 0, 0, bagboea4b5abcbuka24vplitzekfev33w4dzrfqygfuqmzolwdz43jeo6owrjjvcz
8492, 0, 0, bagboea4b5abcae3xi6agdan2f3xpv4gpxvx4ewlkav2hlkjgmhogqe63qbi77xyt
8493, 0, 0, bagboea4b5abcabdh46zfwqbl77jg5rubpp3vd2uahgn4ngtj4vv4zgifmsnnpnyd
8494, 0, 0, bagboea4b5abcbaovqhjzihibr5uaaa7ssr5xw7kpixl6cxkybozhg3reynai3rsq
8495, 0, 0, bagboea4b5abcazoyzlemfbw6seez73dgnashtzliwnbeiaas25hxcohd6iozugy7
8496, 0, 0, bagboea4b5abcbgh3jwdld3ykfp33zfrj5u5zhj5zjovorw7z4rijgpsii3wy5t2g
8497, 0, 0, bagboea4b5abcbut3ydarbmx4zmfatt56lsjliqguy2kjjobvxa7rwgenyjz65sls
------
18210, 3, 0, bagboea4b5abca6upgayd5xbbpo22ayuxhlvkr3ftf7yrn3ypkxnpa3bncwxhhj24
18211, 3, 0, bagboea4b5abca5bprwx7ax3lkefwkreigmrljtvmc32wzfrel6pevqt54fpb3tc2
18212, 3, 0, bagboea4b5abcankzrv3vs2dgqv6sdmvxcwlswp5jsk3qh4gji2ck2vmkvxc6rlrs
18213, 3, 0, bagboea4b5abca7dqkvle7ldbrmebhphgit3ordg3eun473ekzvljlf2nfwxqierx

* Add option to show partitions and deadlines.
* Print output in CSV
@rvagg rvagg force-pushed the rvagg/lotus-state-sectors-partitions branch from 73dec37 to a44b124 Compare January 21, 2025 10:41
Copy link
Contributor

@rjan90 rjan90 left a comment

Choose a reason for hiding this comment

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

lgtm

@rvagg rvagg merged commit 313cd2b into master Jan 22, 2025
83 checks passed
@rvagg rvagg deleted the rvagg/lotus-state-sectors-partitions branch January 22, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

2 participants