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

Curie updates #289

Merged
merged 13 commits into from
Jul 5, 2024
Merged

Curie updates #289

merged 13 commits into from
Jul 5, 2024

Conversation

isabellewei
Copy link
Contributor

No description provided.

isabellewei and others added 10 commits June 18, 2024 12:26
…-version

Curie: update libzkp version to v0.11.3
Am currently making a storage prover in noir and found this error

In the zktrie repo nodekeys are hashed with ToSecureKey() in type/util.go (afaik)
https://github.com/scroll-tech/zktrie/blob/23181f209e94137f74337b150179aeb80c72e7c8/types/util.go#L107

ToSecureKey() uses Hash()  in types/bytes32.go which uses HASH_DOMAIN_BYTE32 as domain which is 256 *2 (512)
see here: https://github.com/scroll-tech/zktrie/blob/23181f209e94137f74337b150179aeb80c72e7c8/types/hash.go#L16

and here is where i did my test in noir :D (account leaf is lower in same file)
https://github.com/jimjimvalkema/scrollZkStorageProofs/blob/bcdd922405e046e99787b8b47f374befac170779/ScrollStorageProver/src/main.nr#L168
fix page zktrie: change the domain of nodeKey hashing to 512 instead of 256
Copy link

netlify bot commented Jul 2, 2024

Deploy Preview for scroll-documentation ready!

Name Link
🔨 Latest commit 25a4e04
🔍 Latest deploy log https://app.netlify.com/sites/scroll-documentation/deploys/66885c9928bfbb0008d0bdcc
😎 Deploy Preview https://deploy-preview-289.docs.scroll.xyz
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dghelm
Copy link
Collaborator

dghelm commented Jul 3, 2024

Do we need to first merge #286 ?

* remove legacy flag for foundry

* update Curie details

* fix typo

* oops

* Add PR descriptions
@isabellewei isabellewei merged commit 4071770 into prod Jul 5, 2024
5 of 6 checks passed
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.

7 participants