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

Poseidon - update with new release #10

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Conversation

ImmanuelSegol
Copy link

No description provided.

Comment on lines 193 to 194
// shouldnt panic at unwrap
//poseidon.log_api_values();
Copy link
Author

Choose a reason for hiding this comment

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

Suggested change
// shouldnt panic at unwrap
//poseidon.log_api_values();

tests/integration_poseidon.rs Outdated Show resolved Hide resolved
for _ in 0..11 {
let _ = poseidon.set_data(scalar.as_slice());
}
const BUFFER_SIZE: usize = 999999968; // 1GB MB // 256mb
Copy link
Author

Choose a reason for hiding this comment

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

Suggested change
const BUFFER_SIZE: usize = 999999968; // 1GB MB // 256mb
const BUFFER_SIZE: usize = 999999968; // 1GB

tests/integration_poseidon.rs Outdated Show resolved Hide resolved
src/driver_client/dclient.rs Outdated Show resolved Hide resolved
src/driver_client/dclient.rs Outdated Show resolved Hide resolved
src/driver_client/dclient.rs Show resolved Hide resolved
src/driver_client/dclient.rs Show resolved Hide resolved
src/ingo_hash/poseidon_api.rs Outdated Show resolved Hide resolved
src/ingo_hash/dma_buffer.rs Show resolved Hide resolved
@@ -31,6 +33,11 @@ pub struct PoseidonResult {
pub layer_id: u32,
}

pub struct PoseidonReadResult<'a> {
pub expected_result: usize,
Copy link
Collaborator

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?

src/ingo_hash/poseidon_api.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

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?

tests/integration_poseidon.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants