-
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: cli: Remove verified data cap #8175
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8175 +/- ##
==========================================
- Coverage 39.91% 39.82% -0.10%
==========================================
Files 666 666
Lines 72554 72733 +179
==========================================
+ Hits 28963 28965 +2
- Misses 38553 38717 +164
- Partials 5038 5051 +13
Continue to review full report at Codecov.
|
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.
Various nits
cli/filplus.go
Outdated
|
||
var filplusSignRemoveDataCapProposal = &cli.Command{ | ||
Name: "sign-remove-data-cap-proposal", | ||
Usage: "TODO", |
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.
fill in pls
cli/filplus.go
Outdated
} | ||
} | ||
|
||
// TODO: This should be abstracted over actor versions |
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.
Drop this TODO
cli/filplus.go
Outdated
}, | ||
Action: func(cctx *cli.Context) error { | ||
if cctx.Args().Len() != 3 { | ||
return fmt.Errorf("must specify three arguments: verifier address, client address, and allowance to remove") |
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.
return fmt.Errorf("must specify three arguments: verifier address, client address, and allowance to remove") | |
return fmt.Errorf("must specify three arguments: notary address, client address, and allowance to remove") |
Co-authored-by: Aayush Rajasekaran <[email protected]>
Co-authored-by: Aayush Rajasekaran <[email protected]>
Needs make gen |
return false, 0, xerrors.Errorf("loading verifreg: %w", err) | ||
} | ||
if vh == nil { | ||
return false, 0, xerrors.Errorf("remove data cap proposal hamt not found. you are probably using an incompatible version of actors") |
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.
return false, 0, xerrors.Errorf("remove data cap proposal hamt not found. you are probably using an incompatible version of actors") | |
return false, 0, xerrors.Errorf("remove data cap proposal hamt not found (only exists from v7 and after)") |
Co-authored-by: Aayush Rajasekaran <[email protected]>
Related Issues
Closes Issue #7863
Proposed Changes
Added the following cli commands:
lotus filplus sign-remove-data-cap-proposal
lotus-shed verifreg remove-verified-client-data-cap
Additional Info
Tested on devnet. Works as expected.
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs,perf, refactor, revert, style, testarea
: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps