Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

MPT max nodes #1745

Merged
merged 6 commits into from
Jan 30, 2024
Merged

MPT max nodes #1745

merged 6 commits into from
Jan 30, 2024

Conversation

miha-stopar
Copy link
Collaborator

Description

This PR resolves the test failure in #1706.

The parameter max_nodes has been added to the MPT to have always the same fixed column q_enable.

The fixed column q_last has been removed because it is not necessary - if some nodes are added to the MPT proof after the account/storage leaf to enable some non-valid lookups, the proof would fail because of address/key RLC constraints (the RLC is being built node by node).

Issue Link

#1700

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@github-actions github-actions bot added the crate-zkevm-circuits Issues related to the zkevm-circuits workspace member label Jan 29, 2024
@KimiWu123 KimiWu123 self-requested a review January 29, 2024 10:39
@github-actions github-actions bot added T-bench Type: benchmark improvements crate-circuit-benchmarks Issues related to the circuit-benchmarks workspace member labels Jan 29, 2024
@ChihChengLiang ChihChengLiang self-requested a review January 29, 2024 14:07
Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

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

LGTM with a nitpick.

Copy link
Contributor

@KimiWu123 KimiWu123 left a comment

Choose a reason for hiding this comment

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

LGTM!

@miha-stopar miha-stopar added this pull request to the merge queue Jan 30, 2024
Merged via the queue into main with commit b303b28 Jan 30, 2024
@miha-stopar miha-stopar deleted the mpt_max_nodes branch January 30, 2024 11:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crate-circuit-benchmarks Issues related to the circuit-benchmarks workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member T-bench Type: benchmark improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants