@aztec/validator-ha-signer 0.0.1-commit.3895657bc → 0.0.1-commit.3e3d0c9cd
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.
|
@@ -71,7 +71,7 @@ import { DutyAlreadySignedError, SlashingProtectionError } from './errors.js';
|
|
|
71
71
|
const { isNew, record } = await this.db.tryInsertOrGetExisting(params);
|
|
72
72
|
if (isNew) {
|
|
73
73
|
// We successfully acquired the lock
|
|
74
|
-
this.log.
|
|
74
|
+
this.log.verbose(`Acquired lock for duty ${dutyType} at slot ${slot}`, {
|
|
75
75
|
validatorAddress: validatorAddress.toString(),
|
|
76
76
|
nodeId
|
|
77
77
|
});
|
|
@@ -128,7 +128,7 @@ import { DutyAlreadySignedError, SlashingProtectionError } from './errors.js';
|
|
|
128
128
|
const blockIndexWithinCheckpoint = getBlockIndexFromDutyIdentifier(params);
|
|
129
129
|
const success = await this.db.updateDutySigned(rollupAddress, validatorAddress, slot, dutyType, signature.toString(), lockToken, blockIndexWithinCheckpoint);
|
|
130
130
|
if (success) {
|
|
131
|
-
this.log.
|
|
131
|
+
this.log.verbose(`Recorded successful signing for duty ${dutyType} at slot ${slot}`, {
|
|
132
132
|
validatorAddress: validatorAddress.toString(),
|
|
133
133
|
nodeId
|
|
134
134
|
});
|
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.3e3d0c9cd",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./db": "./dest/db/index.js",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
]
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@aztec/ethereum": "0.0.1-commit.
|
|
79
|
-
"@aztec/foundation": "0.0.1-commit.
|
|
80
|
-
"@aztec/kv-store": "0.0.1-commit.
|
|
81
|
-
"@aztec/stdlib": "0.0.1-commit.
|
|
82
|
-
"@aztec/telemetry-client": "0.0.1-commit.
|
|
78
|
+
"@aztec/ethereum": "0.0.1-commit.3e3d0c9cd",
|
|
79
|
+
"@aztec/foundation": "0.0.1-commit.3e3d0c9cd",
|
|
80
|
+
"@aztec/kv-store": "0.0.1-commit.3e3d0c9cd",
|
|
81
|
+
"@aztec/stdlib": "0.0.1-commit.3e3d0c9cd",
|
|
82
|
+
"@aztec/telemetry-client": "0.0.1-commit.3e3d0c9cd",
|
|
83
83
|
"node-pg-migrate": "^8.0.4",
|
|
84
84
|
"pg": "^8.11.3",
|
|
85
85
|
"tslib": "^2.4.0",
|
|
@@ -99,7 +99,7 @@ export class SlashingProtectionService {
|
|
|
99
99
|
|
|
100
100
|
if (isNew) {
|
|
101
101
|
// We successfully acquired the lock
|
|
102
|
-
this.log.
|
|
102
|
+
this.log.verbose(`Acquired lock for duty ${dutyType} at slot ${slot}`, {
|
|
103
103
|
validatorAddress: validatorAddress.toString(),
|
|
104
104
|
nodeId,
|
|
105
105
|
});
|
|
@@ -177,7 +177,7 @@ export class SlashingProtectionService {
|
|
|
177
177
|
);
|
|
178
178
|
|
|
179
179
|
if (success) {
|
|
180
|
-
this.log.
|
|
180
|
+
this.log.verbose(`Recorded successful signing for duty ${dutyType} at slot ${slot}`, {
|
|
181
181
|
validatorAddress: validatorAddress.toString(),
|
|
182
182
|
nodeId,
|
|
183
183
|
});
|