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

feat: add support for Non-interactive PoRep #459

Merged
merged 5 commits into from
Jun 18, 2024
Merged

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Jun 13, 2024

This commit adds support for ni-porep.

It's a combination of the indivdual PRs #453, #456 and #458. Thanks everyone involved working on those.

The changes are for the Go side (actors and FVM) as well as the Rust side (proofs API).

Changes on the CI are:

  • Makes it match the Rust version in the rust-toolchain.toml
  • Newer Go version (1.21) on all platforms
  • Larger instance for the testsas the Ni-PoRep synthesis phase takes more resources.

Closes #453, #456, #458.


I made a new PR containing all changes to make things easier to follow and review.

What is still missing is a new rust-fil-proofs release containing filecoin-project/rust-fil-proofs#1758. To keep things simple, it'll probably be a patch release, so the only thing that we'll need will be updating the Cargo.lock of the filecoin-ffi.

This commit adds support for ni-porep.

It's a combination of the indivdual PRs #453, #456 and #458. Thanks everyone
involved working on those.

The changes are for the Go side (actors and FVM) as well as the Rust side
(proofs API).

Changes on the CI are:

 - Makes it match the Rust version in the rust-toolchain.toml
 - Newer Go version (1.21) on all platforms
 - Larger instance for the testsas the Ni-PoRep synthesis phase takes
   more resources.

Closes #453, #456, #458.
Copy link
Contributor

@rjan90 rjan90 left a comment

Choose a reason for hiding this comment

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

I have done a review of the things that I have knowledge about, so it would be great to have someone else 👀 and ✅ on this as well. But:

  • The constants in cgo/const.go looks correct.
  • It now uses the GST v0.14.0-rc1 which is the first GST release candidate for nv23.
  • fvm4, fvm4_shared points to the latests versions.

Copy link
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

very excellent, let's do it!

This way, all FVM versions us the same proofs libraries.
@Stebalien
Copy link
Member

I pushed one more commit to update FVM v2 & v3 to remove the old proofs code from the build tree.

@vmx
Copy link
Contributor Author

vmx commented Jun 14, 2024

I've pushed a new commit, which patches rust-fil-proofs, so that the code can be tested even without a release. This is a temporary solution, but it should keep things going.

@rjan90 rjan90 mentioned this pull request Jun 14, 2024
rust/Cargo.toml Outdated Show resolved Hide resolved
@vmx vmx merged commit c97a43a into master Jun 18, 2024
9 checks passed
@vmx vmx deleted the ni-porep-consolidated branch June 18, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

5 participants