@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
24 lines • 1.53 kB
TypeScript
import { ChainForkConfig } from "@lodestar/config";
import { IBlockInput } from "../chain/blocks/blockInput/types.js";
import { PayloadEnvelopeInput } from "../chain/blocks/payloadEnvelopeInput/index.js";
import { ChainEventEmitter } from "../chain/emitter.js";
import { IExecutionEngine } from "../execution/index.js";
import { Metrics } from "../metrics/index.js";
export declare enum DataColumnEngineResult {
PreFulu = "pre_fulu",
NotAttemptedFull = "not_attempted_full",
NotAttemptedNoBlobs = "not_attempted_no_blobs",
NullResponse = "null_response",
SuccessResolved = "success_resolved",
SuccessLate = "success_late",
Failed = "failed"
}
export declare function getBlobSidecarsFromExecution(config: ChainForkConfig, executionEngine: IExecutionEngine, metrics: Metrics | null, emitter: ChainEventEmitter, blockInput: IBlockInput): Promise<void>;
/**
* Call getBlobsV2 from execution engine once per slot to fetch blobs and compute data columns.
*
* Post fulu, whenever we see either beacon_block or data_column_sidecar gossip message and data isn't complete.
* Post gloas, immediately when beacon block is successfully imported and PayloadEnvelopeInput is created.
*/
export declare function getDataColumnSidecarsFromExecution(config: ChainForkConfig, executionEngine: IExecutionEngine, emitter: ChainEventEmitter, input: IBlockInput | PayloadEnvelopeInput, metrics: Metrics | null, blobAndProofBuffers?: Uint8Array[]): Promise<DataColumnEngineResult>;
//# sourceMappingURL=execution.d.ts.map