@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
14 lines • 543 B
TypeScript
import { GossipActionError } from "./gossipValidation.js";
export declare enum AttesterSlashingErrorCode {
ALREADY_EXISTS = "ATTESTATION_SLASHING_ERROR_ALREADY_EXISTS",
INVALID = "ATTESTATION_SLASHING_ERROR_INVALID"
}
export type AttesterSlashingErrorType = {
code: AttesterSlashingErrorCode.ALREADY_EXISTS;
} | {
code: AttesterSlashingErrorCode.INVALID;
error: Error;
};
export declare class AttesterSlashingError extends GossipActionError<AttesterSlashingErrorType> {
}
//# sourceMappingURL=attesterSlashingError.d.ts.map