@aztec/validator-ha-signer 0.0.1-commit.cf93bcc56 → 0.0.1-commit.d0fcfb7f
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.
|
@@ -67,7 +67,7 @@ import { DutyAlreadySignedError, SlashingProtectionError } from './errors.js';
|
|
|
67
67
|
const { isNew, record } = await this.db.tryInsertOrGetExisting(params);
|
|
68
68
|
if (isNew) {
|
|
69
69
|
// We successfully acquired the lock
|
|
70
|
-
this.log.
|
|
70
|
+
this.log.verbose(`Acquired lock for duty ${dutyType} at slot ${slot}`, {
|
|
71
71
|
validatorAddress: validatorAddress.toString(),
|
|
72
72
|
nodeId
|
|
73
73
|
});
|
|
@@ -120,7 +120,7 @@ import { DutyAlreadySignedError, SlashingProtectionError } from './errors.js';
|
|
|
120
120
|
const blockIndexWithinCheckpoint = getBlockIndexFromDutyIdentifier(params);
|
|
121
121
|
const success = await this.db.updateDutySigned(rollupAddress, validatorAddress, slot, dutyType, signature.toString(), lockToken, blockIndexWithinCheckpoint);
|
|
122
122
|
if (success) {
|
|
123
|
-
this.log.
|
|
123
|
+
this.log.verbose(`Recorded successful signing for duty ${dutyType} at slot ${slot}`, {
|
|
124
124
|
validatorAddress: validatorAddress.toString(),
|
|
125
125
|
nodeId
|
|
126
126
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/validator-ha-signer",
|
|
3
|
-
"version": "0.0.1-commit.
|
|
3
|
+
"version": "0.0.1-commit.d0fcfb7f",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./config": "./dest/config.js",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@aztec/ethereum": "0.0.1-commit.
|
|
78
|
-
"@aztec/foundation": "0.0.1-commit.
|
|
77
|
+
"@aztec/ethereum": "0.0.1-commit.d0fcfb7f",
|
|
78
|
+
"@aztec/foundation": "0.0.1-commit.d0fcfb7f",
|
|
79
79
|
"node-pg-migrate": "^8.0.4",
|
|
80
80
|
"pg": "^8.11.3",
|
|
81
81
|
"tslib": "^2.4.0",
|
|
@@ -85,7 +85,7 @@ export class SlashingProtectionService {
|
|
|
85
85
|
|
|
86
86
|
if (isNew) {
|
|
87
87
|
// We successfully acquired the lock
|
|
88
|
-
this.log.
|
|
88
|
+
this.log.verbose(`Acquired lock for duty ${dutyType} at slot ${slot}`, {
|
|
89
89
|
validatorAddress: validatorAddress.toString(),
|
|
90
90
|
nodeId,
|
|
91
91
|
});
|
|
@@ -159,7 +159,7 @@ export class SlashingProtectionService {
|
|
|
159
159
|
);
|
|
160
160
|
|
|
161
161
|
if (success) {
|
|
162
|
-
this.log.
|
|
162
|
+
this.log.verbose(`Recorded successful signing for duty ${dutyType} at slot ${slot}`, {
|
|
163
163
|
validatorAddress: validatorAddress.toString(),
|
|
164
164
|
nodeId,
|
|
165
165
|
});
|