@lodestar/validator 1.49.0-dev.fa4ae94ccc → 1.49.0-rc.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/lib/services/validatorStore.d.ts +1 -1
- package/lib/services/validatorStore.d.ts.map +1 -1
- package/lib/services/validatorStore.js +7 -4
- package/lib/services/validatorStore.js.map +1 -1
- package/lib/slashingProtection/attestation/index.d.ts.map +1 -1
- package/lib/slashingProtection/attestation/index.js +19 -2
- package/lib/slashingProtection/attestation/index.js.map +1 -1
- package/lib/slashingProtection/block/errors.d.ts +8 -0
- package/lib/slashingProtection/block/errors.d.ts.map +1 -1
- package/lib/slashingProtection/block/errors.js +4 -0
- package/lib/slashingProtection/block/errors.js.map +1 -1
- package/lib/slashingProtection/block/index.d.ts +1 -0
- package/lib/slashingProtection/block/index.d.ts.map +1 -1
- package/lib/slashingProtection/block/index.js +48 -5
- package/lib/slashingProtection/block/index.js.map +1 -1
- package/lib/slashingProtection/index.d.ts +1 -1
- package/lib/slashingProtection/index.d.ts.map +1 -1
- package/lib/slashingProtection/index.js +18 -2
- package/lib/slashingProtection/index.js.map +1 -1
- package/lib/slashingProtection/interchange/errors.d.ts +11 -2
- package/lib/slashingProtection/interchange/errors.d.ts.map +1 -1
- package/lib/slashingProtection/interchange/errors.js +2 -0
- package/lib/slashingProtection/interchange/errors.js.map +1 -1
- package/lib/slashingProtection/interchange/formats/completeV4.js +4 -4
- package/lib/slashingProtection/interchange/formats/completeV4.js.map +1 -1
- package/lib/slashingProtection/interchange/formats/v5.js +4 -4
- package/lib/slashingProtection/interchange/formats/v5.js.map +1 -1
- package/lib/slashingProtection/interface.d.ts +5 -1
- package/lib/slashingProtection/interface.d.ts.map +1 -1
- package/lib/slashingProtection/utils.d.ts +5 -1
- package/lib/slashingProtection/utils.d.ts.map +1 -1
- package/lib/slashingProtection/utils.js +11 -0
- package/lib/slashingProtection/utils.js.map +1 -1
- package/lib/validator.d.ts.map +1 -1
- package/lib/validator.js +1 -1
- package/lib/validator.js.map +1 -1
- package/package.json +12 -12
- package/src/services/validatorStore.ts +9 -5
- package/src/slashingProtection/attestation/index.ts +19 -2
- package/src/slashingProtection/block/errors.ts +9 -0
- package/src/slashingProtection/block/index.ts +48 -6
- package/src/slashingProtection/index.ts +24 -1
- package/src/slashingProtection/interchange/errors.ts +6 -2
- package/src/slashingProtection/interchange/formats/completeV4.ts +4 -4
- package/src/slashingProtection/interchange/formats/v5.ts +4 -4
- package/src/slashingProtection/interface.ts +10 -1
- package/src/slashingProtection/utils.ts +12 -0
- package/src/validator.ts +6 -1
package/src/validator.ts
CHANGED
|
@@ -430,7 +430,12 @@ export class Validator {
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
async importInterchange(interchange: Interchange): Promise<void> {
|
|
433
|
-
return this.slashingProtection.importInterchange(
|
|
433
|
+
return this.slashingProtection.importInterchange(
|
|
434
|
+
interchange,
|
|
435
|
+
this.genesis.genesisValidatorsRoot,
|
|
436
|
+
undefined,
|
|
437
|
+
this.clock.currentEpoch
|
|
438
|
+
);
|
|
434
439
|
}
|
|
435
440
|
|
|
436
441
|
async exportInterchange(pubkeys: BLSPubkey[], formatVersion: InterchangeFormatVersion): Promise<Interchange> {
|