From 366df1a1959bf56ff6e4e9dd6a95ddf12202bb5f Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Wed, 15 Feb 2023 14:13:38 +0100 Subject: [PATCH] Update EIP-4844: Sync `MAX_VERSIONED_HASHES_LIST_SIZE` to 2**12 Align `MAX_VERSIONED_HASHES_LIST_SIZE` with `LIMIT_BLOBS_PER_TX` and `MAX_TX_WRAP_KZG_COMMITMENTS` changes from #6500. ```python assert len(versioned_hashes) == len(commitments) == len(blobs) ``` --- EIPS/eip-4844.md | 2 +- EIPS/eip-6404.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EIPS/eip-4844.md b/EIPS/eip-4844.md index b33e063530f0a1..d67e425646c1b7 100644 --- a/EIPS/eip-4844.md +++ b/EIPS/eip-4844.md @@ -49,7 +49,7 @@ Compared to full data sharding, this EIP has a reduced cap on the number of thes | `TARGET_DATA_GAS_PER_BLOCK` | `2**18` | | `MIN_DATA_GASPRICE` | `1` | | `DATA_GASPRICE_UPDATE_FRACTION` | `2225652` | -| `MAX_VERSIONED_HASHES_LIST_SIZE` | `2**24` | +| `MAX_VERSIONED_HASHES_LIST_SIZE` | `2**12` | | `MAX_CALLDATA_SIZE` | `2**24` | | `MAX_ACCESS_LIST_SIZE` | `2**24` | | `MAX_ACCESS_LIST_STORAGE_KEYS` | `2**24` | diff --git a/EIPS/eip-6404.md b/EIPS/eip-6404.md index 91efe87d90ccd3..105c2b2aab572a 100644 --- a/EIPS/eip-6404.md +++ b/EIPS/eip-6404.md @@ -70,7 +70,7 @@ The existing [consensus `Transaction`](https://github.com/ethereum/consensus-spe | Name | Value | Notes | | - | - | - | -| [`MAX_VERSIONED_HASHES_LIST_SIZE`](./eip-4844.md#parameters) | `uint64(2**24)` (= 16,777,216) | Same as in [`BlobTransaction`](./eip-4844.md#new-transaction-type) | +| [`MAX_VERSIONED_HASHES_LIST_SIZE`](./eip-4844.md#parameters) | `uint64(2**12)` (= 4,096) | Same as in [`BlobTransaction`](./eip-4844.md#new-transaction-type) | | `MAX_TRANSACTION_SIGNATURE_SIZE` | `uint64(2**18)` (= 262,144) | Future-proof for post-quantum signatures (~ 50 KB) | ```python