Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

naure
Copy link

@naure naure commented Aug 28, 2023

Issue: https://app.asana.com/0/1203078612788501/1205364106497215/f

The circuit relies on checks when is_last=1. However, there is no guarantee that a row is_last=1 will be reached. In particular, the processing of an event can reach the end of the circuit before validating all steps. This is confirmed by an exploit.

Same issue and same solution as in the MPT circuit: scroll-tech/mpt-circuit#85

@naure
Copy link
Author

naure commented Aug 28, 2023

\b run testool

@zkevm-circuits-bots
Copy link

@naure naure mentioned this pull request Aug 28, 2023
@naure naure requested a review from roynalnaruto August 28, 2023 14:19
* simplify-exp-lookup: remove unnecessary Exp lookup

* simplify-exp-lookup: Remove identifier and is_last from Exp lookup

* simplify-exp-lookup: Remove identifier from the Exp circuit

---------

Co-authored-by: Aurélien Nicolas <info@nau.re>
Copy link

@z2trillion z2trillion left a comment

Choose a reason for hiding this comment

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

thanks for doing the cleanup too

@lispc lispc merged commit bc51259 into develop Aug 30, 2023
@lispc lispc deleted the fix-exp-is-last branch August 30, 2023 03:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants