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

Bring main up to date with latest branch #101

Closed
wants to merge 340 commits into from
Closed

Bring main up to date with latest branch #101

wants to merge 340 commits into from

Conversation

z2trillion
Copy link
Contributor

No description provided.

Mason Liang and others added 29 commits August 23, 2023 15:20
Co-authored-by: Mason Liang <[email protected]>
Co-authored-by: Mason Liang <[email protected]>
Co-authored-by: Mason Liang <[email protected]>
* Check that nonce and code size are 0 new account leaf

* Remove unreachable condition

---------

Co-authored-by: Mason Liang <[email protected]>
* Add is_first selector to handle wraparound for .previous

* Remove unneeded condition

* Correct constraint name

---------

Co-authored-by: Mason Liang <[email protected]>
* Add failing tests

* Add failing empty mpt empty account proof test

* Handle case of singleton and empty mpt's

---------

Co-authored-by: Mason Liang <[email protected]>
* Handle case for proving 0 balance, nonce, keccak code hash, code size, and empty storage updates in an empty mpt

* Add singleton_mpt_empty_account test

* Fix documentation

---------

Co-authored-by: Mason Liang <[email protected]>
* Add comment explaining why we don't need to range check address_low

* [ZK 2-23] add check that final mpt update row is padding (#85)

* Add check that final mpt update row is padding

* fmt

* Use constraints instead of lookups

* Fix assert

---------

Co-authored-by: Mason Liang <[email protected]>

* Add range check for address_low

* camel case test name

---------

Co-authored-by: naure <[email protected]>
Co-authored-by: Mason Liang <[email protected]>
* fix column annotation

* Implement n_rows_required for internal gadgets

* Add n_rows_required implementation for MptUpdateGadget

* clippy and add 1 to account for disabled row in MptUpdateConfig

* Start assignment from second row

* Remove panic

* Add comments explaining where +1 comes from

* Add test for fixed vk

* Dedup hash traces and add comment explaining +1 in n_rows_required

* Fix comment

* Fix build

* Track Cargo.lock

---------

Co-authored-by: Mason Liang <[email protected]>
@z2trillion z2trillion closed this Nov 6, 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.

5 participants