Skip to content
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

[Audit fixes] FOR-03 - Inconsistent Deserialization of Randomness #1205

Merged
merged 7 commits into from
Sep 27, 2021

Conversation

cryptoquick
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Change Randomness type to use a vector

Reference issue to close (if applicable)

Closes #1135

Other information and links

It's not a great solution, but Lotus kinda backed us into this. As long as this doesn't cause any consensus issues, this solution should be fine. I'm not sure if this is the best approach, but it's a solution. Feel free to pick it apart or close it if there's a better way to resolve the audit finding.

@ec2
Copy link
Member

ec2 commented Aug 18, 2021

LGTM. I just need to verify against my node. Still figuring out a panic in the proofs library.

Copy link
Contributor

@connormullett connormullett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Not exactly sure how to test this, however it looks like Eric is running through that. Approved for the mean time

@ec2 ec2 merged commit f5fe14d into main Sep 27, 2021
@ec2 ec2 deleted the hunter/1135-FOR-03 branch September 27, 2021 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FOR-03 Inconsistent Deserialisation of Randomness
3 participants