import { ChainConfig, SpecJson } from "@lodestar/config"; export declare class NotEqualParamsError extends Error { } /** * Assert localConfig values match externalSpecJson. externalSpecJson may contain more values than localConfig. * * This check ensures that the validator is connected to a beacon node of the exact same network and params. * Otherwise, signatures may be rejected, time may be un-equal and other bugs that are harder to debug caused * by different parameters. * * This check however can't compare the full config as is, since some parameters are not critical to the spec and * can be changed un-expectedly. Also, fork parameters can change un-expectedly, like their _FORK_VERSION or _EPOCH. * Note that the config API endpoint is not precisely specified, so each clients can return a different set of * parameters. * * So this check only compares a specific list of parameters that are consensus critical, ignoring the rest. Typed * config and preset ensure new parameters are labeled critical or ignore, facilitating maintenance of the list. */ export declare function assertEqualParams(localConfig: ChainConfig, externalSpecJson: SpecJson): void; //# sourceMappingURL=params.d.ts.map