@aztec/validator-client 1.1.3 → 1.2.0

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/validator.js CHANGED
@@ -68,7 +68,7 @@ const MAX_PROPOSERS_OF_INVALID_BLOCKS = 1000;
68
68
  const committeeSet = new Set(committee.map((v)=>v.toString()));
69
69
  const inCommittee = me.filter((a)=>committeeSet.has(a.toString()));
70
70
  if (inCommittee.length > 0) {
71
- inCommittee.forEach((a)=>this.log.info(`Validator ${a.toString()} is on the validator committee for epoch ${epoch}`));
71
+ this.log.info(`Validators ${inCommittee.map((a)=>a.toString()).join(',')} are on the validator committee for epoch ${epoch}`);
72
72
  } else {
73
73
  this.log.verbose(`Validators ${me.map((a)=>a.toString()).join(', ')} are not on the validator committee for epoch ${epoch}`);
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/validator-client",
3
- "version": "1.1.3",
3
+ "version": "1.2.0",
4
4
  "main": "dest/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -64,15 +64,15 @@
64
64
  ]
65
65
  },
66
66
  "dependencies": {
67
- "@aztec/constants": "1.1.3",
68
- "@aztec/epoch-cache": "1.1.3",
69
- "@aztec/ethereum": "1.1.3",
70
- "@aztec/foundation": "1.1.3",
71
- "@aztec/p2p": "1.1.3",
72
- "@aztec/prover-client": "1.1.3",
73
- "@aztec/slasher": "1.1.3",
74
- "@aztec/stdlib": "1.1.3",
75
- "@aztec/telemetry-client": "1.1.3",
67
+ "@aztec/constants": "1.2.0",
68
+ "@aztec/epoch-cache": "1.2.0",
69
+ "@aztec/ethereum": "1.2.0",
70
+ "@aztec/foundation": "1.2.0",
71
+ "@aztec/p2p": "1.2.0",
72
+ "@aztec/prover-client": "1.2.0",
73
+ "@aztec/slasher": "1.2.0",
74
+ "@aztec/stdlib": "1.2.0",
75
+ "@aztec/telemetry-client": "1.2.0",
76
76
  "koa": "^2.16.1",
77
77
  "koa-router": "^12.0.0",
78
78
  "tslib": "^2.4.0",
package/src/validator.ts CHANGED
@@ -130,8 +130,8 @@ export class ValidatorClient extends (EventEmitter as new () => WatcherEmitter)
130
130
  const committeeSet = new Set(committee.map(v => v.toString()));
131
131
  const inCommittee = me.filter(a => committeeSet.has(a.toString()));
132
132
  if (inCommittee.length > 0) {
133
- inCommittee.forEach(a =>
134
- this.log.info(`Validator ${a.toString()} is on the validator committee for epoch ${epoch}`),
133
+ this.log.info(
134
+ `Validators ${inCommittee.map(a => a.toString()).join(',')} are on the validator committee for epoch ${epoch}`,
135
135
  );
136
136
  } else {
137
137
  this.log.verbose(