Skip to content

Commit bfbef99

Browse files
authored
Fix merge conflict mistake (#5092)
1 parent 7fefa43 commit bfbef99

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

specs/gloas/p2p-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ The response MUST consist of zero or more `response_chunk`. Each successful
662662
`response_chunk` MUST contain a single `SignedExecutionPayloadEnvelope` payload.
663663

664664
Clients MUST support requesting payload envelopes on the epoch range
665-
`[max(GLOAS_FORK_EPOCH, current_epoch - MIN_EPOCHS_FOR_BLOCK_REQUESTS), current_epoch]`.
665+
`[max(GLOAS_FORK_EPOCH, current_epoch - compute_min_epochs_for_block_requests()), current_epoch]`.
666666
If any root in the request content references a block earlier than this range,
667667
peers MAY respond with error code `3: ResourceUnavailable` or not include the
668668
payload envelope in the response.

specs/phase0/p2p-interface.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ The response MUST consist of zero or more `response_chunk`. Each _successful_
15081508
`response_chunk` MUST contain a single `SignedBeaconBlock` payload.
15091509

15101510
Clients MUST support requesting blocks on the epoch range
1511-
`[max(GENESIS_EPOCH, current_epoch - MIN_EPOCHS_FOR_BLOCK_REQUESTS), current_epoch]`.
1511+
`[max(GENESIS_EPOCH, current_epoch - compute_min_epochs_for_block_requests()), current_epoch]`.
15121512
If any root in the request content references a block earlier than this range,
15131513
peers MAY respond with error code `3: ResourceUnavailable` or not include the
15141514
block in the response.
@@ -2365,22 +2365,6 @@ from `compute_weak_subjectivity_period` found in the
23652365
epoch range, we use the worst case event of a very large validator size
23662366
(`>= MIN_PER_EPOCH_CHURN_LIMIT * CHURN_LIMIT_QUOTIENT`).
23672367

2368-
\<<\<<\<<< HEAD
2369-
2370-
<!-- eth_consensus_specs: skip -->
2371-
2372-
```python
2373-
MIN_EPOCHS_FOR_BLOCK_REQUESTS = (
2374-
MIN_VALIDATOR_WITHDRAWABILITY_DELAY + MAX_SAFETY_DECAY * CHURN_LIMIT_QUOTIENT // (2 * 100)
2375-
)
2376-
```
2377-
2378-
Where `MAX_SAFETY_DECAY = 100` and thus `MIN_EPOCHS_FOR_BLOCK_REQUESTS = 33024`.
2379-
2380-
\=======
2381-
2382-
> > > > > > > d4d19294d (Add compute_min_epochs_for_block_requests() helper)
2383-
23842368
#### Why must the proposer signature be checked when backfilling blocks in the database?
23852369

23862370
When backfilling blocks in a database from a know safe block/state (e.g. when

0 commit comments

Comments
 (0)