-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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): miner locked-vested, and miner list-vested <miner> #12828
Conversation
@ZenGround0 this is probably overcounting because it's comparing to now but the unlocking only happens on deadline tick. Maybe it should count from |
If I do that, the number of miners reduces but the total FIL is still large, which makes sense since we're just discounting funds that are about to vest:
|
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.
It would be useful to have an additional command that dumps the vesting table of a given miner if you're in the mood to add that here. But either way it will now be easy to build that with this as an example.
09b9e6e
to
2badc3f
Compare
2badc3f
to
a62be27
Compare
@ZenGround0 good idea, done in this PR (change title to match). I also put a "stale epoch" of now minus one deadline, which I think matches how cron works—if it hasn't cleared by then, then it's probably not going to clear. Can you have a look at this logic? Maybe I should
It can also list miners and the miners in this list and the amount locked. The largest is |
I moved this back to "awaiting review" from @ZenGround0 . |
Approved |
Ref: filecoin-project/builtin-actors#1594
Current output: