-
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.
chore!: split base rollup and remove public kernel proving (#9434)
- Remove base rollup and create two rollups: - Private base rollup: takes the tube data from private kernel tail. - Public base rollup: takes the tube data from private kernel tail-to-public and the avm proof data. - Stop proving public kernel inner, public kernel merge and public kernel tail. - Orchestrator will create a tube proof, an avm proof (if the tx contains public functions), and then create either a private or public base rollup. - The simulated version of the public kernels are used for simulation. - These public kernels can be completely removed after the logic is moved into the avm simulator.
- Loading branch information
Showing
116 changed files
with
1,826 additions
and
2,420 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
4 changes: 2 additions & 2 deletions
4
noir-projects/noir-protocol-circuits/crates/private-kernel-lib/src/private_kernel_empty.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
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
9 changes: 0 additions & 9 deletions
9
noir-projects/noir-protocol-circuits/crates/public-kernel-inner/Nargo.toml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
noir-projects/noir-protocol-circuits/crates/public-kernel-inner/src/main.nr
This file was deleted.
Oops, something went wrong.
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
7 changes: 0 additions & 7 deletions
7
noir-projects/noir-protocol-circuits/crates/public-kernel-merge/src/main.nr
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
noir-projects/noir-protocol-circuits/crates/public-kernel-tail/src/main.nr
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...uits/crates/public-kernel-tail/Nargo.toml → .../rollup-base-private-simulated/Nargo.toml
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,9 +1,9 @@ | ||
[package] | ||
name = "public_kernel_tail" | ||
name = "rollup_base_private_simulated" | ||
type = "bin" | ||
authors = [""] | ||
compiler_version = ">=0.18.0" | ||
|
||
[dependencies] | ||
rollup_lib = { path = "../rollup-lib" } | ||
types = { path = "../types" } | ||
public_kernel_lib = { path = "../public-kernel-lib" } |
6 changes: 6 additions & 0 deletions
6
noir-projects/noir-protocol-circuits/crates/rollup-base-private-simulated/src/main.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use dep::rollup_lib::base::{BaseOrMergeRollupPublicInputs, PrivateBaseRollupInputs}; | ||
|
||
#[recursive] | ||
unconstrained fn main(inputs: PrivateBaseRollupInputs) -> pub BaseOrMergeRollupPublicInputs { | ||
inputs.execute() | ||
} |
2 changes: 1 addition & 1 deletion
2
...s/crates/rollup-base-simulated/Nargo.toml → ...its/crates/rollup-base-private/Nargo.toml
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
6 changes: 6 additions & 0 deletions
6
noir-projects/noir-protocol-circuits/crates/rollup-base-private/src/main.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use dep::rollup_lib::base::{BaseOrMergeRollupPublicInputs, PrivateBaseRollupInputs}; | ||
|
||
#[recursive] | ||
fn main(inputs: PrivateBaseRollupInputs) -> pub BaseOrMergeRollupPublicInputs { | ||
inputs.execute() | ||
} |
Oops, something went wrong.