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

Remove SMT logic for Zero Prover #1374

Merged
merged 6 commits into from
Nov 7, 2024

Conversation

rachit77
Copy link

@rachit77 rachit77 commented Oct 29, 2024

Remove unnecessary logic for Pre state execution and SMT which are not required by zero prover

@cla-bot cla-bot bot added the cla-signed label Oct 29, 2024
@rachit77 rachit77 changed the title cccccbjgvikdevdufkljeerrevdrkldvghdnfgbehbld Remove SMT logic for Zero Prover Oct 29, 2024
core/state/intra_block_state_zkevm.go Outdated Show resolved Hide resolved
core/state/intra_block_state_zkevm.go Outdated Show resolved Hide resolved
@rachit77 rachit77 requested a review from cffls October 29, 2024 18:55
@cffls
Copy link

cffls commented Oct 30, 2024

Looks good to me overall. Let's test this in kurtosis and make sure the state root of L2 blocks remains the same when the blocks are empty.

zk/stages/stage_sequence_execute_blocks.go Outdated Show resolved Hide resolved
core/blockchain_zkevm.go Outdated Show resolved Hide resolved
Stefan-Ethernal added a commit that referenced this pull request Nov 4, 2024
Stefan-Ethernal added a commit that referenced this pull request Nov 5, 2024
@cffls
Copy link

cffls commented Nov 5, 2024

Used this branch and created an L2 with normalcy enabled using kurtosis, but the state roots are different between each block. Maybe there are still something missing.

Stefan-Ethernal added a commit that referenced this pull request Nov 6, 2024
Stefan-Ethernal added a commit that referenced this pull request Nov 6, 2024
Stefan-Ethernal added a commit that referenced this pull request Nov 6, 2024
Stefan-Ethernal added a commit that referenced this pull request Nov 6, 2024
@hexoscott hexoscott merged commit 4312933 into 0xPolygonHermez:zkevm Nov 7, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants