@aztec/validator-client 3.0.0-nightly.20251003 → 3.0.0-nightly.20251005

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.
@@ -219,7 +219,7 @@ export class BlockProposalHandler {
219
219
  deadline: this.getReexecutionDeadline(proposal, config)
220
220
  });
221
221
  const numFailedTxs = failedTxs.length;
222
- const slot = proposal.slotNumber;
222
+ const slot = proposal.slotNumber.toBigInt();
223
223
  this.log.verbose(`Transaction re-execution complete for slot ${slot}`, {
224
224
  numFailedTxs,
225
225
  numProposalTxs: txHashes.length,
package/dest/validator.js CHANGED
@@ -168,7 +168,7 @@ const SLASHABLE_BLOCK_PROPOSAL_VALIDATION_RESULT = [
168
168
  ...proposal.toBlockInfo(),
169
169
  proposer: proposer.toString()
170
170
  };
171
- this.log.info(`Received proposal for slot ${slotNumber}`, {
171
+ this.log.info(`Received proposal for block ${proposal.blockNumber} at slot ${slotNumber}`, {
172
172
  ...proposalInfo,
173
173
  txHashes: proposal.txHashes.map((t)=>t.toString())
174
174
  });
@@ -193,7 +193,7 @@ const SLASHABLE_BLOCK_PROPOSAL_VALIDATION_RESULT = [
193
193
  return undefined;
194
194
  }
195
195
  // Provided all of the above checks pass, we can attest to the proposal
196
- this.log.info(`Attesting to proposal for slot ${slotNumber}`, proposalInfo);
196
+ this.log.info(`Attesting to proposal for block ${proposal.blockNumber} at slot ${slotNumber}`, proposalInfo);
197
197
  this.metrics.incAttestations(inCommittee.length);
198
198
  // If the above function does not throw an error, then we can attest to the proposal
199
199
  return this.createBlockAttestationsFromProposal(proposal, inCommittee);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/validator-client",
3
- "version": "3.0.0-nightly.20251003",
3
+ "version": "3.0.0-nightly.20251005",
4
4
  "main": "dest/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -64,18 +64,18 @@
64
64
  ]
65
65
  },
66
66
  "dependencies": {
67
- "@aztec/constants": "3.0.0-nightly.20251003",
68
- "@aztec/epoch-cache": "3.0.0-nightly.20251003",
69
- "@aztec/ethereum": "3.0.0-nightly.20251003",
70
- "@aztec/foundation": "3.0.0-nightly.20251003",
71
- "@aztec/node-keystore": "3.0.0-nightly.20251003",
72
- "@aztec/p2p": "3.0.0-nightly.20251003",
73
- "@aztec/prover-client": "3.0.0-nightly.20251003",
74
- "@aztec/slasher": "3.0.0-nightly.20251003",
75
- "@aztec/stdlib": "3.0.0-nightly.20251003",
76
- "@aztec/telemetry-client": "3.0.0-nightly.20251003",
67
+ "@aztec/constants": "3.0.0-nightly.20251005",
68
+ "@aztec/epoch-cache": "3.0.0-nightly.20251005",
69
+ "@aztec/ethereum": "3.0.0-nightly.20251005",
70
+ "@aztec/foundation": "3.0.0-nightly.20251005",
71
+ "@aztec/node-keystore": "3.0.0-nightly.20251005",
72
+ "@aztec/p2p": "3.0.0-nightly.20251005",
73
+ "@aztec/prover-client": "3.0.0-nightly.20251005",
74
+ "@aztec/slasher": "3.0.0-nightly.20251005",
75
+ "@aztec/stdlib": "3.0.0-nightly.20251005",
76
+ "@aztec/telemetry-client": "3.0.0-nightly.20251005",
77
77
  "koa": "^2.16.1",
78
- "koa-router": "^12.0.0",
78
+ "koa-router": "^13.1.1",
79
79
  "tslib": "^2.4.0",
80
80
  "viem": "2.23.7"
81
81
  },
@@ -265,7 +265,7 @@ export class BlockProposalHandler {
265
265
  });
266
266
 
267
267
  const numFailedTxs = failedTxs.length;
268
- const slot = proposal.slotNumber;
268
+ const slot = proposal.slotNumber.toBigInt();
269
269
  this.log.verbose(`Transaction re-execution complete for slot ${slot}`, {
270
270
  numFailedTxs,
271
271
  numProposalTxs: txHashes.length,
package/src/validator.ts CHANGED
@@ -268,7 +268,7 @@ export class ValidatorClient extends (EventEmitter as new () => WatcherEmitter)
268
268
  const incFailedAttestation = (reason: string) => this.metrics.incFailedAttestations(1, reason, partOfCommittee);
269
269
 
270
270
  const proposalInfo = { ...proposal.toBlockInfo(), proposer: proposer.toString() };
271
- this.log.info(`Received proposal for slot ${slotNumber}`, {
271
+ this.log.info(`Received proposal for block ${proposal.blockNumber} at slot ${slotNumber}`, {
272
272
  ...proposalInfo,
273
273
  txHashes: proposal.txHashes.map(t => t.toString()),
274
274
  });
@@ -310,7 +310,7 @@ export class ValidatorClient extends (EventEmitter as new () => WatcherEmitter)
310
310
  }
311
311
 
312
312
  // Provided all of the above checks pass, we can attest to the proposal
313
- this.log.info(`Attesting to proposal for slot ${slotNumber}`, proposalInfo);
313
+ this.log.info(`Attesting to proposal for block ${proposal.blockNumber} at slot ${slotNumber}`, proposalInfo);
314
314
  this.metrics.incAttestations(inCommittee.length);
315
315
 
316
316
  // If the above function does not throw an error, then we can attest to the proposal