-
Notifications
You must be signed in to change notification settings - Fork 17
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
Poseidon - update with new release #10
base: main
Are you sure you want to change the base?
Conversation
tests/integration_poseidon.rs
Outdated
// shouldnt panic at unwrap | ||
//poseidon.log_api_values(); |
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.
// shouldnt panic at unwrap | |
//poseidon.log_api_values(); |
tests/integration_poseidon.rs
Outdated
for _ in 0..11 { | ||
let _ = poseidon.set_data(scalar.as_slice()); | ||
} | ||
const BUFFER_SIZE: usize = 999999968; // 1GB MB // 256mb |
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.
const BUFFER_SIZE: usize = 999999968; // 1GB MB // 256mb | |
const BUFFER_SIZE: usize = 999999968; // 1GB |
@@ -31,6 +33,11 @@ pub struct PoseidonResult { | |||
pub layer_id: u32, | |||
} | |||
|
|||
pub struct PoseidonReadResult<'a> { | |||
pub expected_result: usize, |
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.
This is the size of the result and not the actual expected result?
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.
Should this file be moved to the driver_client
folder since it more specific to the HW integration than the primitive itself?
No description provided.