-
Notifications
You must be signed in to change notification settings - Fork 79
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
Delete deprecated UseBytes and RestoreBytes methods from verified registry #658
Conversation
Codecov Report
@@ Coverage Diff @@
## anorth/market-allocation #658 +/- ##
============================================================
+ Coverage 84.45% 84.60% +0.15%
============================================================
Files 95 95
Lines 19054 18989 -65
============================================================
- Hits 16092 16066 -26
+ Misses 2962 2923 -39
|
@@ -790,76 +786,4 @@ mod datacap { | |||
} | |||
h.check_state(&rt); | |||
} | |||
|
|||
#[test] | |||
fn restore() { |
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.
I have a feeling we'll want to reinstate these tests for verifreg::RemoveExpiredAllocations. A follow up is fine but in that case maybe leave these tests commented out so review is easier?
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.
I looked through and I think they'll be different enough to need basically re-writing. It's a good point to come check here for reference though.
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.
Looking through these now while finishing off testing:
- We use actor IDs for the client/provider, so no longer need to resolve addresses
- Anyone can call RemoveExpiredAllocations, not just the market actor
- No need to check minimums since we're dealing with allocation records the verifreg already has
e35ffb8
to
4bd98ed
Compare
Deleting code is the best.
decouple-fil+
after base PR is merged.