@lodestar/beacon-node 1.52.0-dev.0ac7778d70 → 1.52.0-dev.47827ac6f8
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/chain/blocks/blockInput/blockInput.d.ts.map +1 -1
- package/lib/chain/blocks/blockInput/blockInput.js +3 -1
- package/lib/chain/blocks/blockInput/blockInput.js.map +1 -1
- package/lib/chain/blocks/importExecutionPayload.d.ts.map +1 -1
- package/lib/chain/blocks/importExecutionPayload.js +17 -3
- package/lib/chain/blocks/importExecutionPayload.js.map +1 -1
- package/lib/chain/blocks/verifyBlock.d.ts.map +1 -1
- package/lib/chain/blocks/verifyBlock.js +9 -6
- package/lib/chain/blocks/verifyBlock.js.map +1 -1
- package/lib/chain/blocks/verifyBlocksDataAvailability.d.ts +2 -2
- package/lib/chain/blocks/verifyBlocksDataAvailability.d.ts.map +1 -1
- package/lib/chain/blocks/verifyBlocksDataAvailability.js +3 -3
- package/lib/chain/blocks/verifyBlocksDataAvailability.js.map +1 -1
- package/lib/chain/blocks/verifyBlocksExecutionPayloads.d.ts.map +1 -1
- package/lib/chain/blocks/verifyBlocksExecutionPayloads.js +7 -5
- package/lib/chain/blocks/verifyBlocksExecutionPayloads.js.map +1 -1
- package/lib/chain/blocks/verifyPayloadsDataAvailability.d.ts +2 -2
- package/lib/chain/blocks/verifyPayloadsDataAvailability.d.ts.map +1 -1
- package/lib/chain/blocks/verifyPayloadsDataAvailability.js +3 -3
- package/lib/chain/blocks/verifyPayloadsDataAvailability.js.map +1 -1
- package/lib/chain/forkChoice/index.d.ts +1 -4
- package/lib/chain/forkChoice/index.d.ts.map +1 -1
- package/lib/chain/forkChoice/index.js +1 -4
- package/lib/chain/forkChoice/index.js.map +1 -1
- package/lib/chain/forkChoiceExecutionEngine.d.ts +5 -3
- package/lib/chain/forkChoiceExecutionEngine.d.ts.map +1 -1
- package/lib/chain/forkChoiceExecutionEngine.js +34 -11
- package/lib/chain/forkChoiceExecutionEngine.js.map +1 -1
- package/lib/chain/options.js +1 -1
- package/lib/chain/options.js.map +1 -1
- package/lib/chain/validation/dataColumnSidecar.d.ts.map +1 -1
- package/lib/chain/validation/dataColumnSidecar.js +8 -1
- package/lib/chain/validation/dataColumnSidecar.js.map +1 -1
- package/lib/metrics/metrics/beacon.d.ts +4 -0
- package/lib/metrics/metrics/beacon.d.ts.map +1 -1
- package/lib/metrics/metrics/beacon.js +9 -0
- package/lib/metrics/metrics/beacon.js.map +1 -1
- package/package.json +16 -16
- package/src/chain/blocks/blockInput/blockInput.ts +4 -1
- package/src/chain/blocks/importExecutionPayload.ts +21 -2
- package/src/chain/blocks/verifyBlock.ts +10 -7
- package/src/chain/blocks/verifyBlocksDataAvailability.ts +4 -4
- package/src/chain/blocks/verifyBlocksExecutionPayloads.ts +7 -4
- package/src/chain/blocks/verifyPayloadsDataAvailability.ts +5 -4
- package/src/chain/forkChoice/index.ts +1 -4
- package/src/chain/forkChoiceExecutionEngine.ts +48 -15
- package/src/chain/options.ts +1 -1
- package/src/chain/validation/dataColumnSidecar.ts +7 -1
- package/src/metrics/metrics/beacon.ts +9 -0
|
@@ -135,7 +135,7 @@ export async function verifyBlocksInEpoch(
|
|
|
135
135
|
const daAvailabilityPromise: Promise<{
|
|
136
136
|
blockDAStatuses: DataAvailabilityStatus[];
|
|
137
137
|
payloadDAStatuses: Map<Slot, DataAvailabilityStatus>;
|
|
138
|
-
|
|
138
|
+
availableTimeMs: number;
|
|
139
139
|
}> =
|
|
140
140
|
fork >= ForkSeq.gloas
|
|
141
141
|
? (async () => {
|
|
@@ -148,7 +148,7 @@ export async function verifyBlocksInEpoch(
|
|
|
148
148
|
payloadEnvelopes !== null
|
|
149
149
|
? Array.from(payloadEnvelopes.values()).filter((payloadInput) => payloadInput.hasPayloadEnvelope())
|
|
150
150
|
: [];
|
|
151
|
-
const {dataAvailabilityStatuses,
|
|
151
|
+
const {dataAvailabilityStatuses, availableTimeMs} = await verifyPayloadsDataAvailability(
|
|
152
152
|
this.config,
|
|
153
153
|
payloadInputsForDa,
|
|
154
154
|
abortController.signal
|
|
@@ -162,25 +162,25 @@ export async function verifyBlocksInEpoch(
|
|
|
162
162
|
// post-gloas, DataAvailabilityStatus is NotRequired for forkChoice.onBlock() ProtoBlock
|
|
163
163
|
blockDAStatuses: blockInputs.map(() => DataAvailabilityStatus.NotRequired),
|
|
164
164
|
payloadDAStatuses,
|
|
165
|
-
|
|
165
|
+
availableTimeMs,
|
|
166
166
|
};
|
|
167
167
|
})()
|
|
168
168
|
: (async () => {
|
|
169
|
-
const {dataAvailabilityStatuses,
|
|
169
|
+
const {dataAvailabilityStatuses, availableTimeMs} = await verifyBlocksDataAvailability(
|
|
170
170
|
blockInputs,
|
|
171
171
|
abortController.signal
|
|
172
172
|
);
|
|
173
173
|
return {
|
|
174
174
|
blockDAStatuses: dataAvailabilityStatuses,
|
|
175
175
|
payloadDAStatuses: new Map<Slot, DataAvailabilityStatus>(),
|
|
176
|
-
|
|
176
|
+
availableTimeMs,
|
|
177
177
|
};
|
|
178
178
|
})();
|
|
179
179
|
|
|
180
180
|
// batch all I/O operations to reduce overhead
|
|
181
181
|
const [
|
|
182
182
|
segmentExecStatus,
|
|
183
|
-
{blockDAStatuses, payloadDAStatuses,
|
|
183
|
+
{blockDAStatuses, payloadDAStatuses, availableTimeMs},
|
|
184
184
|
{verifySignaturesTime},
|
|
185
185
|
{postStates, proposerBalanceDeltas, verifyStateTime},
|
|
186
186
|
] = await Promise.all([
|
|
@@ -304,15 +304,18 @@ export async function verifyBlocksInEpoch(
|
|
|
304
304
|
const recvTofullyVerifedTime = fullyVerifiedTime / 1000 - opts.seenTimestampSec;
|
|
305
305
|
this.metrics?.gossipBlock.receivedToFullyVerifiedTime.observe(recvTofullyVerifedTime);
|
|
306
306
|
|
|
307
|
-
const verifiedToBlobsAvailabiltyTime = Math.max(
|
|
307
|
+
const verifiedToBlobsAvailabiltyTime = Math.max(availableTimeMs - fullyVerifiedTime, 0) / 1000;
|
|
308
|
+
const receivedToBlobsAvailabilityTime = Math.max(availableTimeMs / 1000 - opts.seenTimestampSec, 0);
|
|
308
309
|
const block = blockInputs[0].getBlock();
|
|
309
310
|
const numBlobs = getBlobKzgCommitments(blockInputs[0].forkName, block as deneb.SignedBeaconBlock).length;
|
|
310
311
|
|
|
311
312
|
this.metrics?.gossipBlock.verifiedToBlobsAvailabiltyTime.observe({numBlobs}, verifiedToBlobsAvailabiltyTime);
|
|
313
|
+
this.metrics?.gossipBlock.receivedToBlobsAvailabilityTime.observe({numBlobs}, receivedToBlobsAvailabilityTime);
|
|
312
314
|
this.logger.verbose("Verified blockInput fully with blobs availability", {
|
|
313
315
|
slot: block.message.slot,
|
|
314
316
|
recvTofullyVerifedTime,
|
|
315
317
|
verifiedToBlobsAvailabiltyTime,
|
|
318
|
+
receivedToBlobsAvailabilityTime,
|
|
316
319
|
type: blockInputs[0].type,
|
|
317
320
|
numBlobs,
|
|
318
321
|
});
|
|
@@ -11,7 +11,7 @@ export const BLOB_AVAILABILITY_TIMEOUT = 12_000;
|
|
|
11
11
|
/**
|
|
12
12
|
* Verifies that all block inputs have data available.
|
|
13
13
|
* - Waits a max of BLOB_AVAILABILITY_TIMEOUT for all data to be available
|
|
14
|
-
* - Returns the time at which all data was available
|
|
14
|
+
* - Returns the time at which all data was available, in Unix milliseconds
|
|
15
15
|
* - Returns the data availability status for each block input
|
|
16
16
|
*/
|
|
17
17
|
export async function verifyBlocksDataAvailability(
|
|
@@ -19,7 +19,7 @@ export async function verifyBlocksDataAvailability(
|
|
|
19
19
|
signal: AbortSignal
|
|
20
20
|
): Promise<{
|
|
21
21
|
dataAvailabilityStatuses: DataAvailabilityStatus[];
|
|
22
|
-
|
|
22
|
+
availableTimeMs: number;
|
|
23
23
|
}> {
|
|
24
24
|
const promises: Promise<DAData>[] = [];
|
|
25
25
|
for (const blockInput of blocks) {
|
|
@@ -37,7 +37,7 @@ export async function verifyBlocksDataAvailability(
|
|
|
37
37
|
}
|
|
38
38
|
await Promise.all(promises);
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const availableTimeMs = Math.max(0, Math.max(...blocks.map((blockInput) => blockInput.getTimeComplete()))) * 1000;
|
|
41
41
|
const dataAvailabilityStatuses: DataAvailabilityStatus[] = blocks.map((blockInput) => {
|
|
42
42
|
if (blockInput.type === DAType.NoData) {
|
|
43
43
|
return DataAvailabilityStatus.NotRequired;
|
|
@@ -55,5 +55,5 @@ export async function verifyBlocksDataAvailability(
|
|
|
55
55
|
return DataAvailabilityStatus.Available;
|
|
56
56
|
});
|
|
57
57
|
|
|
58
|
-
return {dataAvailabilityStatuses,
|
|
58
|
+
return {dataAvailabilityStatuses, availableTimeMs};
|
|
59
59
|
}
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
BlockExecutionStatus,
|
|
4
4
|
ExecutionStatus,
|
|
5
5
|
IForkChoice,
|
|
6
|
+
LVHInvalidJudged,
|
|
6
7
|
LVHInvalidResponse,
|
|
7
8
|
LVHValidResponse,
|
|
8
9
|
ProtoBlock,
|
|
@@ -200,8 +201,9 @@ export async function verifyBlockExecutionPayload(
|
|
|
200
201
|
const lvhResponse = {
|
|
201
202
|
executionStatus,
|
|
202
203
|
latestValidExecHash: execResult.latestValidHash,
|
|
203
|
-
|
|
204
|
-
|
|
204
|
+
invalidateFromBlockRoot: blockInput.parentRootHex,
|
|
205
|
+
invalidateFromBlockHash: toRootHex(executionPayloadEnabled.parentHash),
|
|
206
|
+
judged: LVHInvalidJudged.ChildPayload,
|
|
205
207
|
};
|
|
206
208
|
const execError = new BlockError(block, {
|
|
207
209
|
code: BlockErrorCode.EXECUTION_ENGINE_INVALID,
|
|
@@ -284,8 +286,9 @@ function getSegmentErrorResponse(
|
|
|
284
286
|
invalidSegmentLVH = {
|
|
285
287
|
executionStatus: ExecutionStatus.Invalid,
|
|
286
288
|
latestValidExecHash: lvhResponse.latestValidExecHash,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
+
invalidateFromBlockRoot: parentBlock.blockRoot,
|
|
290
|
+
invalidateFromBlockHash: parentBlock.executionPayloadBlockHash,
|
|
291
|
+
judged: LVHInvalidJudged.ChildPayload,
|
|
289
292
|
};
|
|
290
293
|
}
|
|
291
294
|
}
|
|
@@ -8,7 +8,7 @@ import {PayloadError, PayloadErrorCode} from "./importExecutionPayload.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Verifies that all payload envelope inputs have their data columns available.
|
|
10
10
|
* - Waits a max of one slot duration of the payload's fork for all data to be available
|
|
11
|
-
* - Returns the time at which all data was available
|
|
11
|
+
* - Returns the time at which all data was available, in Unix milliseconds
|
|
12
12
|
* - Returns the data availability status for each payload input
|
|
13
13
|
*/
|
|
14
14
|
export async function verifyPayloadsDataAvailability(
|
|
@@ -17,7 +17,7 @@ export async function verifyPayloadsDataAvailability(
|
|
|
17
17
|
signal: AbortSignal
|
|
18
18
|
): Promise<{
|
|
19
19
|
dataAvailabilityStatuses: DataAvailabilityStatus[];
|
|
20
|
-
|
|
20
|
+
availableTimeMs: number;
|
|
21
21
|
}> {
|
|
22
22
|
const promises: Promise<gloas.DataColumnSidecar[]>[] = [];
|
|
23
23
|
for (const payloadInput of payloadInputs) {
|
|
@@ -35,7 +35,8 @@ export async function verifyPayloadsDataAvailability(
|
|
|
35
35
|
}
|
|
36
36
|
await Promise.all(promises);
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const availableTimeMs =
|
|
39
|
+
Math.max(0, Math.max(...payloadInputs.map((payloadInput) => payloadInput.getTimeComplete()))) * 1000;
|
|
39
40
|
const dataAvailabilityStatuses: DataAvailabilityStatus[] = payloadInputs.map((payloadInput) => {
|
|
40
41
|
if (payloadInput.daOutOfRange) {
|
|
41
42
|
return DataAvailabilityStatus.OutOfRange;
|
|
@@ -45,5 +46,5 @@ export async function verifyPayloadsDataAvailability(
|
|
|
45
46
|
: DataAvailabilityStatus.Available;
|
|
46
47
|
});
|
|
47
48
|
|
|
48
|
-
return {dataAvailabilityStatuses,
|
|
49
|
+
return {dataAvailabilityStatuses, availableTimeMs};
|
|
49
50
|
}
|
|
@@ -37,10 +37,7 @@ export enum ForkchoiceCaller {
|
|
|
37
37
|
executionInvalid = "execution_invalid",
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
/**
|
|
41
|
-
* Where an execution engine INVALID verdict comes from. Only `blockSegment` verdicts are about the payload the engine
|
|
42
|
-
* just processed and keep the consensus failure semantics in fork choice, the others are applied leniently.
|
|
43
|
-
*/
|
|
40
|
+
/** Where an execution engine INVALID verdict comes from, a label for logs and metrics */
|
|
44
41
|
export enum ExecutionInvalidSource {
|
|
45
42
|
forkchoiceUpdated = "forkchoice_updated",
|
|
46
43
|
newPayload = "new_payload",
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
ExecutionStatus,
|
|
3
|
+
IForkChoice,
|
|
4
|
+
LVHInvalidJudged,
|
|
5
|
+
LVHInvalidResponse,
|
|
6
|
+
LVHNotAppliedReason,
|
|
7
|
+
LVHVerdictResult,
|
|
8
|
+
} from "@lodestar/fork-choice";
|
|
2
9
|
import {ForkName, ForkPostFulu} from "@lodestar/params";
|
|
3
10
|
import {RootHex, bellatrix} from "@lodestar/types";
|
|
4
11
|
import {BlobAndProofV2} from "@lodestar/types/fulu";
|
|
5
|
-
import {Logger} from "@lodestar/utils";
|
|
12
|
+
import {LogDataBasic, Logger} from "@lodestar/utils";
|
|
6
13
|
import {ExecutionPayloadBodyV2} from "../execution/engine/types.js";
|
|
7
14
|
import {DATA} from "../execution/engine/utils.js";
|
|
8
15
|
import {
|
|
@@ -119,18 +126,25 @@ export class ForkChoiceExecutionEngine {
|
|
|
119
126
|
}
|
|
120
127
|
|
|
121
128
|
/**
|
|
122
|
-
* Apply an execution engine INVALID verdict to fork choice and move the chain head off the invalid chain
|
|
129
|
+
* Apply an execution engine INVALID verdict to fork choice and move the chain head off the invalid chain.
|
|
130
|
+
* `judgedLogCtx` identifies the judged payload in logs when it is not the from node.
|
|
123
131
|
*/
|
|
124
|
-
invalidateExecutionPayloads(
|
|
132
|
+
invalidateExecutionPayloads(
|
|
133
|
+
lvh: LVHInvalidResponse,
|
|
134
|
+
source: ExecutionInvalidSource,
|
|
135
|
+
judgedLogCtx?: Record<string, LogDataBasic>
|
|
136
|
+
): void {
|
|
125
137
|
const logCtx = {
|
|
138
|
+
...judgedLogCtx,
|
|
126
139
|
source,
|
|
127
|
-
|
|
128
|
-
|
|
140
|
+
judged: lvh.judged,
|
|
141
|
+
fromBlockRoot: lvh.invalidateFromBlockRoot,
|
|
142
|
+
fromBlockHash: lvh.invalidateFromBlockHash,
|
|
129
143
|
latestValidHash: lvh.latestValidExecHash ?? "null",
|
|
130
144
|
};
|
|
131
|
-
const
|
|
132
|
-
if (!applied) {
|
|
133
|
-
this.
|
|
145
|
+
const result = this.forkChoice.validateLatestHash(lvh);
|
|
146
|
+
if (!result.applied) {
|
|
147
|
+
this.logNotApplied(result, logCtx);
|
|
134
148
|
return;
|
|
135
149
|
}
|
|
136
150
|
this.metrics?.forkChoice.executionInvalidations.inc({source});
|
|
@@ -143,6 +157,20 @@ export class ForkChoiceExecutionEngine {
|
|
|
143
157
|
}
|
|
144
158
|
}
|
|
145
159
|
|
|
160
|
+
private logNotApplied(
|
|
161
|
+
result: Exclude<LVHVerdictResult, {applied: true}>,
|
|
162
|
+
logCtx: Record<string, LogDataBasic>
|
|
163
|
+
): void {
|
|
164
|
+
const message = "Execution engine verdict not applied to fork choice";
|
|
165
|
+
if (result.reason === LVHNotAppliedReason.Error) {
|
|
166
|
+
this.logger.error(message, {...logCtx, reason: result.reason}, result.error);
|
|
167
|
+
} else if (result.reason === LVHNotAppliedReason.AlreadyApplied) {
|
|
168
|
+
this.logger.debug(message, {...logCtx, reason: result.reason});
|
|
169
|
+
} else {
|
|
170
|
+
this.logger.warn(message, {...logCtx, reason: result.reason});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
146
174
|
private applyForkchoiceUpdatedResult(
|
|
147
175
|
headBlockRoot: RootHex,
|
|
148
176
|
headBlockHash: RootHex,
|
|
@@ -165,16 +193,21 @@ export class ForkChoiceExecutionEngine {
|
|
|
165
193
|
{
|
|
166
194
|
executionStatus: ExecutionStatus.Invalid,
|
|
167
195
|
latestValidExecHash: latestValidHash,
|
|
168
|
-
|
|
169
|
-
|
|
196
|
+
invalidateFromBlockRoot: headBlockRoot,
|
|
197
|
+
invalidateFromBlockHash: headBlockHash,
|
|
198
|
+
judged: LVHInvalidJudged.FromBlock,
|
|
170
199
|
},
|
|
171
200
|
ExecutionInvalidSource.forkchoiceUpdated
|
|
172
201
|
);
|
|
173
202
|
} else if (status === ExecutionPayloadStatus.VALID && executionStatus === ExecutionStatus.Syncing) {
|
|
174
|
-
this.forkChoice.validateLatestHash(
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
203
|
+
const result = this.forkChoice.validateLatestHash({
|
|
204
|
+
executionStatus: ExecutionStatus.Valid,
|
|
205
|
+
latestValidExecHash: headBlockHash,
|
|
206
|
+
blockRoot: headBlockRoot,
|
|
207
|
+
});
|
|
208
|
+
if (!result.applied) {
|
|
209
|
+
this.logNotApplied(result, {source: ExecutionInvalidSource.forkchoiceUpdated, headBlockRoot, headBlockHash});
|
|
210
|
+
}
|
|
178
211
|
}
|
|
179
212
|
} catch (e) {
|
|
180
213
|
this.logger.error("Error applying forkchoice update result", {headBlockRoot, headBlockHash, status}, e as Error);
|
package/src/chain/options.ts
CHANGED
|
@@ -132,7 +132,7 @@ export const defaultChainOptions: IChainOptions = {
|
|
|
132
132
|
// - users can prune the persisted checkpoint state files manually to save disc space
|
|
133
133
|
// - it helps debug easier when network is unfinalized
|
|
134
134
|
nHistoricalStatesFileDataStore: true,
|
|
135
|
-
nativeStateTransition:
|
|
135
|
+
nativeStateTransition: true,
|
|
136
136
|
maxBlockStates: DEFAULT_MAX_BLOCK_STATES,
|
|
137
137
|
maxCPStateEpochsInMemory: DEFAULT_MAX_CP_STATE_EPOCHS_IN_MEMORY,
|
|
138
138
|
maxCPStateEpochsOnDisk: DEFAULT_MAX_CP_STATE_ON_DISK,
|
|
@@ -152,12 +152,15 @@ export async function validateGossipFuluDataColumnSidecar(
|
|
|
152
152
|
|
|
153
153
|
// 5) [REJECT] The proposer signature of sidecar.signed_block_header, is valid with respect to the block_header.proposer_index pubkey.
|
|
154
154
|
const signature = dataColumnSidecar.signedBlockHeader.signature;
|
|
155
|
-
if (
|
|
155
|
+
if (chain.seenBlockInputCache.isVerifiedProposerSignature(blockHeader.slot, blockRootHex, signature)) {
|
|
156
|
+
metrics?.peerDas.dataColumnSidecarProposerSignatureChecks.inc({result: "cache_hit"});
|
|
157
|
+
} else {
|
|
156
158
|
const signatureSet = getBlockHeaderProposerSignatureSetByHeaderSlot(
|
|
157
159
|
chain.config,
|
|
158
160
|
dataColumnSidecar.signedBlockHeader
|
|
159
161
|
);
|
|
160
162
|
|
|
163
|
+
metrics?.peerDas.dataColumnSidecarProposerSignatureChecks.inc({result: "verification"});
|
|
161
164
|
if (
|
|
162
165
|
!(await chain.bls.verifySignatureSets([signatureSet], {
|
|
163
166
|
// verify on main thread so that we only need to verify block proposer signature once per block
|
|
@@ -172,6 +175,9 @@ export async function validateGossipFuluDataColumnSidecar(
|
|
|
172
175
|
});
|
|
173
176
|
}
|
|
174
177
|
|
|
178
|
+
if (metrics && !chain.seenBlockInputCache.isVerifiedProposerSignature(blockHeader.slot, blockRootHex, signature)) {
|
|
179
|
+
metrics.peerDas.dataColumnSidecarProposerSignatureBlocks.inc();
|
|
180
|
+
}
|
|
175
181
|
chain.seenBlockInputCache.markVerifiedProposerSignature(blockHeader.slot, blockRootHex, signature);
|
|
176
182
|
}
|
|
177
183
|
|
|
@@ -334,6 +334,15 @@ export function createBeaconMetrics(register: RegistryMetricCreator) {
|
|
|
334
334
|
help: "Time taken to compute data column sidecars, including cells and inclusion proof",
|
|
335
335
|
buckets: [0.1, 0.25, 0.5, 0.75, 1, 2, 5],
|
|
336
336
|
}),
|
|
337
|
+
dataColumnSidecarProposerSignatureChecks: register.counter<{result: "cache_hit" | "verification"}>({
|
|
338
|
+
name: "beacon_data_column_sidecar_proposer_signature_checks_total",
|
|
339
|
+
help: "Gossip data column proposer signature checks answered by the cache or by a started verification",
|
|
340
|
+
labelNames: ["result"],
|
|
341
|
+
}),
|
|
342
|
+
dataColumnSidecarProposerSignatureBlocks: register.counter({
|
|
343
|
+
name: "beacon_data_column_sidecar_proposer_signature_blocks_total",
|
|
344
|
+
help: "Blocks whose proposer signature a gossip data column verified and cached first",
|
|
345
|
+
}),
|
|
337
346
|
dataColumnSidecarInclusionProofVerificationTime: register.histogram({
|
|
338
347
|
name: "beacon_data_column_sidecar_inclusion_proof_verification_seconds",
|
|
339
348
|
help: "Time taken to verify data_column sidecar inclusion proof",
|