@chainsafe/lodestar-params
Advanced tools
Comparing version 0.21.0 to 0.22.0
/// <reference types="node" /> | ||
export interface IAltairParams { | ||
SYNC_COMMITTEE_SIZE: number; | ||
SYNC_COMMITTEE_SUBNET_COUNT: number; | ||
SYNC_PUBKEYS_PER_AGGREGATE: number; | ||
@@ -16,3 +15,4 @@ INACTIVITY_SCORE_BIAS: bigint; | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: number; | ||
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: number; | ||
} | ||
//# sourceMappingURL=interface.d.ts.map |
@@ -33,3 +33,4 @@ "use strict"; | ||
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: Number64, | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: Number64 | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: Number64, | ||
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: Number64 | ||
} | ||
@@ -36,0 +37,0 @@ }); |
@@ -7,5 +7,6 @@ export declare const GENESIS_SLOT = 0; | ||
export declare const JUSTIFICATION_BITS_LENGTH = 4; | ||
export declare const MAX_REQUEST_BLOCKS: number; | ||
/** Rationale: https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phase0/p2p-interface.md#why-are-there-attestation_subnet_count-attestation-subnets */ | ||
export declare const ATTESTATION_SUBNET_COUNT = 64; | ||
export declare const MAX_REQUEST_BLOCKS: number; | ||
export declare const P2P_ERROR_MESSAGE_MAX_LENGTH = 256; | ||
export declare const SYNC_COMMITTEE_SUBNET_COUNT = 8; | ||
export declare const MIN_SYNC_COMMITTEE_PARTICIPANTS = 1; | ||
@@ -12,0 +13,0 @@ export declare const LIGHT_CLIENT_UPDATE_TIMEOUT: number; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.NEXT_SYNC_COMMITTEE_INDEX_FLOORLOG2 = exports.NEXT_SYNC_COMMITTEE_INDEX = exports.FINALIZED_ROOT_INDEX_FLOORLOG2 = exports.FINALIZED_ROOT_INDEX = exports.MAX_VALID_LIGHT_CLIENT_UPDATES = exports.LIGHT_CLIENT_UPDATE_TIMEOUT = exports.MIN_SYNC_COMMITTEE_PARTICIPANTS = exports.P2P_ERROR_MESSAGE_MAX_LENGTH = exports.MAX_REQUEST_BLOCKS = exports.ATTESTATION_SUBNET_COUNT = exports.JUSTIFICATION_BITS_LENGTH = exports.DEPOSIT_CONTRACT_TREE_DEPTH = exports.BASE_REWARDS_PER_EPOCH = exports.FAR_FUTURE_EPOCH = exports.GENESIS_EPOCH = exports.GENESIS_SLOT = void 0; | ||
exports.NEXT_SYNC_COMMITTEE_INDEX_FLOORLOG2 = exports.NEXT_SYNC_COMMITTEE_INDEX = exports.FINALIZED_ROOT_INDEX_FLOORLOG2 = exports.FINALIZED_ROOT_INDEX = exports.MAX_VALID_LIGHT_CLIENT_UPDATES = exports.LIGHT_CLIENT_UPDATE_TIMEOUT = exports.MIN_SYNC_COMMITTEE_PARTICIPANTS = exports.SYNC_COMMITTEE_SUBNET_COUNT = exports.ATTESTATION_SUBNET_COUNT = exports.MAX_REQUEST_BLOCKS = exports.JUSTIFICATION_BITS_LENGTH = exports.DEPOSIT_CONTRACT_TREE_DEPTH = exports.BASE_REWARDS_PER_EPOCH = exports.FAR_FUTURE_EPOCH = exports.GENESIS_EPOCH = exports.GENESIS_SLOT = void 0; | ||
const GENESIS_SLOT = 0; | ||
@@ -21,9 +21,12 @@ exports.GENESIS_SLOT = GENESIS_SLOT; | ||
exports.JUSTIFICATION_BITS_LENGTH = JUSTIFICATION_BITS_LENGTH; | ||
const ATTESTATION_SUBNET_COUNT = 64; | ||
exports.ATTESTATION_SUBNET_COUNT = ATTESTATION_SUBNET_COUNT; | ||
const MAX_REQUEST_BLOCKS = 2 ** 10; // 1024 | ||
/** Rationale: https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phase0/p2p-interface.md#why-are-there-attestation_subnet_count-attestation-subnets */ | ||
exports.MAX_REQUEST_BLOCKS = MAX_REQUEST_BLOCKS; | ||
const P2P_ERROR_MESSAGE_MAX_LENGTH = 256; | ||
exports.P2P_ERROR_MESSAGE_MAX_LENGTH = P2P_ERROR_MESSAGE_MAX_LENGTH; | ||
const ATTESTATION_SUBNET_COUNT = 64; // Altair - TODO: Make sure it's not included in the spec | ||
exports.ATTESTATION_SUBNET_COUNT = ATTESTATION_SUBNET_COUNT; | ||
const SYNC_COMMITTEE_SUBNET_COUNT = 8; | ||
exports.SYNC_COMMITTEE_SUBNET_COUNT = SYNC_COMMITTEE_SUBNET_COUNT; | ||
const MIN_SYNC_COMMITTEE_PARTICIPANTS = 1; //~27 hours | ||
@@ -30,0 +33,0 @@ |
@@ -15,3 +15,4 @@ export declare const altairJson: { | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: number; | ||
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: number; | ||
}; | ||
//# sourceMappingURL=altair.d.ts.map |
@@ -24,5 +24,6 @@ "use strict"; | ||
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: 64, | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2 | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2, | ||
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: 4 | ||
}; | ||
exports.altairJson = altairJson; | ||
//# sourceMappingURL=altair.js.map |
@@ -15,3 +15,4 @@ export declare const altairJson: { | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: number; | ||
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: number; | ||
}; | ||
//# sourceMappingURL=altair.d.ts.map |
@@ -22,5 +22,6 @@ "use strict"; | ||
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: 64, | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2 | ||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2, | ||
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: 4 | ||
}; | ||
exports.altairJson = altairJson; | ||
//# sourceMappingURL=altair.js.map |
{ | ||
"name": "@chainsafe/lodestar-params", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "Chain parameters required for lodestar", | ||
@@ -48,3 +48,3 @@ "author": "ChainSafe Systems", | ||
"dependencies": { | ||
"@chainsafe/ssz": "^0.8.4", | ||
"@chainsafe/ssz": "^0.8.5", | ||
"@types/js-yaml": "^3.12.2", | ||
@@ -54,3 +54,3 @@ "axios": "^0.21.0", | ||
}, | ||
"gitHead": "58d4adda54d0b87f57c02af91345f0c2818816b9" | ||
"gitHead": "c37afddf34e0459c9c2991c8902ea14c9a947fc0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117624
1350
Updated@chainsafe/ssz@^0.8.5