You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(validatePayment): loop over proving periods (#267)
## Related Issue
Closes 252 ( Once completed)
## Current Progress
I've implemented the updated looping algorithm in validatePayment as
described in the issue
- [x] Replaced the existing loop with new algorithm
- [ ] Convert provenPeriods to a bitmap
- [ ] Remove provenThisPeriod
## What I Need Feedback On
**Before I continue with the rest of the issue, I'd like to get feedback
on my implementation of the looping algorithm.**
Since there were no existing tests for this specific part of the code, I
want to make sure my approach is correct before implementing the
remaining parts of the issue. Also I would love to help you guys write
some tests for the same if required
## Questions for Maintainers
- Does the new looping logic match what you had in mind?
- Are there any edge cases I should consider?
- Any suggestions for improvement before I move forward?
## Changes Made
- Modified `FilecoinWarmStorageService.sol` to implement the new loop
structure
## Next Steps (after approval)
Once you confirm this approach is correct, I'll:
- Complete the remaining tasks in #252
- Request a full review
**Note:** This is a WIP/Draft PR specifically for early feedback on the
algorithm implementation.
(Also, just a heads-up, I changed my username from `dev-n-dough` to
`parzival1821`
---------
Co-authored-by: William Morriss <[email protected]>
0 commit comments