@aztec/sequencer-client 0.87.7 → 0.87.8

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.
@@ -371,8 +371,8 @@ export { SequencerState };
371
371
  await retryUntil(()=>this.worldState.syncImmediate(blockNumber - 1, true).then((syncedTo)=>syncedTo >= blockNumber - 1), 'sync to previous block', this.timetable.getValidatorReexecTimeEnd(), 0.1);
372
372
  this.log.debug(`Synced to previous block ${blockNumber - 1}`);
373
373
  // NB: separating the dbs because both should update the state
374
- const publicProcessorDBFork = await this.worldState.fork();
375
- const orchestratorDBFork = await this.worldState.fork();
374
+ const publicProcessorDBFork = await this.worldState.fork(blockNumber - 1);
375
+ const orchestratorDBFork = await this.worldState.fork(blockNumber - 1);
376
376
  const previousBlockHeader = (await this.l2BlockSource.getBlock(blockNumber - 1))?.header ?? orchestratorDBFork.getInitialHeader();
377
377
  try {
378
378
  const processor = this.publicProcessorFactory.create(publicProcessorDBFork, newGlobalVariables, true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/sequencer-client",
3
- "version": "0.87.7",
3
+ "version": "0.87.8",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -26,36 +26,36 @@
26
26
  "test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --config jest.integration.config.json"
27
27
  },
28
28
  "dependencies": {
29
- "@aztec/aztec.js": "0.87.7",
30
- "@aztec/bb-prover": "0.87.7",
31
- "@aztec/blob-lib": "0.87.7",
32
- "@aztec/blob-sink": "0.87.7",
33
- "@aztec/constants": "0.87.7",
34
- "@aztec/epoch-cache": "0.87.7",
35
- "@aztec/ethereum": "0.87.7",
36
- "@aztec/foundation": "0.87.7",
37
- "@aztec/l1-artifacts": "0.87.7",
38
- "@aztec/merkle-tree": "0.87.7",
39
- "@aztec/noir-acvm_js": "0.87.7",
40
- "@aztec/noir-contracts.js": "0.87.7",
41
- "@aztec/noir-protocol-circuits-types": "0.87.7",
42
- "@aztec/noir-types": "0.87.7",
43
- "@aztec/p2p": "0.87.7",
44
- "@aztec/protocol-contracts": "0.87.7",
45
- "@aztec/prover-client": "0.87.7",
46
- "@aztec/simulator": "0.87.7",
47
- "@aztec/stdlib": "0.87.7",
48
- "@aztec/telemetry-client": "0.87.7",
49
- "@aztec/validator-client": "0.87.7",
50
- "@aztec/world-state": "0.87.7",
29
+ "@aztec/aztec.js": "0.87.8",
30
+ "@aztec/bb-prover": "0.87.8",
31
+ "@aztec/blob-lib": "0.87.8",
32
+ "@aztec/blob-sink": "0.87.8",
33
+ "@aztec/constants": "0.87.8",
34
+ "@aztec/epoch-cache": "0.87.8",
35
+ "@aztec/ethereum": "0.87.8",
36
+ "@aztec/foundation": "0.87.8",
37
+ "@aztec/l1-artifacts": "0.87.8",
38
+ "@aztec/merkle-tree": "0.87.8",
39
+ "@aztec/noir-acvm_js": "0.87.8",
40
+ "@aztec/noir-contracts.js": "0.87.8",
41
+ "@aztec/noir-protocol-circuits-types": "0.87.8",
42
+ "@aztec/noir-types": "0.87.8",
43
+ "@aztec/p2p": "0.87.8",
44
+ "@aztec/protocol-contracts": "0.87.8",
45
+ "@aztec/prover-client": "0.87.8",
46
+ "@aztec/simulator": "0.87.8",
47
+ "@aztec/stdlib": "0.87.8",
48
+ "@aztec/telemetry-client": "0.87.8",
49
+ "@aztec/validator-client": "0.87.8",
50
+ "@aztec/world-state": "0.87.8",
51
51
  "lodash.chunk": "^4.2.0",
52
52
  "lodash.pick": "^4.4.0",
53
53
  "tslib": "^2.4.0",
54
54
  "viem": "2.23.7"
55
55
  },
56
56
  "devDependencies": {
57
- "@aztec/archiver": "0.87.7",
58
- "@aztec/kv-store": "0.87.7",
57
+ "@aztec/archiver": "0.87.8",
58
+ "@aztec/kv-store": "0.87.8",
59
59
  "@jest/globals": "^29.5.0",
60
60
  "@types/jest": "^29.5.0",
61
61
  "@types/lodash.chunk": "^4.2.7",
@@ -454,8 +454,8 @@ export class Sequencer {
454
454
  this.log.debug(`Synced to previous block ${blockNumber - 1}`);
455
455
 
456
456
  // NB: separating the dbs because both should update the state
457
- const publicProcessorDBFork = await this.worldState.fork();
458
- const orchestratorDBFork = await this.worldState.fork();
457
+ const publicProcessorDBFork = await this.worldState.fork(blockNumber - 1);
458
+ const orchestratorDBFork = await this.worldState.fork(blockNumber - 1);
459
459
 
460
460
  const previousBlockHeader =
461
461
  (await this.l2BlockSource.getBlock(blockNumber - 1))?.header ?? orchestratorDBFork.getInitialHeader();