-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Insert public data tree leaves one by one (#9989)
This PR: - Splits base rollup into public base and private base - Makes the private base only perform the fee write - The public base writes public data tree leaves one by one - The world state allows advancing the tree blocknumbers with no writes - We don't pad anymore the public data writes - For now we get witnesses for "one by one" insertion in the public data tree by calling world state one time per written item - Sync still adds all the leaves in one go, since no individual witnesses are necessary
- Loading branch information
1 parent
9ad24dd
commit a2c0701
Showing
53 changed files
with
3,220 additions
and
1,997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
noir-projects/noir-protocol-circuits/crates/rollup-lib/src/abis/mod.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
mod constant_rollup_data; | ||
mod base_or_merge_rollup_public_inputs; | ||
mod block_root_or_block_merge_public_inputs; | ||
mod previous_rollup_data; | ||
mod previous_rollup_block_data; | ||
pub(crate) mod constant_rollup_data; | ||
pub(crate) mod base_or_merge_rollup_public_inputs; | ||
pub(crate) mod block_root_or_block_merge_public_inputs; | ||
pub(crate) mod previous_rollup_data; | ||
pub(crate) mod previous_rollup_block_data; |
Oops, something went wrong.