-
Notifications
You must be signed in to change notification settings - Fork 316
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
expose staged sector metadata through FFI #368
Conversation
c041e66
to
124f7c4
Compare
@@ -6,13 +6,12 @@ use serde::{Deserialize, Serialize}; | |||
use serde_big_array::BigArray; | |||
use std::fmt; | |||
|
|||
#[derive(Default, Clone, Serialize, Deserialize, Debug, PartialEq)] |
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.
why no default anymore?
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.
and I found it down below, but you could have it easier by deriving default here and implementing it on SealStatus
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.
Oh, that's a much better idea. Thanks. Good call.
@laser anything stopping this PR from being merged? |
124f7c4
to
fc6ef35
Compare
- replace StagedSectorMetadata.sealing_error and accepting_data with seal_status - add new get_staged_sectors method + FFI function
fc6ef35
to
2e7bd24
Compare
d66dcc6
to
7925b35
Compare
This addresses the rust-proofs side of this go-filecoin issue.
What's in this PR?