diff --git a/packages/beacon-node/src/chain/archiver/archiveBlocks.ts b/packages/beacon-node/src/chain/archiver/archiveBlocks.ts index c88aa6cbf5ed..27934a6bae1f 100644 --- a/packages/beacon-node/src/chain/archiver/archiveBlocks.ts +++ b/packages/beacon-node/src/chain/archiver/archiveBlocks.ts @@ -2,7 +2,7 @@ import {fromHexString} from "@chainsafe/ssz"; import {Epoch, Slot, RootHex} from "@lodestar/types"; import {IForkChoice} from "@lodestar/fork-choice"; import {Logger, toHex} from "@lodestar/utils"; -import {ForkSeq, SLOTS_PER_EPOCH, MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS} from "@lodestar/params"; +import {ForkSeq, SLOTS_PER_EPOCH} from "@lodestar/params"; import {computeEpochAtSlot, computeStartSlotAtEpoch} from "@lodestar/state-transition"; import {KeyValue} from "@lodestar/db"; import {ChainForkConfig} from "@lodestar/config"; @@ -83,7 +83,7 @@ export async function archiveBlocks( // Delete expired blobs // Keep only `[max(GENESIS_EPOCH, current_epoch - MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS), current_epoch]` if (finalizedPostDeneb) { - const blobSidecarsMinEpoch = currentEpoch - MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS; + const blobSidecarsMinEpoch = currentEpoch - config.MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS; if (blobSidecarsMinEpoch >= config.DENEB_FORK_EPOCH) { const slotsToDelete = await db.blobSidecarsArchive.keys({lt: computeStartSlotAtEpoch(blobSidecarsMinEpoch)}); if (slotsToDelete.length > 0) { diff --git a/packages/beacon-node/src/chain/blocks/types.ts b/packages/beacon-node/src/chain/blocks/types.ts index aff5a64c9929..2fd16fa64705 100644 --- a/packages/beacon-node/src/chain/blocks/types.ts +++ b/packages/beacon-node/src/chain/blocks/types.ts @@ -1,7 +1,7 @@ import {CachedBeaconStateAllForks, computeEpochAtSlot, DataAvailableStatus} from "@lodestar/state-transition"; import {MaybeValidExecutionStatus} from "@lodestar/fork-choice"; import {allForks, deneb, Slot} from "@lodestar/types"; -import {ForkSeq, MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS} from "@lodestar/params"; +import {ForkSeq} from "@lodestar/params"; import {ChainForkConfig} from "@lodestar/config"; export enum BlockInputType { @@ -36,7 +36,7 @@ export function blockRequiresBlobs(config: ChainForkConfig, blockSlot: Slot, clo return ( config.getForkSeq(blockSlot) >= ForkSeq.deneb && // Only request blobs if they are recent enough - computeEpochAtSlot(blockSlot) >= computeEpochAtSlot(clockSlot) - MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS + computeEpochAtSlot(blockSlot) >= computeEpochAtSlot(clockSlot) - config.MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS ); } diff --git a/packages/beacon-node/src/network/reqresp/beaconBlocksMaybeBlobsByRange.ts b/packages/beacon-node/src/network/reqresp/beaconBlocksMaybeBlobsByRange.ts index 41d3e901c41d..e57c3e5b7c8e 100644 --- a/packages/beacon-node/src/network/reqresp/beaconBlocksMaybeBlobsByRange.ts +++ b/packages/beacon-node/src/network/reqresp/beaconBlocksMaybeBlobsByRange.ts @@ -1,6 +1,6 @@ import {ChainForkConfig} from "@lodestar/config"; import {deneb, Epoch, phase0, allForks, Slot} from "@lodestar/types"; -import {ForkSeq, MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS} from "@lodestar/params"; +import {ForkSeq} from "@lodestar/params"; import {computeEpochAtSlot} from "@lodestar/state-transition"; import {BlockInput, BlockSource, getBlockInput} from "../../chain/blocks/types.js"; @@ -37,7 +37,7 @@ export async function beaconBlocksMaybeBlobsByRange( } // Only request blobs if they are recent enough - else if (computeEpochAtSlot(startSlot) >= currentEpoch - MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS) { + else if (computeEpochAtSlot(startSlot) >= currentEpoch - config.MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS) { const [allBlocks, allBlobSidecars] = await Promise.all([ network.sendBeaconBlocksByRange(peerId, request), network.sendBlobSidecarsByRange(peerId, request), diff --git a/packages/beacon-node/test/unit-mainnet/network/gossip/scoringParameters.test.ts b/packages/beacon-node/test/unit-mainnet/network/gossip/scoringParameters.test.ts index 6805f00ced1b..7ef09af2cd89 100644 --- a/packages/beacon-node/test/unit-mainnet/network/gossip/scoringParameters.test.ts +++ b/packages/beacon-node/test/unit-mainnet/network/gossip/scoringParameters.test.ts @@ -2,7 +2,7 @@ import {describe, it, expect} from "vitest"; import {TopicScoreParams} from "@chainsafe/libp2p-gossipsub/score"; import {ATTESTATION_SUBNET_COUNT, ForkName, SLOTS_PER_EPOCH} from "@lodestar/params"; import {createBeaconConfig} from "@lodestar/config"; -import {mainnetChainConfig} from "@lodestar/config/presets"; +import {mainnetChainConfig} from "@lodestar/config/configs"; import {computeGossipPeerScoreParams, gossipScoreThresholds} from "../../../../src/network/gossip/scoringParameters.js"; import {stringifyGossipTopic} from "../../../../src/network/gossip/topic.js"; import {GossipType} from "../../../../src/network/index.js"; diff --git a/packages/cli/src/networks/dev.ts b/packages/cli/src/networks/dev.ts index 77d55bc6a32d..ff8afc127dcc 100644 --- a/packages/cli/src/networks/dev.ts +++ b/packages/cli/src/networks/dev.ts @@ -1,5 +1,5 @@ import {gnosisChainConfig} from "@lodestar/config/networks"; -import {minimalChainConfig, mainnetChainConfig} from "@lodestar/config/presets"; +import {minimalChainConfig, mainnetChainConfig} from "@lodestar/config/configs"; import {ACTIVE_PRESET, PresetName} from "@lodestar/params"; let chainConfig; diff --git a/packages/config/package.json b/packages/config/package.json index c52a070b69fd..3b0a649e78c5 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -19,8 +19,8 @@ "./networks": { "import": "./lib/networks.js" }, - "./presets": { - "import": "./lib/presets.js" + "./configs": { + "import": "./lib/configs.js" } }, "typesVersions": { diff --git a/packages/config/src/chainConfig/presets/mainnet.ts b/packages/config/src/chainConfig/configs/mainnet.ts similarity index 86% rename from packages/config/src/chainConfig/presets/mainnet.ts rename to packages/config/src/chainConfig/configs/mainnet.ts index 2c02643a032c..f9c17ce1cb8e 100644 --- a/packages/config/src/chainConfig/presets/mainnet.ts +++ b/packages/config/src/chainConfig/configs/mainnet.ts @@ -3,7 +3,11 @@ import {fromHexString as b} from "@chainsafe/ssz"; import {PresetName} from "@lodestar/params"; import {ChainConfig} from "../types.js"; +// Mainnet config +// https://github.com/ethereum/consensus-specs/blob/dev/configs/mainnet.yaml + export const chainConfig: ChainConfig = { + // Extends the mainnet preset PRESET_BASE: PresetName.mainnet, CONFIG_NAME: "mainnet", @@ -41,7 +45,7 @@ export const chainConfig: ChainConfig = { CAPELLA_FORK_VERSION: b("0x03000000"), CAPELLA_FORK_EPOCH: 194048, // April 12 (epoch: 194048 slot: 6209536 UTC: 4/12/2023, 10:27:35 PM) - // DENEB + // Deneb DENEB_FORK_VERSION: b("0x04000000"), DENEB_FORK_EPOCH: Infinity, @@ -68,9 +72,14 @@ export const chainConfig: ChainConfig = { EJECTION_BALANCE: 16000000000, // 2**2 (= 4) MIN_PER_EPOCH_CHURN_LIMIT: 4, + // 2**3 (= 8) MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 8, // 2**16 (= 65,536) CHURN_LIMIT_QUOTIENT: 65536, + + // Fork choice + // --------------------------------------------------------------- + // 40% PROPOSER_SCORE_BOOST: 40, // Deposit contract @@ -79,4 +88,11 @@ export const chainConfig: ChainConfig = { DEPOSIT_CHAIN_ID: 1, DEPOSIT_NETWORK_ID: 1, DEPOSIT_CONTRACT_ADDRESS: b("0x00000000219ab540356cBB839Cbe05303d7705Fa"), + + // Networking + // --------------------------------------------------------------- + + // Deneb + // `2**12` (= 4096 epochs, ~18 days) + MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096, }; diff --git a/packages/config/src/chainConfig/presets/minimal.ts b/packages/config/src/chainConfig/configs/minimal.ts similarity index 88% rename from packages/config/src/chainConfig/presets/minimal.ts rename to packages/config/src/chainConfig/configs/minimal.ts index d790032bcee1..6c0a13d8abb2 100644 --- a/packages/config/src/chainConfig/presets/minimal.ts +++ b/packages/config/src/chainConfig/configs/minimal.ts @@ -3,6 +3,9 @@ import {fromHexString as b} from "@chainsafe/ssz"; import {PresetName} from "@lodestar/params"; import {ChainConfig} from "../types.js"; +// Minimal config +// https://github.com/ethereum/consensus-specs/blob/dev/configs/minimal.yaml + export const chainConfig: ChainConfig = { // Extends the minimal preset PRESET_BASE: PresetName.minimal, @@ -66,9 +69,14 @@ export const chainConfig: ChainConfig = { EJECTION_BALANCE: 16000000000, // 2**2 (= 4) MIN_PER_EPOCH_CHURN_LIMIT: 2, + // [customized] MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 4, // [customized] scale queue churn at much lower validator counts for testing CHURN_LIMIT_QUOTIENT: 32, + + // Fork choice + // --------------------------------------------------------------- + // 40% PROPOSER_SCORE_BOOST: 40, // Deposit contract @@ -78,4 +86,11 @@ export const chainConfig: ChainConfig = { DEPOSIT_NETWORK_ID: 5, // Configured on a per testnet basis DEPOSIT_CONTRACT_ADDRESS: b("0x1234567890123456789012345678901234567890"), + + // Networking + // --------------------------------------------------------------- + + // Deneb + // `2**12` (= 4096 epochs, ~18 days) + MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096, }; diff --git a/packages/config/src/chainConfig/default.ts b/packages/config/src/chainConfig/default.ts index 368f2afd067d..d778c9b82447 100644 --- a/packages/config/src/chainConfig/default.ts +++ b/packages/config/src/chainConfig/default.ts @@ -1,7 +1,7 @@ import {ACTIVE_PRESET, PresetName} from "@lodestar/params"; import {ChainConfig} from "./types.js"; -import {chainConfig as mainnet} from "./presets/mainnet.js"; -import {chainConfig as minimal} from "./presets/minimal.js"; +import {chainConfig as mainnet} from "./configs/mainnet.js"; +import {chainConfig as minimal} from "./configs/minimal.js"; let defaultChainConfig: ChainConfig; diff --git a/packages/config/src/chainConfig/networks/chiado.ts b/packages/config/src/chainConfig/networks/chiado.ts index 0b7af5eaefec..01739cf1d4eb 100644 --- a/packages/config/src/chainConfig/networks/chiado.ts +++ b/packages/config/src/chainConfig/networks/chiado.ts @@ -3,6 +3,9 @@ import {fromHexString as b} from "@chainsafe/ssz"; import {ChainConfig} from "../types.js"; import {gnosisChainConfig as gnosis} from "./gnosis.js"; +// Chiado beacon chain config: +// https://github.com/gnosischain/configs/blob/main/chiado/config.yaml + export const chiadoChainConfig: ChainConfig = { ...gnosis, diff --git a/packages/config/src/chainConfig/networks/ephemery.ts b/packages/config/src/chainConfig/networks/ephemery.ts index 5557767550bb..29e3f7b92d01 100644 --- a/packages/config/src/chainConfig/networks/ephemery.ts +++ b/packages/config/src/chainConfig/networks/ephemery.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ import {fromHexString as b} from "@chainsafe/ssz"; import {ChainConfig} from "../types.js"; -import {chainConfig as mainnet} from "../presets/mainnet.js"; +import {chainConfig as mainnet} from "../configs/mainnet.js"; // Ephemery dynamic beacon chain config: // https://github.com/ephemery-testnet/ephemery-genesis/blob/master/cl-config.yaml diff --git a/packages/config/src/chainConfig/networks/gnosis.ts b/packages/config/src/chainConfig/networks/gnosis.ts index 22c038ba747a..6f3ccfed39e6 100644 --- a/packages/config/src/chainConfig/networks/gnosis.ts +++ b/packages/config/src/chainConfig/networks/gnosis.ts @@ -2,7 +2,10 @@ import {fromHexString as b} from "@chainsafe/ssz"; import {PresetName} from "@lodestar/params"; import {ChainConfig} from "../types.js"; -import {chainConfig as mainnet} from "../presets/mainnet.js"; +import {chainConfig as mainnet} from "../configs/mainnet.js"; + +// Gnosis beacon chain config: +// https://github.com/gnosischain/configs/blob/main/mainnet/config.yaml export const gnosisChainConfig: ChainConfig = { ...mainnet, diff --git a/packages/config/src/chainConfig/networks/goerli.ts b/packages/config/src/chainConfig/networks/goerli.ts index f1fc0ab2418c..b90f79f4e272 100644 --- a/packages/config/src/chainConfig/networks/goerli.ts +++ b/packages/config/src/chainConfig/networks/goerli.ts @@ -1,7 +1,10 @@ /* eslint-disable @typescript-eslint/naming-convention */ import {fromHexString as b} from "@chainsafe/ssz"; import {ChainConfig} from "../types.js"; -import {chainConfig as mainnet} from "../presets/mainnet.js"; +import {chainConfig as mainnet} from "../configs/mainnet.js"; + +// Goerli beacon chain config: +// https://github.com/eth-clients/goerli/blob/main/prater/config.yaml export const goerliChainConfig: ChainConfig = { ...mainnet, diff --git a/packages/config/src/chainConfig/networks/holesky.ts b/packages/config/src/chainConfig/networks/holesky.ts index e255369ccbaa..3115caf1ab76 100644 --- a/packages/config/src/chainConfig/networks/holesky.ts +++ b/packages/config/src/chainConfig/networks/holesky.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ import {fromHexString as b} from "@chainsafe/ssz"; import {ChainConfig} from "../types.js"; -import {chainConfig as mainnet} from "../presets/mainnet.js"; +import {chainConfig as mainnet} from "../configs/mainnet.js"; // Holesky beacon chain config: // https://github.com/eth-clients/holesky/blob/main/custom_config_data/config.yaml diff --git a/packages/config/src/chainConfig/networks/mainnet.ts b/packages/config/src/chainConfig/networks/mainnet.ts index 1ae9858523e2..24584ad8442b 100644 --- a/packages/config/src/chainConfig/networks/mainnet.ts +++ b/packages/config/src/chainConfig/networks/mainnet.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ import {fromHexString as b} from "@chainsafe/ssz"; import {ChainConfig} from "../types.js"; -import {chainConfig as mainnet} from "../presets/mainnet.js"; +import {chainConfig as mainnet} from "../configs/mainnet.js"; export const mainnetChainConfig: ChainConfig = { ...mainnet, diff --git a/packages/config/src/chainConfig/networks/ropsten.ts b/packages/config/src/chainConfig/networks/ropsten.ts index a94419c9140b..6bb7811ccba3 100644 --- a/packages/config/src/chainConfig/networks/ropsten.ts +++ b/packages/config/src/chainConfig/networks/ropsten.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ import {fromHexString as b} from "@chainsafe/ssz"; import {ChainConfig} from "../types.js"; -import {chainConfig as mainnet} from "../presets/mainnet.js"; +import {chainConfig as mainnet} from "../configs/mainnet.js"; // Ropsten beacon chain config: // https://github.com/eth-clients/merge-testnets/blob/main/ropsten-beacon-chain/config.yaml diff --git a/packages/config/src/chainConfig/networks/sepolia.ts b/packages/config/src/chainConfig/networks/sepolia.ts index c81fda37b4c6..a3598299e294 100644 --- a/packages/config/src/chainConfig/networks/sepolia.ts +++ b/packages/config/src/chainConfig/networks/sepolia.ts @@ -1,10 +1,10 @@ /* eslint-disable @typescript-eslint/naming-convention */ import {fromHexString as b} from "@chainsafe/ssz"; import {ChainConfig} from "../types.js"; -import {chainConfig as mainnet} from "../presets/mainnet.js"; +import {chainConfig as mainnet} from "../configs/mainnet.js"; // Sepolia beacon chain config: -// https://github.com/eth-clients/merge-testnets/blob/main/sepolia-beacon-chain/config.yaml +// https://github.com/eth-clients/sepolia/blob/main/bepolia/config.yaml export const sepoliaChainConfig: ChainConfig = { ...mainnet, diff --git a/packages/config/src/chainConfig/types.ts b/packages/config/src/chainConfig/types.ts index 4818ef9ee0aa..20e8119332f3 100644 --- a/packages/config/src/chainConfig/types.ts +++ b/packages/config/src/chainConfig/types.ts @@ -56,13 +56,16 @@ export type ChainConfig = { MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: number; CHURN_LIMIT_QUOTIENT: number; - // Proposer boost + // Fork choice PROPOSER_SCORE_BOOST: number; // Deposit contract DEPOSIT_CHAIN_ID: number; DEPOSIT_NETWORK_ID: number; DEPOSIT_CONTRACT_ADDRESS: Uint8Array; + + // Networking + MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: number; }; export const chainConfigTypes: SpecTypes = { @@ -109,13 +112,16 @@ export const chainConfigTypes: SpecTypes = { MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: "number", CHURN_LIMIT_QUOTIENT: "number", - // Proposer boost + // Fork choice PROPOSER_SCORE_BOOST: "number", // Deposit contract DEPOSIT_CHAIN_ID: "number", DEPOSIT_NETWORK_ID: "number", DEPOSIT_CONTRACT_ADDRESS: "bytes", + + // Networking + MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: "number", }; /** Allows values in a Spec file */ diff --git a/packages/config/src/configs.ts b/packages/config/src/configs.ts new file mode 100644 index 000000000000..9aded2b5190b --- /dev/null +++ b/packages/config/src/configs.ts @@ -0,0 +1,4 @@ +import {chainConfig as mainnetChainConfig} from "./chainConfig/configs/mainnet.js"; +import {chainConfig as minimalChainConfig} from "./chainConfig/configs/minimal.js"; + +export {mainnetChainConfig, minimalChainConfig}; diff --git a/packages/config/src/presets.ts b/packages/config/src/presets.ts deleted file mode 100644 index 542c01ece33d..000000000000 --- a/packages/config/src/presets.ts +++ /dev/null @@ -1,4 +0,0 @@ -import {chainConfig as mainnetChainConfig} from "./chainConfig/presets/mainnet.js"; -import {chainConfig as minimalChainConfig} from "./chainConfig/presets/minimal.js"; - -export {mainnetChainConfig, minimalChainConfig}; diff --git a/packages/params/src/index.ts b/packages/params/src/index.ts index e0623537d7f0..d111d090b8c3 100644 --- a/packages/params/src/index.ts +++ b/packages/params/src/index.ts @@ -179,7 +179,6 @@ export const SYNC_COMMITTEE_SUBNET_SIZE = Math.floor(SYNC_COMMITTEE_SIZE / SYNC_ export const MAX_REQUEST_BLOCKS = 2 ** 10; // 1024 export const MAX_REQUEST_BLOCKS_DENEB = 2 ** 7; // 128 export const MAX_REQUEST_BLOB_SIDECARS = MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK; -export const MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS = 2 ** 12; // 4096 epochs, ~18 days // Lightclient pre-computed /** diff --git a/packages/params/src/presets/gnosis.ts b/packages/params/src/presets/gnosis.ts index 2356e7d3d69e..412c38a6eb82 100644 --- a/packages/params/src/presets/gnosis.ts +++ b/packages/params/src/presets/gnosis.ts @@ -1,6 +1,9 @@ import {BeaconPreset} from "../types.js"; import {mainnetPreset} from "./mainnet.js"; +// Gnosis preset +// https://github.com/gnosischain/specs/tree/master/consensus/preset/gnosis + /* eslint-disable @typescript-eslint/naming-convention */ export const gnosisPreset: BeaconPreset = { ...mainnetPreset, diff --git a/packages/params/src/presets/mainnet.ts b/packages/params/src/presets/mainnet.ts index 9b591103edf5..42a705a07f03 100644 --- a/packages/params/src/presets/mainnet.ts +++ b/packages/params/src/presets/mainnet.ts @@ -1,5 +1,8 @@ import {BeaconPreset} from "../types.js"; +// Mainnet preset +// https://github.com/ethereum/consensus-specs/tree/dev/presets/mainnet + /* eslint-disable @typescript-eslint/naming-convention */ export const mainnetPreset: BeaconPreset = { // Misc @@ -111,7 +114,6 @@ export const mainnetPreset: BeaconPreset = { // DENEB /////////// - // https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/eip4844.yaml FIELD_ELEMENTS_PER_BLOB: 4096, MAX_BLOB_COMMITMENTS_PER_BLOCK: 4096, MAX_BLOBS_PER_BLOCK: 6, diff --git a/packages/params/src/presets/minimal.ts b/packages/params/src/presets/minimal.ts index ad86cbf89e61..b940841a0429 100644 --- a/packages/params/src/presets/minimal.ts +++ b/packages/params/src/presets/minimal.ts @@ -1,5 +1,8 @@ import {BeaconPreset} from "../types.js"; +// Minimal preset +// https://github.com/ethereum/consensus-specs/tree/dev/presets/minimal + /* eslint-disable @typescript-eslint/naming-convention */ export const minimalPreset: BeaconPreset = { // Misc @@ -42,12 +45,6 @@ export const minimalPreset: BeaconPreset = { EPOCHS_PER_ETH1_VOTING_PERIOD: 4, // [customized] smaller state SLOTS_PER_HISTORICAL_ROOT: 64, - /* - // 2**8 (= 256) epochs - MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256, - // [customized] higher frequency of committee turnover and faster time to acceptable voluntary exit - SHARD_COMMITTEE_PERIOD: 64, - */ // 2**2 (= 4) epochs MIN_EPOCHS_TO_INACTIVITY_PENALTY: 4, @@ -118,7 +115,6 @@ export const minimalPreset: BeaconPreset = { // DENEB /////////// - // https://github.com/ethereum/consensus-specs/blob/dev/presets/minimal/eip4844.yaml FIELD_ELEMENTS_PER_BLOB: 4096, MAX_BLOB_COMMITMENTS_PER_BLOCK: 16, MAX_BLOBS_PER_BLOCK: 6, diff --git a/packages/validator/src/util/params.ts b/packages/validator/src/util/params.ts index 1431f4f3c56e..006ae3fadbbb 100644 --- a/packages/validator/src/util/params.ts +++ b/packages/validator/src/util/params.ts @@ -121,7 +121,7 @@ function getSpecCriticalParams(localConfig: ChainConfig): Record