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

Add 1 more instance row for starting row #544

Merged
merged 4 commits into from
Jun 1, 2022

Conversation

z2trillion
Copy link
Collaborator

Previously we were short one instance row, which meant that the powers of randomness for the final row in the rw table were all 0.

The storage_key_rlc test fails without the fix in the instance function.

@github-actions github-actions bot added the crate-zkevm-circuits Issues related to the zkevm-circuits workspace member label May 30, 2022
Copy link
Collaborator

@miha-stopar miha-stopar left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@ed255 ed255 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ed255 ed255 merged commit e7fd4c1 into privacy-scaling-explorations:main Jun 1, 2022
@z2trillion z2trillion deleted the fix/rlc branch June 30, 2022 05:57
jonathanpwang pushed a commit to axiom-crypto/zkevm-circuits that referenced this pull request Aug 1, 2023
…act (privacy-scaling-explorations#544)

* feat: refactor pi circuit to latest (wip)

* do not include parent_hash in block table

* pi circuit tests reorg

* move constants to params

* use copy constraints to enforce pi fields' validity

* add rpi_padding related constraints

* update dummy_tx to be pre-eip155 tx

* finish rpi padding constraints

* update keccak inputs for pi circuit

* update (chain_id, hi, lo) instance into bytes

* fmt

* chain_id is u64 now

* copy chain_id from pi to tx table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate-zkevm-circuits Issues related to the zkevm-circuits workspace member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants