-
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
fix(market): load proposals and states roots once in on_miner_sectors_terminate #1585
Conversation
@Abhay-2811 this repo has fairly opinionated rules about formatting and your changes are currently failing. Running rustfmt should fix it, hopefully you can get that integrated into your editor (I use VS Code and and running "Format Document" applies the rules). There's also other checks that clippy applies. The best way to completely check your changes is running |
Also note:
|
Ran fmt and clippy commands, make check returns errors but it's unrelated to changes I made should I push?
|
Oh, they are related, because you have an @Stebalien is there any point cloning here? We're not mutating the |
@rvagg fixed CI-related issues in the latest commit |
rustfmt still not happy, thanks to the new |
Hey @rvagg pushed the fix but should I be aware of any other CI checks, I ran |
Fixes #1498
Changes made:
Caching proposals and states before iterating through deals.
Helper functions to query deal proposal and deal state from cached data.