UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

14 lines 537 B
import { GossipActionError } from "./gossipValidation.js"; export declare enum ProposerSlashingErrorCode { ALREADY_EXISTS = "PROPOSER_SLASHING_ERROR_ALREADY_EXISTS", INVALID = "PROPOSER_SLASHING_ERROR_INVALID" } export type ProposerSlashingErrorType = { code: ProposerSlashingErrorCode.ALREADY_EXISTS; } | { code: ProposerSlashingErrorCode.INVALID; error: Error; }; export declare class ProposerSlashingError extends GossipActionError<ProposerSlashingErrorType> { } //# sourceMappingURL=proposerSlashingError.d.ts.map