@aztec/prover-client 1.0.0-nightly.20250610 → 1.0.0-nightly.20250611
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/block-factory/light.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAEhG,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAmB,MAAM,kBAAkB,CAAC;AAC3F,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,yBAAyB,CAAC;AAQnF;;;;;;;;;;;GAWG;AACH,qBAAa,uBAAwB,YAAW,aAAa;IASzD,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,SAAS;IATnB,OAAO,CAAC,eAAe,CAAC,CAAkB;IAC1C,OAAO,CAAC,cAAc,CAAC,CAAO;IAE9B,OAAO,CAAC,GAAG,CAA4B;IAEvC,OAAO,CAAC,QAAQ,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/block-factory/light.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAEhG,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAmB,MAAM,kBAAkB,CAAC;AAC3F,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,yBAAyB,CAAC;AAQnF;;;;;;;;;;;GAWG;AACH,qBAAa,uBAAwB,YAAW,aAAa;IASzD,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,SAAS;IATnB,OAAO,CAAC,eAAe,CAAC,CAAkB;IAC1C,OAAO,CAAC,cAAc,CAAC,CAAO;IAE9B,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;IAU1F,MAAM,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAWzC,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;YAIvB,UAAU;CAqBzB;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"}
|
|
@@ -29,7 +29,7 @@ import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffectsAndBuildBa
|
|
|
29
29
|
constructor(db, telemetry = getTelemetryClient()){
|
|
30
30
|
this.db = db;
|
|
31
31
|
this.telemetry = telemetry;
|
|
32
|
-
this.logger = createLogger('
|
|
32
|
+
this.logger = createLogger('lightweight-block-factory');
|
|
33
33
|
}
|
|
34
34
|
async startNewBlock(globalVariables, l1ToL2Messages) {
|
|
35
35
|
this.logger.debug('Starting new block', {
|
|
@@ -63,7 +63,8 @@ import { buildHeaderAndBodyFromTxs, getTreeSnapshot, insertSideEffectsAndBuildBa
|
|
|
63
63
|
this.logger.debug(`Built block ${block.number}`, {
|
|
64
64
|
globalVariables: this.globalVariables?.toInspect(),
|
|
65
65
|
archiveRoot: newArchive.root.toString(),
|
|
66
|
-
blockHash: (await block.hash()).toString()
|
|
66
|
+
blockHash: (await block.hash()).toString(),
|
|
67
|
+
txs: block.body.txEffects.map((tx)=>tx.txHash.toString())
|
|
67
68
|
});
|
|
68
69
|
return block;
|
|
69
70
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/prover-client",
|
|
3
|
-
"version": "1.0.0-nightly.
|
|
3
|
+
"version": "1.0.0-nightly.20250611",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -61,22 +61,23 @@
|
|
|
61
61
|
"testTimeout": 120000,
|
|
62
62
|
"setupFiles": [
|
|
63
63
|
"../../foundation/src/jest/setup.mjs"
|
|
64
|
-
]
|
|
64
|
+
],
|
|
65
|
+
"testEnvironment": "../../foundation/src/jest/env.mjs"
|
|
65
66
|
},
|
|
66
67
|
"dependencies": {
|
|
67
|
-
"@aztec/bb-prover": "1.0.0-nightly.
|
|
68
|
-
"@aztec/blob-lib": "1.0.0-nightly.
|
|
69
|
-
"@aztec/constants": "1.0.0-nightly.
|
|
70
|
-
"@aztec/ethereum": "1.0.0-nightly.
|
|
71
|
-
"@aztec/foundation": "1.0.0-nightly.
|
|
72
|
-
"@aztec/kv-store": "1.0.0-nightly.
|
|
73
|
-
"@aztec/noir-protocol-circuits-types": "1.0.0-nightly.
|
|
74
|
-
"@aztec/noir-types": "1.0.0-nightly.
|
|
75
|
-
"@aztec/protocol-contracts": "1.0.0-nightly.
|
|
76
|
-
"@aztec/simulator": "1.0.0-nightly.
|
|
77
|
-
"@aztec/stdlib": "1.0.0-nightly.
|
|
78
|
-
"@aztec/telemetry-client": "1.0.0-nightly.
|
|
79
|
-
"@aztec/world-state": "1.0.0-nightly.
|
|
68
|
+
"@aztec/bb-prover": "1.0.0-nightly.20250611",
|
|
69
|
+
"@aztec/blob-lib": "1.0.0-nightly.20250611",
|
|
70
|
+
"@aztec/constants": "1.0.0-nightly.20250611",
|
|
71
|
+
"@aztec/ethereum": "1.0.0-nightly.20250611",
|
|
72
|
+
"@aztec/foundation": "1.0.0-nightly.20250611",
|
|
73
|
+
"@aztec/kv-store": "1.0.0-nightly.20250611",
|
|
74
|
+
"@aztec/noir-protocol-circuits-types": "1.0.0-nightly.20250611",
|
|
75
|
+
"@aztec/noir-types": "1.0.0-nightly.20250611",
|
|
76
|
+
"@aztec/protocol-contracts": "1.0.0-nightly.20250611",
|
|
77
|
+
"@aztec/simulator": "1.0.0-nightly.20250611",
|
|
78
|
+
"@aztec/stdlib": "1.0.0-nightly.20250611",
|
|
79
|
+
"@aztec/telemetry-client": "1.0.0-nightly.20250611",
|
|
80
|
+
"@aztec/world-state": "1.0.0-nightly.20250611",
|
|
80
81
|
"@google-cloud/storage": "^7.15.0",
|
|
81
82
|
"@iarna/toml": "^2.2.5",
|
|
82
83
|
"commander": "^12.1.0",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"zod": "^3.23.8"
|
|
87
88
|
},
|
|
88
89
|
"devDependencies": {
|
|
89
|
-
"@aztec/noir-contracts.js": "1.0.0-nightly.
|
|
90
|
+
"@aztec/noir-contracts.js": "1.0.0-nightly.20250611",
|
|
90
91
|
"@jest/globals": "^29.5.0",
|
|
91
92
|
"@types/jest": "^29.5.0",
|
|
92
93
|
"@types/node": "^22.15.17",
|
|
@@ -33,7 +33,7 @@ export class LightweightBlockFactory implements IBlockFactory {
|
|
|
33
33
|
|
|
34
34
|
private txs: ProcessedTx[] | undefined;
|
|
35
35
|
|
|
36
|
-
private readonly logger = createLogger('
|
|
36
|
+
private readonly logger = createLogger('lightweight-block-factory');
|
|
37
37
|
|
|
38
38
|
constructor(
|
|
39
39
|
private db: MerkleTreeWriteOperations,
|
|
@@ -81,6 +81,7 @@ export class LightweightBlockFactory implements IBlockFactory {
|
|
|
81
81
|
globalVariables: this.globalVariables?.toInspect(),
|
|
82
82
|
archiveRoot: newArchive.root.toString(),
|
|
83
83
|
blockHash: (await block.hash()).toString(),
|
|
84
|
+
txs: block.body.txEffects.map(tx => tx.txHash.toString()),
|
|
84
85
|
});
|
|
85
86
|
|
|
86
87
|
return block;
|