Skip to content

Comments

A0-1396 Poseidon hash function#835

Merged
fbielejec merged 23 commits intosnarkelingfrom
poseidon-hash-function
Jan 12, 2023
Merged

A0-1396 Poseidon hash function#835
fbielejec merged 23 commits intosnarkelingfrom
poseidon-hash-function

Conversation

@fbielejec
Copy link
Contributor

Description

An instance of a (parameterized) Poseidon hash function to be used with the relations crate.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have added tests
  • I have made neccessary updates to the Infrastructure
  • I have made corresponding changes to the existing documentation
  • I have created new documentation
  • I have bumped spec_version and transaction_version
  • I have bumped aleph-client version if relevant

@fbielejec fbielejec changed the base branch from main to snarkeling December 29, 2022 11:21
@fbielejec fbielejec marked this pull request as draft December 29, 2022 11:21
@fbielejec fbielejec changed the title Poseidon hash function A0-1396 Poseidon hash function Jan 10, 2023
@fbielejec fbielejec marked this pull request as ready for review January 10, 2023 15:32
Copy link
Contributor

@pmikolajczyk41 pmikolajczyk41 left a comment

Choose a reason for hiding this comment

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

lgtm, but maybe before following up with 2to1, I suggest creating SC with this preimage, just to measure time needed for this computation

@fbielejec
Copy link
Contributor Author

lgtm, but maybe before following up with 2to1, I suggest creating SC with this preimage, just to measure time needed for this computation

Sure, there is this task that I will take next: https://cardinal-cryptography.atlassian.net/browse/A0-1841

@pmikolajczyk41
Copy link
Contributor

regarding SC costs, you might find #852 helpful

Copy link
Contributor

@mike1729 mike1729 left a comment

Choose a reason for hiding this comment

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

A couple comments but nothing big. Great work to make it work!

fbielejec and others added 4 commits January 11, 2023 15:37
Co-authored-by: deuszx <95355183+deuszx@users.noreply.github.com>
@fbielejec fbielejec merged commit 42934a5 into snarkeling Jan 12, 2023
@fbielejec fbielejec deleted the poseidon-hash-function branch January 12, 2023 11:45
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.

4 participants