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

A developer can build a calldata "block" #34

Closed
LHerskind opened this issue Mar 8, 2023 · 2 comments
Closed

A developer can build a calldata "block" #34

LHerskind opened this issue Mar 8, 2023 · 2 comments
Assignees

Comments

@LHerskind
Copy link
Contributor

Part of https://github.com/AztecProtocol/aztec3-milestones/issues/18

A developer should be able to build the generate the payload for a rollup given that he have the current state.

type AppendOnlyTreeSnapshot = { 
    root: fr,
    next_available_leaf_index: uint32, // type tbd
}

type CalldataPreimage {
    rollup_id: u32,

    start_private_data_tree_snapshot: AppendOnlyTreeSnapshot,
    start_tree_of_historic_private_data_tree_roots_snapshot: AppendOnlyTreeSnapshot,
    start_nullifier_tree_snapshot: AppendOnlyTreeSnapshot,
    start_contract_tree_snapshot: AppendOnlyTreeSnapshot,
    start_tree_of_historic_contract_tree_roots_snapshot: AppendOnlyTreeSnapshot,
    
    end_private_data_tree_snapshot: AppendOnlyTreeSnapshot,    
    end_nullifier_tree_snapshot: AppendOnlyTreeSnapshot,    
    end_contract_tree_snapshot: AppendOnlyTreeSnapshot,    
    end_tree_of_historic_private_data_tree_roots_snapshot: AppendOnlyTreeSnapshot,    
    end_tree_of_historic_contract_tree_roots_snapshot: AppendOnlyTreeSnapshot,

    new_commitments: Array<fr, ?>,
    new_nullifiers: Array<fr, ?>,
    new_contracts: Array<fr, ?>
    new_contract_data: Array<{az_address, eth_address}, ?>,
}
@LHerskind LHerskind added this to A3 Mar 8, 2023
@LHerskind LHerskind converted this from a draft issue Mar 8, 2023
@LHerskind LHerskind self-assigned this Mar 8, 2023
@iAmMichaelConnor iAmMichaelConnor added this to the 📜 Deploy a Contract milestone Mar 10, 2023
@LHerskind LHerskind moved this from Todo to In Progress in A3 Mar 10, 2023
@LHerskind
Copy link
Contributor Author

Included in #35

@LHerskind
Copy link
Contributor Author

Fixed in #41

@github-project-automation github-project-automation bot moved this from In Progress to Done in A3 Apr 11, 2023
ludamad pushed a commit that referenced this issue Jul 14, 2023
* Make standard_unrolled manifest more legible.
* Honk manifest first draft.
* Expand prover skeleton.
* Flavor namespace reorg.
* Move create_manifest; grow init'n of prover.
* Proof construction no segfaults.
* Respond to PR review.
ludamad pushed a commit that referenced this issue Jul 19, 2023
ludamad pushed a commit that referenced this issue Jul 21, 2023
@iAmMichaelConnor iAmMichaelConnor removed this from A3 Jul 26, 2023
codygunton added a commit that referenced this issue Jan 23, 2024
* Make standard_unrolled manifest more legible.
* Honk manifest first draft.
* Expand prover skeleton.
* Flavor namespace reorg.
* Move create_manifest; grow init'n of prover.
* Proof construction no segfaults.
* Respond to PR review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants