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 constants not reproduced #75

Open
themighty1 opened this issue Jul 31, 2022 · 2 comments
Open

Poseidon constants not reproduced #75

themighty1 opened this issue Jul 31, 2022 · 2 comments

Comments

@themighty1
Copy link

I was trying to reproduce the constants as described at the top here:
https://github.com/iden3/circomlib/blob/master/circuits/poseidon_constants.circom

by running
sage generate_parameters_grain.sage 1 0 254 2 8 56 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001

I see the discrepancy in the result, i.e. the 3rd constant that sage outputs is
0x1e28a1d935698ad1142e51182bb54cf4a00ea5aabd6268bd317ea977cc154a30
whereas in your file it is
0x250f5116a417d76aaa422952fcc5b33329f7714fc26d56c0432507fc740a87c4

Could you pls explain how you obtained those constants? Thanks.

@themighty1
Copy link
Author

Any updates on this @jbaylina ?

@rahulghangas
Copy link

rahulghangas commented Sep 26, 2024

@jbaylina ran into the same issue. Could you please direct how to reproduce these constants?

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

No branches or pull requests

2 participants