Skip to content

StarkPoseidon hash & MerkleTree Backends - #524

Merged
schouhy merged 7 commits into
lambdaclass:poseidon_reworkfrom
feltroidprime:poseidon_rework
Aug 23, 2023
Merged

schouhy merged 7 commits into
lambdaclass:poseidon_reworkfrom
feltroidprime:poseidon_rework

Conversation

@feltroidprime

@feltroidprime feltroidprime commented Aug 8, 2023 •

Copy link
Copy Markdown
Contributor

Working test for hades_permutation, poseidon_hash(x,y), poseidon_hash_single(x), poseidon_hash_many(Vec)

Merkle Tree Backends Implementation (no tests)

@feltroidprime
feltroidprime requested review from a team, ajgara and schouhy as code owners August 8, 2023 19:39
@feltroidprime
feltroidprime marked this pull request as draft August 8, 2023 19:40
@codecov-commenter

codecov-commenter commented Aug 8, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #524 (63f6a15) into poseidon_rework (ae435af) will increase coverage by 0.72%.
The diff coverage is 88.18%.

@@                 Coverage Diff                 @@
##           poseidon_rework     #524      +/-   ##
===================================================
+ Coverage            93.73%   94.46%   +0.72%     
===================================================
  Files                   62       64       +2     
  Lines                 8513     8703     +190     
===================================================
+ Hits                  7980     8221     +241     
+ Misses                 533      482      -51     
Files Changed Coverage Δ
...rc/merkle_tree/backends/batch_poseidon_starknet.rs 0.00% <0.00%> (ø)
...src/merkle_tree/backends/hash_poseidon_starknet.rs 0.00% <0.00%> (ø)
crypto/src/hash/poseidon/parameters.rs 97.61% <96.15%> (+97.61%) ⬆️
crypto/src/hash/poseidon/mod.rs 99.50% <99.45%> (+99.50%) ⬆️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@feltroidprime
feltroidprime marked this pull request as ready for review August 8, 2023 19:51
@feltroidprime feltroidprime changed the title StarkPoseidon test ok StarkPoseidon & test Aug 8, 2023
@feltroidprime feltroidprime changed the title StarkPoseidon & test StarkPoseidon hash(x,y) & test Aug 8, 2023
@feltroidprime
feltroidprime marked this pull request as draft August 9, 2023 09:14
@feltroidprime feltroidprime changed the title StarkPoseidon hash(x,y) & test StarkPoseidon hash & MerkleTree Backends Aug 9, 2023
@feltroidprime
feltroidprime marked this pull request as ready for review August 9, 2023 09:44
@MauroToscano

Copy link
Copy Markdown
Collaborator

Cargo clippy suggestions should be applied, and commented code removed, the rest looks good!

@ajgara

ajgara commented Aug 15, 2023

Copy link
Copy Markdown
Contributor

Also looks good to me! (Just the comments and clippy)

@schouhy
schouhy merged commit 4aad982 into lambdaclass:poseidon_rework Aug 23, 2023
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.

6 participants