mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-03 06:13:31 +00:00
Fix p2p to use eip7732 (#14)
This commit is contained in:
parent
a5d216189d
commit
614284c32a
@ -1,4 +1,4 @@
|
|||||||
# ePBS -- Honest Builder
|
# EIP-7732 -- Honest Builder
|
||||||
|
|
||||||
This is an accompanying document which describes the expected actions of a "builder" participating in the Ethereum proof-of-stake protocol.
|
This is an accompanying document which describes the expected actions of a "builder" participating in the Ethereum proof-of-stake protocol.
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ This is an accompanying document which describes the expected actions of a "buil
|
|||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
With the ePBS Fork, the protocol includes new staked participants of the protocol called *Builders*. While Builders are a subset of the validator set, they have extra attributions that are optional. Validators may opt to not be builders and as such we collect the set of guidelines for those validators that want to act as builders in this document.
|
With the EIP-7732 Fork, the protocol includes new staked participants of the protocol called *Builders*. While Builders are a subset of the validator set, they have extra attributions that are optional. Validators may opt to not be builders and as such we collect the set of guidelines for those validators that want to act as builders in this document.
|
||||||
|
|
||||||
## Builders attributions
|
## Builders attributions
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# ePBS -- Fork Choice
|
# EIP-7732 -- Fork Choice
|
||||||
|
|
||||||
## Table of contents
|
## Table of contents
|
||||||
<!-- TOC -->
|
<!-- TOC -->
|
||||||
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This is the modification of the fork choice accompanying the ePBS upgrade.
|
This is the modification of the fork choice accompanying the EIP-7732 upgrade.
|
||||||
|
|
||||||
## Constants
|
## Constants
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# ePBS -- Fork Logic
|
# EIP-7732 -- Fork Logic
|
||||||
|
|
||||||
**Notice**: This document is a work-in-progress for researchers and implementers.
|
**Notice**: This document is a work-in-progress for researchers and implementers.
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ For now, we assume the condition will be triggered at epoch `EIP7732_FORK_EPOCH`
|
|||||||
### Upgrading the state
|
### Upgrading the state
|
||||||
|
|
||||||
If `state.slot % SLOTS_PER_EPOCH == 0` and `compute_epoch_at_slot(state.slot) == EIP7732_FORK_EPOCH`,
|
If `state.slot % SLOTS_PER_EPOCH == 0` and `compute_epoch_at_slot(state.slot) == EIP7732_FORK_EPOCH`,
|
||||||
an irregular state change is made to upgrade to ePBS.
|
an irregular state change is made to upgrade to EIP-7732.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def upgrade_to_eip7732(pre: electra.BeaconState) -> BeaconState:
|
def upgrade_to_eip7732(pre: electra.BeaconState) -> BeaconState:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ePBS -- Networking
|
# EIP-7732 -- Networking
|
||||||
|
|
||||||
This document contains the consensus-layer networking specification for ePBS.
|
This document contains the consensus-layer networking specification for EIP7732.
|
||||||
|
|
||||||
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||||
@ -184,7 +184,7 @@ The following validations MUST pass before forwarding the `signed_execution_payl
|
|||||||
| `BELLATRIX_FORK_VERSION` | `bellatrix.SignedBeaconBlock` |
|
| `BELLATRIX_FORK_VERSION` | `bellatrix.SignedBeaconBlock` |
|
||||||
| `CAPELLA_FORK_VERSION` | `capella.SignedBeaconBlock` |
|
| `CAPELLA_FORK_VERSION` | `capella.SignedBeaconBlock` |
|
||||||
| `DENEB_FORK_VERSION` | `deneb.SignedBeaconBlock` |
|
| `DENEB_FORK_VERSION` | `deneb.SignedBeaconBlock` |
|
||||||
| `EIP7732_FORK_VERSION` | `epbs.SignedBeaconBlock` |
|
| `EIP7732_FORK_VERSION` | `eip7732.SignedBeaconBlock` |
|
||||||
|
|
||||||
##### BeaconBlocksByRoot v3
|
##### BeaconBlocksByRoot v3
|
||||||
|
|
||||||
@ -201,7 +201,7 @@ Per `context = compute_fork_digest(fork_version, genesis_validators_root)`:
|
|||||||
| `BELLATRIX_FORK_VERSION` | `bellatrix.SignedBeaconBlock` |
|
| `BELLATRIX_FORK_VERSION` | `bellatrix.SignedBeaconBlock` |
|
||||||
| `CAPELLA_FORK_VERSION` | `capella.SignedBeaconBlock` |
|
| `CAPELLA_FORK_VERSION` | `capella.SignedBeaconBlock` |
|
||||||
| `DENEB_FORK_VERSION` | `deneb.SignedBeaconBlock` |
|
| `DENEB_FORK_VERSION` | `deneb.SignedBeaconBlock` |
|
||||||
| `EIP7732_FORK_VERSION` | `epbs.SignedBeaconBlock` |
|
| `EIP7732_FORK_VERSION` | `eip7732.SignedBeaconBlock` |
|
||||||
|
|
||||||
|
|
||||||
##### BlobSidecarsByRoot v2
|
##### BlobSidecarsByRoot v2
|
||||||
@ -213,7 +213,7 @@ Per `context = compute_fork_digest(fork_version, genesis_validators_root)`:
|
|||||||
| `fork_version` | Chunk SSZ type |
|
| `fork_version` | Chunk SSZ type |
|
||||||
|--------------------------|-------------------------------|
|
|--------------------------|-------------------------------|
|
||||||
| `DENEB_FORK_VERSION` | `deneb.BlobSidecar` |
|
| `DENEB_FORK_VERSION` | `deneb.BlobSidecar` |
|
||||||
| `EIP7732_FORK_VERSION` | `epbs.BlobSidecar` |
|
| `EIP7732_FORK_VERSION` | `eip7732.BlobSidecar` |
|
||||||
|
|
||||||
|
|
||||||
##### ExecutionPayloadEnvelopeByRoot v1
|
##### ExecutionPayloadEnvelopeByRoot v1
|
||||||
@ -226,7 +226,7 @@ The `<context-bytes>` field is calculated as `context = compute_fork_digest(fork
|
|||||||
|
|
||||||
| `fork_version` | Chunk SSZ type |
|
| `fork_version` | Chunk SSZ type |
|
||||||
|---------------------|---------------------------------------|
|
|---------------------|---------------------------------------|
|
||||||
| `EIP7732_FORK_VERSION` | `epbs.SignedExecutionPayloadEnvelope` |
|
| `EIP7732_FORK_VERSION` | `eip7732.SignedExecutionPayloadEnvelope` |
|
||||||
|
|
||||||
Request Content:
|
Request Content:
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ePBS -- Honest Validator
|
# EIP-7732 -- Honest Validator
|
||||||
|
|
||||||
This document represents the changes and additions to the Honest validator guide included in the ePBS fork.
|
This document represents the changes and additions to the Honest validator guide included in the EIP-7732 fork.
|
||||||
|
|
||||||
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user