-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add PoL #718
Conversation
4f74f3a
to
d5cdc22
Compare
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.
Looking good!
CI is failing in the risc0 tests though
|
||
pub fn leaf(data: &[u8]) -> [u8; 32] { | ||
let mut hasher = Sha256::new(); | ||
hasher.update(b"NOMOS_MERKLE_LEAF"); |
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.
We should consider moving to tag codes if necessary. In Merkle tree constraints, that could save a lot of cycles.
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.
Could you elaborate?
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.
LGTM
cl = { path = "../../../cl/cl" } | ||
leader_proof_statements = { path = "../../proof_statements" } | ||
nomos_pol_risc0_proofs = { path = "../risc0_proofs" } | ||
risc0-zkvm = { version = "1.0", features = ["prove", "metal"] } |
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.
Could it be that the risc0 test fails because metal
feature flag is being used on the linux host?
Promote PoL and CL crates from nomos-pocs.
CL is mostly unchanged, while PoL has gone through some refactors. I didn't include the crate in the workspace as it has special build instruction and e.g. does not support clippy