@aztec/prover-client 3.0.0-nightly.20251114 → 3.0.0-nightly.20251118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dest/block-factory/light.d.ts +6 -6
- package/dest/block-factory/light.d.ts.map +1 -1
- package/dest/block-factory/light.js +35 -22
- package/dest/light/lightweight_checkpoint_builder.d.ts +29 -0
- package/dest/light/lightweight_checkpoint_builder.d.ts.map +1 -0
- package/dest/light/lightweight_checkpoint_builder.js +107 -0
- package/dest/mocks/fixtures.d.ts +0 -3
- package/dest/mocks/fixtures.d.ts.map +1 -1
- package/dest/mocks/fixtures.js +1 -12
- package/dest/mocks/test_context.d.ts +26 -44
- package/dest/mocks/test_context.d.ts.map +1 -1
- package/dest/mocks/test_context.js +101 -112
- package/dest/orchestrator/block-building-helpers.d.ts +12 -14
- package/dest/orchestrator/block-building-helpers.d.ts.map +1 -1
- package/dest/orchestrator/block-building-helpers.js +81 -105
- package/dest/orchestrator/block-proving-state.d.ts +9 -4
- package/dest/orchestrator/block-proving-state.d.ts.map +1 -1
- package/dest/orchestrator/block-proving-state.js +80 -19
- package/dest/orchestrator/checkpoint-proving-state.d.ts.map +1 -1
- package/dest/orchestrator/checkpoint-proving-state.js +6 -4
- package/dest/orchestrator/orchestrator.d.ts +0 -1
- package/dest/orchestrator/orchestrator.d.ts.map +1 -1
- package/dest/orchestrator/orchestrator.js +15 -23
- package/package.json +15 -15
- package/src/block-factory/light.ts +43 -42
- package/src/light/lightweight_checkpoint_builder.ts +141 -0
- package/src/mocks/fixtures.ts +1 -25
- package/src/mocks/test_context.ts +141 -174
- package/src/orchestrator/block-building-helpers.ts +120 -198
- package/src/orchestrator/block-proving-state.ts +100 -22
- package/src/orchestrator/checkpoint-proving-state.ts +12 -5
- package/src/orchestrator/orchestrator.ts +18 -25
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { SpongeBlob } from '@aztec/blob-lib';
|
|
2
1
|
import { Fr } from '@aztec/foundation/fields';
|
|
3
2
|
import { L2Block } from '@aztec/stdlib/block';
|
|
4
3
|
import type { IBlockFactory, MerkleTreeWriteOperations } from '@aztec/stdlib/interfaces/server';
|
|
5
|
-
import type
|
|
4
|
+
import { type GlobalVariables, type ProcessedTx } from '@aztec/stdlib/tx';
|
|
6
5
|
import { type TelemetryClient } from '@aztec/telemetry-client';
|
|
7
6
|
/**
|
|
8
7
|
* Builds a block and its header from a set of processed tx without running any circuits.
|
|
@@ -14,18 +13,19 @@ import { type TelemetryClient } from '@aztec/telemetry-client';
|
|
|
14
13
|
* PublicProcessor which will do this for you as it processes transactions.
|
|
15
14
|
*
|
|
16
15
|
* If you haven't already inserted the side effects, e.g. because you are in a testing context, you can use the helper
|
|
17
|
-
* function `buildBlockWithCleanDB`, which calls `
|
|
16
|
+
* function `buildBlockWithCleanDB`, which calls `insertSideEffects` for you.
|
|
17
|
+
*
|
|
18
|
+
* @deprecated Use LightweightCheckpointBuilder instead. This only works for one block per checkpoint.
|
|
18
19
|
*/
|
|
19
20
|
export declare class LightweightBlockFactory implements IBlockFactory {
|
|
20
21
|
private db;
|
|
21
22
|
private telemetry;
|
|
22
23
|
private globalVariables?;
|
|
23
24
|
private l1ToL2Messages?;
|
|
24
|
-
private startSpongeBlob?;
|
|
25
25
|
private txs;
|
|
26
26
|
private readonly logger;
|
|
27
27
|
constructor(db: MerkleTreeWriteOperations, telemetry?: TelemetryClient);
|
|
28
|
-
startNewBlock(globalVariables: GlobalVariables, l1ToL2Messages: Fr[]
|
|
28
|
+
startNewBlock(globalVariables: GlobalVariables, l1ToL2Messages: Fr[]): Promise<void>;
|
|
29
29
|
addTxs(txs: ProcessedTx[]): Promise<void>;
|
|
30
30
|
setBlockCompleted(): Promise<L2Block>;
|
|
31
31
|
private buildBlock;
|
|
@@ -34,5 +34,5 @@ export declare class LightweightBlockFactory implements IBlockFactory {
|
|
|
34
34
|
* Inserts the processed transactions into the DB, then creates a block.
|
|
35
35
|
* @param db - A db fork to use for block building which WILL BE MODIFIED.
|
|
36
36
|
*/
|
|
37
|
-
export declare function buildBlockWithCleanDB(txs: ProcessedTx[], globalVariables: GlobalVariables, l1ToL2Messages: Fr[], db: MerkleTreeWriteOperations,
|
|
37
|
+
export declare function buildBlockWithCleanDB(txs: ProcessedTx[], globalVariables: GlobalVariables, l1ToL2Messages: Fr[], db: MerkleTreeWriteOperations, telemetry?: TelemetryClient): Promise<L2Block>;
|
|
38
38
|
//# sourceMappingURL=light.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/block-factory/light.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/block-factory/light.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAiB,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAGhG,OAAO,EAAqB,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC7F,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,yBAAyB,CAAC;AAQnF;;;;;;;;;;;;;GAaG;AACH,qBAAa,uBAAwB,YAAW,aAAa;IAQzD,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,SAAS;IARnB,OAAO,CAAC,eAAe,CAAC,CAAkB;IAC1C,OAAO,CAAC,cAAc,CAAC,CAAO;IAC9B,OAAO,CAAC,GAAG,CAA4B;IAEvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6C;gBAG1D,EAAE,EAAE,yBAAyB,EAC7B,SAAS,GAAE,eAAsC;IAGrD,aAAa,CAAC,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAS1F,MAAM,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAWzC,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;YAIvB,UAAU;CA6CzB;AAED;;;GAGG;AACH,wBAAsB,qBAAqB,CACzC,GAAG,EAAE,WAAW,EAAE,EAClB,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,EAAE,EAAE,EACpB,EAAE,EAAE,yBAAyB,EAC7B,SAAS,GAAE,eAAsC,oBAWlD"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { SpongeBlob } from '@aztec/blob-lib';
|
|
1
|
+
import { SpongeBlob, computeBlobsHashFromBlobs, getBlobsPerL1Block, getTotalNumBlobFieldsFromTxs } from '@aztec/blob-lib';
|
|
2
2
|
import { NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP } from '@aztec/constants';
|
|
3
3
|
import { padArrayEnd } from '@aztec/foundation/collection';
|
|
4
4
|
import { Fr } from '@aztec/foundation/fields';
|
|
5
5
|
import { createLogger } from '@aztec/foundation/log';
|
|
6
|
-
import { L2Block } from '@aztec/stdlib/block';
|
|
6
|
+
import { L2Block, L2BlockHeader } from '@aztec/stdlib/block';
|
|
7
|
+
import { computeBlockOutHash, computeInHashFromL1ToL2Messages } from '@aztec/stdlib/messaging';
|
|
7
8
|
import { MerkleTreeId } from '@aztec/stdlib/trees';
|
|
9
|
+
import { ContentCommitment } from '@aztec/stdlib/tx';
|
|
8
10
|
import { getTelemetryClient } from '@aztec/telemetry-client';
|
|
9
|
-
import { buildHeaderAndBodyFromTxs, getTreeSnapshot,
|
|
11
|
+
import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffects } from '../orchestrator/block-building-helpers.js';
|
|
10
12
|
/**
|
|
11
13
|
* Builds a block and its header from a set of processed tx without running any circuits.
|
|
12
14
|
*
|
|
@@ -17,13 +19,14 @@ import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffectsAndBuildBa
|
|
|
17
19
|
* PublicProcessor which will do this for you as it processes transactions.
|
|
18
20
|
*
|
|
19
21
|
* If you haven't already inserted the side effects, e.g. because you are in a testing context, you can use the helper
|
|
20
|
-
* function `buildBlockWithCleanDB`, which calls `
|
|
22
|
+
* function `buildBlockWithCleanDB`, which calls `insertSideEffects` for you.
|
|
23
|
+
*
|
|
24
|
+
* @deprecated Use LightweightCheckpointBuilder instead. This only works for one block per checkpoint.
|
|
21
25
|
*/ export class LightweightBlockFactory {
|
|
22
26
|
db;
|
|
23
27
|
telemetry;
|
|
24
28
|
globalVariables;
|
|
25
29
|
l1ToL2Messages;
|
|
26
|
-
startSpongeBlob;
|
|
27
30
|
txs;
|
|
28
31
|
logger;
|
|
29
32
|
constructor(db, telemetry = getTelemetryClient()){
|
|
@@ -31,16 +34,13 @@ import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffectsAndBuildBa
|
|
|
31
34
|
this.telemetry = telemetry;
|
|
32
35
|
this.logger = createLogger('lightweight-block-factory');
|
|
33
36
|
}
|
|
34
|
-
async startNewBlock(globalVariables, l1ToL2Messages
|
|
35
|
-
startSpongeBlob, // Only insert l1 to l2 messages for the first block in a checkpoint.
|
|
36
|
-
isFirstBlock = true) {
|
|
37
|
+
async startNewBlock(globalVariables, l1ToL2Messages) {
|
|
37
38
|
this.logger.debug('Starting new block', {
|
|
38
39
|
globalVariables: globalVariables.toInspect(),
|
|
39
40
|
l1ToL2Messages
|
|
40
41
|
});
|
|
41
42
|
this.globalVariables = globalVariables;
|
|
42
|
-
this.l1ToL2Messages =
|
|
43
|
-
this.startSpongeBlob = startSpongeBlob;
|
|
43
|
+
this.l1ToL2Messages = padArrayEnd(l1ToL2Messages, Fr.ZERO, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP);
|
|
44
44
|
this.txs = undefined;
|
|
45
45
|
// Update L1 to L2 tree
|
|
46
46
|
await this.db.appendLeaves(MerkleTreeId.L1_TO_L2_MESSAGE_TREE, this.l1ToL2Messages);
|
|
@@ -59,12 +59,30 @@ import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffectsAndBuildBa
|
|
|
59
59
|
return this.buildBlock();
|
|
60
60
|
}
|
|
61
61
|
async buildBlock() {
|
|
62
|
-
const
|
|
62
|
+
const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, this.db);
|
|
63
|
+
const state = await this.db.getStateReference();
|
|
64
|
+
const txs = this.txs ?? [];
|
|
65
|
+
const txEffects = txs.map((tx)=>tx.txEffect);
|
|
66
|
+
const totalNumBlobFields = getTotalNumBlobFieldsFromTxs([
|
|
67
|
+
txEffects.map((tx)=>tx.getTxStartMarker())
|
|
68
|
+
]);
|
|
69
|
+
const startSpongeBlob = await SpongeBlob.init(totalNumBlobFields);
|
|
70
|
+
const { header, body, blockBlobFields } = await buildHeaderAndBodyFromTxs(txs, lastArchive, state, this.globalVariables, startSpongeBlob, true);
|
|
63
71
|
header.state.validate();
|
|
64
|
-
|
|
65
|
-
await this.db.updateArchive(blockHeader);
|
|
72
|
+
await this.db.updateArchive(header);
|
|
66
73
|
const newArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, this.db);
|
|
67
|
-
const
|
|
74
|
+
const outHash = computeBlockOutHash(txs.map((tx)=>tx.txEffect.l2ToL1Msgs));
|
|
75
|
+
const inHash = await computeInHashFromL1ToL2Messages(this.l1ToL2Messages);
|
|
76
|
+
const blobFields = [
|
|
77
|
+
new Fr(totalNumBlobFields)
|
|
78
|
+
].concat(blockBlobFields);
|
|
79
|
+
const blobsHash = computeBlobsHashFromBlobs(getBlobsPerL1Block(blobFields));
|
|
80
|
+
const contentCommitment = new ContentCommitment(blobsHash, inHash, outHash);
|
|
81
|
+
const l2BlockHeader = L2BlockHeader.from({
|
|
82
|
+
...header,
|
|
83
|
+
contentCommitment
|
|
84
|
+
});
|
|
85
|
+
const block = new L2Block(newArchive, l2BlockHeader, body);
|
|
68
86
|
this.logger.debug(`Built block ${block.number}`, {
|
|
69
87
|
globalVariables: this.globalVariables?.toInspect(),
|
|
70
88
|
archiveRoot: newArchive.root.toString(),
|
|
@@ -78,16 +96,11 @@ import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffectsAndBuildBa
|
|
|
78
96
|
/**
|
|
79
97
|
* Inserts the processed transactions into the DB, then creates a block.
|
|
80
98
|
* @param db - A db fork to use for block building which WILL BE MODIFIED.
|
|
81
|
-
*/ export async function buildBlockWithCleanDB(txs, globalVariables, l1ToL2Messages, db,
|
|
82
|
-
const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, db);
|
|
99
|
+
*/ export async function buildBlockWithCleanDB(txs, globalVariables, l1ToL2Messages, db, telemetry = getTelemetryClient()) {
|
|
83
100
|
const builder = new LightweightBlockFactory(db, telemetry);
|
|
84
|
-
await builder.startNewBlock(globalVariables, l1ToL2Messages
|
|
85
|
-
const l1ToL2MessageTree = await getTreeSnapshot(MerkleTreeId.L1_TO_L2_MESSAGE_TREE, db);
|
|
101
|
+
await builder.startNewBlock(globalVariables, l1ToL2Messages);
|
|
86
102
|
for (const tx of txs){
|
|
87
|
-
|
|
88
|
-
// Their values don't matter here because we are not using the return private inputs to build the block.
|
|
89
|
-
const proverId = Fr.ZERO;
|
|
90
|
-
await insertSideEffectsAndBuildBaseRollupHints(tx, lastArchive, l1ToL2MessageTree, startSpongeBlob?.clone() ?? SpongeBlob.empty(), proverId, db);
|
|
103
|
+
await insertSideEffects(tx, db);
|
|
91
104
|
}
|
|
92
105
|
await builder.addTxs(txs);
|
|
93
106
|
return await builder.setBlockCompleted();
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Fr } from '@aztec/foundation/fields';
|
|
2
|
+
import { L2BlockNew } from '@aztec/stdlib/block';
|
|
3
|
+
import { Checkpoint } from '@aztec/stdlib/checkpoint';
|
|
4
|
+
import type { MerkleTreeWriteOperations } from '@aztec/stdlib/interfaces/server';
|
|
5
|
+
import { CheckpointConstantData } from '@aztec/stdlib/rollup';
|
|
6
|
+
import { type GlobalVariables, type ProcessedTx, StateReference } from '@aztec/stdlib/tx';
|
|
7
|
+
import { type TelemetryClient } from '@aztec/telemetry-client';
|
|
8
|
+
/**
|
|
9
|
+
* Builds a checkpoint and its header and the blocks in it from a set of processed tx without running any circuits.
|
|
10
|
+
*
|
|
11
|
+
* It updates the l1-to-l2 message tree when starting a new checkpoint, inserts the side effects to note hash,
|
|
12
|
+
* nullifier, and public data trees, then updates the archive tree when a block is added.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LightweightCheckpointBuilder {
|
|
15
|
+
private db;
|
|
16
|
+
private telemetry;
|
|
17
|
+
private readonly logger;
|
|
18
|
+
private constants;
|
|
19
|
+
private l1ToL2Messages;
|
|
20
|
+
private lastArchives;
|
|
21
|
+
private spongeBlob;
|
|
22
|
+
private blocks;
|
|
23
|
+
private blobFields;
|
|
24
|
+
constructor(db: MerkleTreeWriteOperations, telemetry?: TelemetryClient);
|
|
25
|
+
startNewCheckpoint(constants: CheckpointConstantData, l1ToL2Messages: Fr[], totalNumBlobFields: number): Promise<void>;
|
|
26
|
+
addBlock(globalVariables: GlobalVariables, endState: StateReference, txs: ProcessedTx[]): Promise<L2BlockNew>;
|
|
27
|
+
completeCheckpoint(): Promise<Checkpoint>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=lightweight_checkpoint_builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightweight_checkpoint_builder.d.ts","sourceRoot":"","sources":["../../src/light/lightweight_checkpoint_builder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,sBAAsB,EAAoB,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAqB,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7G,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,yBAAyB,CAAC;AAQnF;;;;;GAKG;AACH,qBAAa,4BAA4B;IAUrC,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,SAAS;IAVnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkD;IACzE,OAAO,CAAC,SAAS,CAAqC;IACtD,OAAO,CAAC,cAAc,CAAY;IAClC,OAAO,CAAC,YAAY,CAAgC;IACpD,OAAO,CAAC,UAAU,CAAsB;IACxC,OAAO,CAAC,MAAM,CAAoB;IAClC,OAAO,CAAC,UAAU,CAAY;gBAGpB,EAAE,EAAE,yBAAyB,EAC7B,SAAS,GAAE,eAAsC;IAGrD,kBAAkB,CACtB,SAAS,EAAE,sBAAsB,EACjC,cAAc,EAAE,EAAE,EAAE,EACpB,kBAAkB,EAAE,MAAM,GACzB,OAAO,CAAC,IAAI,CAAC;IAiBV,QAAQ,CAAC,eAAe,EAAE,eAAe,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;IAsC7G,kBAAkB,IAAI,OAAO,CAAC,UAAU,CAAC;CAyChD"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { SpongeBlob, computeBlobsHashFromBlobs, getBlobsPerL1Block } from '@aztec/blob-lib';
|
|
2
|
+
import { NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP } from '@aztec/constants';
|
|
3
|
+
import { padArrayEnd } from '@aztec/foundation/collection';
|
|
4
|
+
import { Fr } from '@aztec/foundation/fields';
|
|
5
|
+
import { createLogger } from '@aztec/foundation/log';
|
|
6
|
+
import { L2BlockNew } from '@aztec/stdlib/block';
|
|
7
|
+
import { Checkpoint } from '@aztec/stdlib/checkpoint';
|
|
8
|
+
import { computeCheckpointOutHash, computeInHashFromL1ToL2Messages } from '@aztec/stdlib/messaging';
|
|
9
|
+
import { CheckpointHeader } from '@aztec/stdlib/rollup';
|
|
10
|
+
import { MerkleTreeId } from '@aztec/stdlib/trees';
|
|
11
|
+
import { ContentCommitment } from '@aztec/stdlib/tx';
|
|
12
|
+
import { getTelemetryClient } from '@aztec/telemetry-client';
|
|
13
|
+
import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffects } from '../orchestrator/block-building-helpers.js';
|
|
14
|
+
/**
|
|
15
|
+
* Builds a checkpoint and its header and the blocks in it from a set of processed tx without running any circuits.
|
|
16
|
+
*
|
|
17
|
+
* It updates the l1-to-l2 message tree when starting a new checkpoint, inserts the side effects to note hash,
|
|
18
|
+
* nullifier, and public data trees, then updates the archive tree when a block is added.
|
|
19
|
+
*/ export class LightweightCheckpointBuilder {
|
|
20
|
+
db;
|
|
21
|
+
telemetry;
|
|
22
|
+
logger;
|
|
23
|
+
constants;
|
|
24
|
+
l1ToL2Messages;
|
|
25
|
+
lastArchives;
|
|
26
|
+
spongeBlob;
|
|
27
|
+
blocks;
|
|
28
|
+
blobFields;
|
|
29
|
+
constructor(db, telemetry = getTelemetryClient()){
|
|
30
|
+
this.db = db;
|
|
31
|
+
this.telemetry = telemetry;
|
|
32
|
+
this.logger = createLogger('lightweight-checkpoint-builder');
|
|
33
|
+
this.l1ToL2Messages = [];
|
|
34
|
+
this.lastArchives = [];
|
|
35
|
+
this.spongeBlob = SpongeBlob.empty();
|
|
36
|
+
this.blocks = [];
|
|
37
|
+
this.blobFields = [];
|
|
38
|
+
}
|
|
39
|
+
async startNewCheckpoint(constants, l1ToL2Messages, totalNumBlobFields) {
|
|
40
|
+
this.logger.debug('Starting new checkpoint', {
|
|
41
|
+
constants: constants.toInspect(),
|
|
42
|
+
l1ToL2Messages
|
|
43
|
+
});
|
|
44
|
+
this.constants = constants;
|
|
45
|
+
// Insert l1-to-l2 messages into the tree.
|
|
46
|
+
this.l1ToL2Messages = l1ToL2Messages;
|
|
47
|
+
await this.db.appendLeaves(MerkleTreeId.L1_TO_L2_MESSAGE_TREE, padArrayEnd(l1ToL2Messages, Fr.ZERO, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP));
|
|
48
|
+
this.lastArchives.push(await getTreeSnapshot(MerkleTreeId.ARCHIVE, this.db));
|
|
49
|
+
this.spongeBlob = await SpongeBlob.init(totalNumBlobFields);
|
|
50
|
+
this.blocks = [];
|
|
51
|
+
this.blobFields = [
|
|
52
|
+
new Fr(totalNumBlobFields)
|
|
53
|
+
];
|
|
54
|
+
}
|
|
55
|
+
async addBlock(globalVariables, endState, txs) {
|
|
56
|
+
const isFirstBlock = this.blocks.length === 0;
|
|
57
|
+
const lastArchive = this.lastArchives[this.lastArchives.length - 1];
|
|
58
|
+
for (const tx of txs){
|
|
59
|
+
await insertSideEffects(tx, this.db);
|
|
60
|
+
}
|
|
61
|
+
const { header, body, blockBlobFields } = await buildHeaderAndBodyFromTxs(txs, lastArchive, endState, globalVariables, this.spongeBlob, isFirstBlock);
|
|
62
|
+
await this.db.updateArchive(header);
|
|
63
|
+
const newArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, this.db);
|
|
64
|
+
this.lastArchives.push(newArchive);
|
|
65
|
+
const block = new L2BlockNew(newArchive, header, body);
|
|
66
|
+
this.blocks.push(block);
|
|
67
|
+
await this.spongeBlob.absorb(blockBlobFields);
|
|
68
|
+
this.blobFields.push(...blockBlobFields);
|
|
69
|
+
this.logger.debug(`Built block ${header.getBlockNumber()}`, {
|
|
70
|
+
globalVariables: globalVariables.toInspect(),
|
|
71
|
+
archiveRoot: newArchive.root.toString(),
|
|
72
|
+
stateReference: header.state.toInspect(),
|
|
73
|
+
blockHash: (await block.hash()).toString(),
|
|
74
|
+
txs: block.body.txEffects.map((tx)=>tx.txHash.toString())
|
|
75
|
+
});
|
|
76
|
+
return block;
|
|
77
|
+
}
|
|
78
|
+
async completeCheckpoint() {
|
|
79
|
+
if (!this.blocks.length) {
|
|
80
|
+
throw new Error('No blocks added to checkpoint.');
|
|
81
|
+
}
|
|
82
|
+
if (this.blobFields.length !== this.blobFields[0].toNumber()) {
|
|
83
|
+
throw new Error(`Blob fields length does not match. Expected ${this.blobFields[0].toNumber()}, got ${this.blobFields.length}.`);
|
|
84
|
+
}
|
|
85
|
+
const blocks = this.blocks;
|
|
86
|
+
const newArchive = this.lastArchives[this.lastArchives.length - 1];
|
|
87
|
+
const blobs = getBlobsPerL1Block(this.blobFields);
|
|
88
|
+
const blobsHash = computeBlobsHashFromBlobs(blobs);
|
|
89
|
+
const inHash = await computeInHashFromL1ToL2Messages(this.l1ToL2Messages);
|
|
90
|
+
const outHash = computeCheckpointOutHash(blocks.map((block)=>block.body.txEffects.map((tx)=>tx.l2ToL1Msgs)));
|
|
91
|
+
const constants = this.constants;
|
|
92
|
+
// timestamp of a checkpoint is the timestamp of the last block in the checkpoint.
|
|
93
|
+
const timestamp = blocks[blocks.length - 1].timestamp;
|
|
94
|
+
const totalManaUsed = blocks.reduce((acc, block)=>acc.add(block.header.totalManaUsed), Fr.ZERO);
|
|
95
|
+
const header = CheckpointHeader.from({
|
|
96
|
+
lastArchiveRoot: this.lastArchives[0].root,
|
|
97
|
+
contentCommitment: new ContentCommitment(blobsHash, inHash, outHash),
|
|
98
|
+
slotNumber: constants.slotNumber,
|
|
99
|
+
timestamp,
|
|
100
|
+
coinbase: constants.coinbase,
|
|
101
|
+
feeRecipient: constants.feeRecipient,
|
|
102
|
+
gasFees: constants.gasFees,
|
|
103
|
+
totalManaUsed
|
|
104
|
+
});
|
|
105
|
+
return new Checkpoint(newArchive, header, blocks);
|
|
106
|
+
}
|
|
107
|
+
}
|
package/dest/mocks/fixtures.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { Logger } from '@aztec/foundation/log';
|
|
2
2
|
import type { FieldsOf } from '@aztec/foundation/types';
|
|
3
3
|
import { type CircuitSimulator } from '@aztec/simulator/server';
|
|
4
|
-
import type { MerkleTreeWriteOperations } from '@aztec/stdlib/interfaces/server';
|
|
5
4
|
import { CheckpointConstantData } from '@aztec/stdlib/rollup';
|
|
6
|
-
import type { ProcessedTx } from '@aztec/stdlib/tx';
|
|
7
5
|
import { GlobalVariables } from '@aztec/stdlib/tx';
|
|
8
6
|
export declare const getEnvironmentConfig: (logger: Logger) => Promise<{
|
|
9
7
|
acvmWorkingDirectory: string;
|
|
@@ -17,7 +15,6 @@ export declare function getSimulator(config: {
|
|
|
17
15
|
acvmWorkingDirectory: string | undefined;
|
|
18
16
|
acvmBinaryPath: string | undefined;
|
|
19
17
|
}, logger?: Logger): Promise<CircuitSimulator>;
|
|
20
|
-
export declare const updateExpectedTreesFromTxs: (db: MerkleTreeWriteOperations, txs: ProcessedTx[]) => Promise<void>;
|
|
21
18
|
export declare const makeGlobals: (blockNumber: number, slotNumber?: number, overrides?: Partial<FieldsOf<GlobalVariables> & FieldsOf<CheckpointConstantData>>) => GlobalVariables;
|
|
22
19
|
export declare const makeCheckpointConstants: (slotNumber: number, overrides?: Partial<FieldsOf<CheckpointConstantData>>) => CheckpointConstantData;
|
|
23
20
|
//# sourceMappingURL=fixtures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/mocks/fixtures.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/mocks/fixtures.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,KAAK,gBAAgB,EAA+C,MAAM,yBAAyB,CAAC;AAG7G,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAiBnD,eAAO,MAAM,oBAAoB,GAAU,QAAQ,MAAM;;;;;;;cAkCxD,CAAC;AAEF,wBAAsB,YAAY,CAChC,MAAM,EAAE;IAAE,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EACxF,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,CAAC,CAe3B;AAED,eAAO,MAAM,WAAW,GACtB,aAAa,MAAM,EACnB,mBAAwB,EACxB,YAAW,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAAM,oBActF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,YAAY,MAAM,EAClB,YAAW,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAM,2BAc1D,CAAC"}
|
package/dest/mocks/fixtures.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { MAX_NOTE_HASHES_PER_TX, MAX_NULLIFIERS_PER_TX, NULLIFIER_TREE_HEIGHT } from '@aztec/constants';
|
|
2
|
-
import { padArrayEnd } from '@aztec/foundation/collection';
|
|
3
1
|
import { randomBytes } from '@aztec/foundation/crypto';
|
|
4
2
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
5
3
|
import { Fr } from '@aztec/foundation/fields';
|
|
@@ -10,7 +8,6 @@ import { NativeACVMSimulator, WASMSimulatorWithBlobs } from '@aztec/simulator/se
|
|
|
10
8
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
11
9
|
import { GasFees } from '@aztec/stdlib/gas';
|
|
12
10
|
import { CheckpointConstantData } from '@aztec/stdlib/rollup';
|
|
13
|
-
import { MerkleTreeId } from '@aztec/stdlib/trees';
|
|
14
11
|
import { GlobalVariables } from '@aztec/stdlib/tx';
|
|
15
12
|
import { promises as fs } from 'fs';
|
|
16
13
|
import path from 'path';
|
|
@@ -67,14 +64,6 @@ export async function getSimulator(config, logger) {
|
|
|
67
64
|
logger?.info('Using WASM ACVM simulation');
|
|
68
65
|
return new WASMSimulatorWithBlobs();
|
|
69
66
|
}
|
|
70
|
-
// Updates the expectedDb trees based on the new note hashes, contracts, and nullifiers from these txs
|
|
71
|
-
export const updateExpectedTreesFromTxs = async (db, txs)=>{
|
|
72
|
-
await db.appendLeaves(MerkleTreeId.NOTE_HASH_TREE, txs.flatMap((tx)=>padArrayEnd(tx.txEffect.noteHashes, Fr.zero(), MAX_NOTE_HASHES_PER_TX)));
|
|
73
|
-
await db.batchInsert(MerkleTreeId.NULLIFIER_TREE, txs.flatMap((tx)=>padArrayEnd(tx.txEffect.nullifiers, Fr.zero(), MAX_NULLIFIERS_PER_TX).map((x)=>x.toBuffer())), NULLIFIER_TREE_HEIGHT);
|
|
74
|
-
for (const tx of txs){
|
|
75
|
-
await db.sequentialInsert(MerkleTreeId.PUBLIC_DATA_TREE, tx.txEffect.publicDataWrites.map((write)=>write.toBuffer()));
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
67
|
export const makeGlobals = (blockNumber, slotNumber = blockNumber, overrides = {})=>{
|
|
79
68
|
const checkpointConstants = makeCheckpointConstants(slotNumber, overrides);
|
|
80
69
|
return GlobalVariables.from({
|
|
@@ -82,7 +71,7 @@ export const makeGlobals = (blockNumber, slotNumber = blockNumber, overrides = {
|
|
|
82
71
|
version: checkpointConstants.version,
|
|
83
72
|
blockNumber,
|
|
84
73
|
slotNumber: new Fr(slotNumber),
|
|
85
|
-
timestamp: BigInt(blockNumber),
|
|
74
|
+
timestamp: BigInt(blockNumber * 123),
|
|
86
75
|
coinbase: checkpointConstants.coinbase,
|
|
87
76
|
feeRecipient: checkpointConstants.feeRecipient,
|
|
88
77
|
gasFees: checkpointConstants.gasFees,
|
|
@@ -2,12 +2,11 @@ import type { BBProverConfig } from '@aztec/bb-prover';
|
|
|
2
2
|
import { Fr } from '@aztec/foundation/fields';
|
|
3
3
|
import type { Logger } from '@aztec/foundation/log';
|
|
4
4
|
import type { FieldsOf } from '@aztec/foundation/types';
|
|
5
|
-
import { SimpleContractDataSource } from '@aztec/simulator/public/fixtures';
|
|
6
5
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
7
|
-
import type { ServerCircuitProver } from '@aztec/stdlib/interfaces/server';
|
|
6
|
+
import type { MerkleTreeWriteOperations, ServerCircuitProver } from '@aztec/stdlib/interfaces/server';
|
|
8
7
|
import type { CheckpointConstantData } from '@aztec/stdlib/rollup';
|
|
9
|
-
import {
|
|
10
|
-
import { type BlockHeader, type GlobalVariables, type ProcessedTx
|
|
8
|
+
import { mockProcessedTx } from '@aztec/stdlib/testing';
|
|
9
|
+
import { type BlockHeader, type GlobalVariables, type ProcessedTx } from '@aztec/stdlib/tx';
|
|
11
10
|
import type { MerkleTreeAdminDatabase } from '@aztec/world-state';
|
|
12
11
|
import type { BlockProvingState } from '../orchestrator/block-proving-state.js';
|
|
13
12
|
import { ProvingOrchestrator } from '../orchestrator/index.js';
|
|
@@ -15,65 +14,48 @@ import { BrokerCircuitProverFacade } from '../proving_broker/broker_prover_facad
|
|
|
15
14
|
import { TestBroker } from '../test/mock_prover.js';
|
|
16
15
|
export declare class TestContext {
|
|
17
16
|
worldState: MerkleTreeAdminDatabase;
|
|
18
|
-
firstCheckpointNumber: Fr;
|
|
19
|
-
globalVariables: GlobalVariables;
|
|
20
17
|
prover: ServerCircuitProver;
|
|
21
18
|
broker: TestBroker;
|
|
22
19
|
brokerProverFacade: BrokerCircuitProverFacade;
|
|
23
20
|
orchestrator: TestProvingOrchestrator;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
logger: Logger;
|
|
21
|
+
private feePayer;
|
|
22
|
+
private directoriesToCleanup;
|
|
23
|
+
private logger;
|
|
28
24
|
private headers;
|
|
25
|
+
private checkpoints;
|
|
26
|
+
private nextCheckpointIndex;
|
|
27
|
+
private nextBlockNumber;
|
|
28
|
+
private epochNumber;
|
|
29
29
|
private feePayerBalance;
|
|
30
|
-
constructor(worldState: MerkleTreeAdminDatabase,
|
|
30
|
+
constructor(worldState: MerkleTreeAdminDatabase, prover: ServerCircuitProver, broker: TestBroker, brokerProverFacade: BrokerCircuitProverFacade, orchestrator: TestProvingOrchestrator, feePayer: AztecAddress, initialFeePayerBalance: Fr, directoriesToCleanup: string[], logger: Logger);
|
|
31
31
|
get epochProver(): TestProvingOrchestrator;
|
|
32
|
-
|
|
33
|
-
static new(logger: Logger, { proverCount, createProver, slotNumber, blockNumber, }?: {
|
|
32
|
+
static new(logger: Logger, { proverCount, createProver, }?: {
|
|
34
33
|
proverCount?: number;
|
|
35
34
|
createProver?: (bbConfig: BBProverConfig) => Promise<ServerCircuitProver>;
|
|
36
|
-
slotNumber?: number;
|
|
37
|
-
blockNumber?: number;
|
|
38
35
|
}): Promise<TestContext>;
|
|
39
|
-
getFork(): Promise<
|
|
40
|
-
getBlockHeader(blockNumber: 0): BlockHeader;
|
|
41
|
-
getBlockHeader(blockNumber: number): BlockHeader | undefined;
|
|
42
|
-
getPreviousBlockHeader(currentBlockNumber?: number): BlockHeader;
|
|
36
|
+
getFork(): Promise<MerkleTreeWriteOperations>;
|
|
43
37
|
cleanup(): Promise<void>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
numL1ToL2Messages?: number;
|
|
49
|
-
blockNumber?: number;
|
|
50
|
-
makeProcessedTxOpts?: (index: number) => Partial<Parameters<typeof makeBloatedProcessedTx>[0]>;
|
|
51
|
-
}): Promise<{
|
|
52
|
-
block: import("@aztec/stdlib/block").L2Block;
|
|
53
|
-
txs: ProcessedTx[];
|
|
54
|
-
l1ToL2Messages: Fr[];
|
|
55
|
-
}>;
|
|
56
|
-
makePendingBlocksInCheckpoint(numBlocks: number, { checkpointIndex, numTxsPerBlock, numL1ToL2Messages, firstBlockNumber, makeGlobalVariablesOpts, makeProcessedTxOpts, }?: {
|
|
57
|
-
checkpointIndex?: number;
|
|
38
|
+
startNewEpoch(): void;
|
|
39
|
+
getBlobFields(): Fr[][];
|
|
40
|
+
getFinalBlobChallenges(): Promise<import("@aztec/blob-lib").FinalBlobBatchingChallenges>;
|
|
41
|
+
makeCheckpoint(numBlocks: number, { numTxsPerBlock, numL1ToL2Messages, makeProcessedTxOpts, ...constantOpts }?: {
|
|
58
42
|
numTxsPerBlock?: number | number[];
|
|
59
43
|
numL1ToL2Messages?: number;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
44
|
+
makeProcessedTxOpts?: (blockGlobalVariables: GlobalVariables, txIndex: number) => Partial<Parameters<typeof mockProcessedTx>[0]>;
|
|
45
|
+
} & Partial<FieldsOf<CheckpointConstantData>>): Promise<{
|
|
46
|
+
constants: CheckpointConstantData;
|
|
47
|
+
header: import("@aztec/stdlib/rollup").CheckpointHeader;
|
|
64
48
|
blocks: {
|
|
65
49
|
header: BlockHeader;
|
|
66
50
|
txs: ProcessedTx[];
|
|
67
51
|
}[];
|
|
68
52
|
l1ToL2Messages: Fr[];
|
|
69
|
-
|
|
53
|
+
totalNumBlobFields: number;
|
|
54
|
+
previousBlockHeader: BlockHeader;
|
|
70
55
|
}>;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
contractDataSource?: SimpleContractDataSource;
|
|
75
|
-
}): Promise<[ProcessedTx[], import("@aztec/stdlib/tx").FailedTx[], Tx[], import("@aztec/stdlib/tx").NestedProcessReturnValues[]]>;
|
|
76
|
-
private setTreeRoots;
|
|
56
|
+
private makeProcessedTx;
|
|
57
|
+
private getBlockHeader;
|
|
58
|
+
private updateTrees;
|
|
77
59
|
}
|
|
78
60
|
declare class TestProvingOrchestrator extends ProvingOrchestrator {
|
|
79
61
|
isVerifyBuiltBlockAgainstSyncedStateEnabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test_context.d.ts","sourceRoot":"","sources":["../../src/mocks/test_context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAA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