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(shed): actor state diff stats #12809

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Jan 6, 2025

lotus-shed stat-actor \
  --tipset bafy2bzacecykodiotdljp4s23iysjc5i6475m2ag5ixjenrotqgrmnz77zscs,bafy2bzacecbydffjzfoxjunklbtckxayjl442tlewakj7teupzjdcu6i6iz6e \
  --diff-tipset bafy2bzacedzezzfig27gaohijy7tx5vgb77vih4ri3vtej5gxjbne7v6o3qfs,bafy2bzaceab7d56jwldxtye3k5egh476kk6gzvdukncdizmkw6ssssa5znqdg \
  f08403 | jq

Extends stat-actor, which prints DAG stats for an actor, and adds a --diff-tipset flag that lets you specify a second tipset that you want to diff the stats against. Instead of totals, the output will be just the mutated diff between the two (i.e. the unique blocks in the actor's DAG).

@rvagg rvagg force-pushed the rvagg/actor-state-diff branch from f2e4bb3 to 2ec2aa6 Compare January 6, 2025 05:44
@rvagg
Copy link
Member Author

rvagg commented Jan 7, 2025

Screenshot 2025-01-07 at 4 59 57 pm

well that works 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📌 Triage
Development

Successfully merging this pull request may close these issues.

1 participant