Skip to content

feat(shed): lotus-shed find-msg --count X actor:Method#13117

Merged
rvagg merged 1 commit intomasterfrom
rvagg/shed-find-msg
May 10, 2025
Merged

feat(shed): lotus-shed find-msg --count X actor:Method#13117
rvagg merged 1 commit intomasterfrom
rvagg/shed-find-msg

Conversation

@rvagg
Copy link
Member

@rvagg rvagg commented May 9, 2025

Search back through the chain to find messages of a particular type and print them out. Also includes the ability to add special cases for more information, currently just PCS3 which will also print out the number of sectors and the proof type.

This has been sitting in my local repo and I've been hardwiring values but I keep on having to use it so I made it more generic and will check it in.

@rjan90 this is one of the recent uses I've had for this tool so we can look at batch vs aggregate onboarding:

$ lotus-shed find-msg --tipset @4950273 --count 2 storageminer:ProveCommitSectors3
Epoch, MsgCid, From, To, Method, Sectors, Type
4950273, bafy2bzacebofnwjazb2nksoxmj7yn5whfhxtub7thlf3pfllnfetejkgqmpwi, f3xedke4ro7xhaovd3vk5gov7ezmrdc3k6pp2qa2svcwmd5qmhio2tlp7e6omv36hhi4ihjs22ryowdklqc6lq, f02920450, 34, 1, batch
4950273, bafy2bzaced5zn6vwh55e5bqk5yiqw3xy3ii43av6cmwdoyi7iuesiiaev4yk4, f3wzxynjiptyogm442qg4cv74czijfzj7fzymqx6gmr6yw6oojhmlg7qavplholgoeyiyxh2zostfrnc2w2mxq, f01240, 34, 1, batch
4950273, bafy2bzacedy2dayukexlpkp5akaun4wgx6pddtahtbxpkhnzfhql52mhaeoyy, f3q5cnepquk3naivrukfcp24mnpo43tucnu6te6ms2c2zyqnyqxpxig2qdhvhxlwid5q7dwxqfixmwyqtyd2gq, f02063867, 34, 1, batch
4950273, bafy2bzacedcz45nfqrhanzildzjuqvnfgzkqwi7b6gzy26v7lvwjrd3oeynks, f3qvbwnmocyveigvfuhpttk6vbcafosecsj5kifh5wqkhrkoi5e4k465facveidwqctleilvodznozllujxkua, f02924003, 34, 1, batch
4950273, bafy2bzacebawqdmarkekupxfqpn2vqeysls2cuuxuvjueksvs5mme7622aqec, f3r4ntpk2kyvrwrl5omoywknjinlvtin3pteo4ayh2gyfjxfj6yotbokp6oq5qvqtqiwvrgftz473jbzbwhdaa, f03499693, 34, 8, aggregate
4950273, bafy2bzacebu5jvanfkgpr3mtmvgdx6cv2nenuq3nubykb7szd44beqph4zkbw, f3whlqhwwjbskfercjnbydhfahrxyk6f6kzbpnewbktkohohvmq6svk7c2a2n7rylyevn643zupejisz44tr3a, f03336022, 34, 1, batch
4950273, bafy2bzacedwg2u2hh4lf5wnu3ztngcuxeehtfzsu2kdtlx7pwxd3gcrnv5fse, f3w5q2le2ddphyjcgqlbrmqy3om2oaholoeyjh7az2lbt7srys3iw6d7bmme24ewbomxhuk6olgwxvtcbffvpq, f02874347, 34, 1, batch
4950273, bafy2bzaceb4dec3bjdbkkxz3xio6jitakqvbq6i75gjjnloyyemn5x4zvdnpu, f3wrkctnvewvgsdilkkrxhop7pq3jbbsuyebynjeipx233xj7sz73n2rpcpf4uujnge7gg35teecebp4jjooaa, f03228500, 34, 15, aggregate
4950273, bafy2bzacedmmlg222mb4awwyilpaybof3d5lsdawqeinwpv7ydwuid3mrcj2s, f3qgmv6ytd7kjv3ud47iww4zucfvb6f64nulor4vmkx6xqbqunucprktv5uhbpal2wtmla2fenl665p2anbgta, f03336023, 34, 3, batch
4950273, bafy2bzacec4attzgcyrevxar4my6uwhzxgg5saos3sw5esutjlkq3abmmaxqg, f3wzxynjiptyogm442qg4cv74czijfzj7fzymqx6gmr6yw6oojhmlg7qavplholgoeyiyxh2zostfrnc2w2mxq, f01240, 34, 1, batch

Search back through the chain to find messages of a particular type and print
them out. Also includes the ability to add special cases for more information,
currently just PCS3 which will also print out the number of sectors and the
proof type.
@rvagg rvagg requested a review from rjan90 May 9, 2025 18:20
@github-project-automation github-project-automation bot moved this to 📌 Triage in FilOz May 9, 2025
@rvagg rvagg added the skip/changelog This change does not require CHANGELOG.md update label May 9, 2025
@github-project-automation github-project-automation bot moved this from 📌 Triage to ✔️ Approved by reviewer in FilOz May 9, 2025
@rvagg rvagg merged commit bb2ccb9 into master May 10, 2025
99 of 100 checks passed
@rvagg rvagg deleted the rvagg/shed-find-msg branch May 10, 2025 13:53
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip/changelog This change does not require CHANGELOG.md update

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants