@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
14 lines • 987 B
JavaScript
import { GossipActionError } from "./gossipValidation.js";
export { ProposerPreferencesErrorCode };
var ProposerPreferencesErrorCode;
(function (ProposerPreferencesErrorCode) {
ProposerPreferencesErrorCode["INVALID_EPOCH"] = "PROPOSER_PREFERENCES_ERROR_INVALID_EPOCH";
ProposerPreferencesErrorCode["PROPOSAL_SLOT_PASSED"] = "PROPOSER_PREFERENCES_ERROR_PROPOSAL_SLOT_PASSED";
ProposerPreferencesErrorCode["UNKNOWN_DEPENDENT_ROOT"] = "PROPOSER_PREFERENCES_ERROR_UNKNOWN_DEPENDENT_ROOT";
ProposerPreferencesErrorCode["INVALID_PROPOSER"] = "PROPOSER_PREFERENCES_ERROR_INVALID_PROPOSER";
ProposerPreferencesErrorCode["ALREADY_KNOWN"] = "PROPOSER_PREFERENCES_ERROR_ALREADY_KNOWN";
ProposerPreferencesErrorCode["INVALID_SIGNATURE"] = "PROPOSER_PREFERENCES_ERROR_INVALID_SIGNATURE";
})(ProposerPreferencesErrorCode || (ProposerPreferencesErrorCode = {}));
export class ProposerPreferencesError extends GossipActionError {
}
//# sourceMappingURL=proposerPreferences.js.map