From b018fbc46a37c23ff57b27d0a9678cbf0082561a Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Sun, 29 Oct 2023 03:39:24 +0800 Subject: [PATCH] Remove `BLOB_KZG_COMMITMENTS_GINDEX` from the preset files --- presets/mainnet/deneb.yaml | 2 -- presets/minimal/deneb.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/presets/mainnet/deneb.yaml b/presets/mainnet/deneb.yaml index 2a1e02e1c..6d2fb4abd 100644 --- a/presets/mainnet/deneb.yaml +++ b/presets/mainnet/deneb.yaml @@ -8,7 +8,5 @@ FIELD_ELEMENTS_PER_BLOB: 4096 MAX_BLOB_COMMITMENTS_PER_BLOCK: 4096 # `uint64(6)` MAX_BLOBS_PER_BLOCK: 6 -# `get_generalized_index(BeaconBlockBody, 'blob_kzg_commitments')` = 27 -BLOB_KZG_COMMITMENTS_GINDEX: 27 # `floorlog2(BLOB_KZG_COMMITMENTS_GINDEX) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 12 = 17 KZG_COMMITMENT_INCLUSION_PROOF_DEPTH: 17 diff --git a/presets/minimal/deneb.yaml b/presets/minimal/deneb.yaml index 19c22cf94..340e8d8d5 100644 --- a/presets/minimal/deneb.yaml +++ b/presets/minimal/deneb.yaml @@ -8,7 +8,5 @@ FIELD_ELEMENTS_PER_BLOB: 4096 MAX_BLOB_COMMITMENTS_PER_BLOCK: 16 # `uint64(6)` MAX_BLOBS_PER_BLOCK: 6 -# `get_generalized_index(BeaconBlockBody, 'blob_kzg_commitments')` = 27 -BLOB_KZG_COMMITMENTS_GINDEX: 27 # [customized] `floorlog2(BLOB_KZG_COMMITMENTS_GINDEX) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 4 = 9 KZG_COMMITMENT_INCLUSION_PROOF_DEPTH: 9