mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-03 06:13:31 +00:00
Introduce TARGET_BLOBS_PER_BLOCK_ELECTRA
This commit is contained in:
parent
2ec6a1c7f1
commit
3b8b799609
@ -162,6 +162,8 @@ MAX_PER_EPOCH_ACTIVATION_EXIT_CHURN_LIMIT: 256000000000
|
|||||||
BLOB_SIDECAR_SUBNET_COUNT_ELECTRA: 9
|
BLOB_SIDECAR_SUBNET_COUNT_ELECTRA: 9
|
||||||
# `uint64(9)`
|
# `uint64(9)`
|
||||||
MAX_BLOBS_PER_BLOCK_ELECTRA: 9
|
MAX_BLOBS_PER_BLOCK_ELECTRA: 9
|
||||||
|
# `uint64(6)`
|
||||||
|
TARGET_BLOBS_PER_BLOCK_ELECTRA: 6
|
||||||
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_ELECTRA
|
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_ELECTRA
|
||||||
MAX_REQUEST_BLOB_SIDECARS_ELECTRA: 1152
|
MAX_REQUEST_BLOB_SIDECARS_ELECTRA: 1152
|
||||||
|
|
||||||
|
@ -163,6 +163,8 @@ MAX_PER_EPOCH_ACTIVATION_EXIT_CHURN_LIMIT: 128000000000
|
|||||||
BLOB_SIDECAR_SUBNET_COUNT_ELECTRA: 9
|
BLOB_SIDECAR_SUBNET_COUNT_ELECTRA: 9
|
||||||
# `uint64(9)`
|
# `uint64(9)`
|
||||||
MAX_BLOBS_PER_BLOCK_ELECTRA: 9
|
MAX_BLOBS_PER_BLOCK_ELECTRA: 9
|
||||||
|
# `uint64(6)`
|
||||||
|
TARGET_BLOBS_PER_BLOCK_ELECTRA: 6
|
||||||
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_ELECTRA
|
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_ELECTRA
|
||||||
MAX_REQUEST_BLOB_SIDECARS_ELECTRA: 1152
|
MAX_REQUEST_BLOB_SIDECARS_ELECTRA: 1152
|
||||||
|
|
||||||
|
@ -207,6 +207,7 @@ The following values are (non-configurable) constants used throughout the specif
|
|||||||
| Name | Value | Description |
|
| Name | Value | Description |
|
||||||
| - | - | - |
|
| - | - | - |
|
||||||
| `MAX_BLOBS_PER_BLOCK_ELECTRA` | `uint64(9)` | *[New in Electra:EIP-7691]* Maximum number of blobs in a single block limited by `MAX_BLOB_COMMITMENTS_PER_BLOCK` |
|
| `MAX_BLOBS_PER_BLOCK_ELECTRA` | `uint64(9)` | *[New in Electra:EIP-7691]* Maximum number of blobs in a single block limited by `MAX_BLOB_COMMITMENTS_PER_BLOCK` |
|
||||||
|
| `TARGET_BLOBS_PER_BLOCK_ELECTRA` | `uint64(6)` | *[New in Electra:EIP-7691]* Target number of blobs in a single block limited by `MAX_BLOBS_PER_BLOCK_ELECTRA` |
|
||||||
|
|
||||||
### Validator cycle
|
### Validator cycle
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ def test_processing_pending_partial_withdrawals(spec):
|
|||||||
@spec_test
|
@spec_test
|
||||||
@single_phase
|
@single_phase
|
||||||
def test_networking(spec):
|
def test_networking(spec):
|
||||||
|
assert spec.config.TARGET_BLOBS_PER_BLOCK_ELECTRA <= spec.MAX_BLOBS_PER_BLOCK_ELECTRA
|
||||||
assert spec.config.MAX_BLOBS_PER_BLOCK_ELECTRA <= spec.MAX_BLOB_COMMITMENTS_PER_BLOCK
|
assert spec.config.MAX_BLOBS_PER_BLOCK_ELECTRA <= spec.MAX_BLOB_COMMITMENTS_PER_BLOCK
|
||||||
assert (
|
assert (
|
||||||
spec.config.MAX_REQUEST_BLOB_SIDECARS_ELECTRA ==
|
spec.config.MAX_REQUEST_BLOB_SIDECARS_ELECTRA ==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user