Skip to content

Commit

Permalink
fix: stub circuit output for the meantime
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Jul 26, 2023
1 parent e0808b8 commit 98692dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const logger = createDebugLogger('aztec:integration_l1_publisher');

const config = getConfigEnvVars();

const numberOfConsecutiveBlocks = 1;
const numberOfConsecutiveBlocks = 2;

describe('L1Publisher integration', () => {
let publicClient: PublicClient<HttpTransport, Chain>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class SoloBlockBuilder implements BlockBuilder {
startTreeOfHistoricContractTreeRootsSnapshot,
startL1ToL2MessageTreeSnapshot,
startTreeOfHistoricL1ToL2MessageTreeRootsSnapshot,
startHistoricBlocksTreeSnapshot,
// startHistoricBlocksTreeSnapshot,
] = await Promise.all(
[
MerkleTreeId.PRIVATE_DATA_TREE,
Expand Down Expand Up @@ -122,7 +122,7 @@ export class SoloBlockBuilder implements BlockBuilder {
endTreeOfHistoricContractTreeRootsSnapshot,
endL1ToL2MessageTreeSnapshot,
endTreeOfHistoricL1ToL2MessageTreeRootsSnapshot,
endHistoricBlocksTreeSnapshot,
// endHistoricBlocksTreeSnapshot,
} = circuitsOutput;

// Collect all new nullifiers, commitments, and contracts from all txs in this block
Expand Down Expand Up @@ -169,8 +169,9 @@ export class SoloBlockBuilder implements BlockBuilder {
endL1ToL2MessageTreeSnapshot,
startTreeOfHistoricL1ToL2MessageTreeRootsSnapshot,
endTreeOfHistoricL1ToL2MessageTreeRootsSnapshot,
startHistoricBlocksTreeSnapshot,
endHistoricBlocksTreeSnapshot,
// TODO: Stubbed until #1162
startHistoricBlocksTreeSnapshot: AppendOnlyTreeSnapshot.empty(),
endHistoricBlocksTreeSnapshot: AppendOnlyTreeSnapshot.empty(),
newCommitments,
newNullifiers,
newL2ToL1Msgs,
Expand Down

0 comments on commit 98692dd

Please sign in to comment.