-
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
polish: add ClaimsChanged and DiffClaims method to power shim #4628
Conversation
} | ||
|
||
func fromV2Claim(v2 power2.Claim) Claim { | ||
return Claim{ |
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.
power2.Claim
has an extra field (SealProofType
) that Claim
does not, I think ignoring it here should be fine but wanted to flag.
Claim Claim | ||
} | ||
|
||
func DiffClaims(pre, cur State) (*ClaimChanges, error) { |
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.
@Stebalien would you mind giving this a second look, I've added this since the initial request for review.
|
Motivated by inspection performed in Visor.