From 614284c32a134ae6c3f744f17e0edcabef3d06e7 Mon Sep 17 00:00:00 2001 From: terence Date: Wed, 3 Jul 2024 11:11:38 -0700 Subject: [PATCH] Fix p2p to use eip7732 (#14) --- specs/_features/eip7732/builder.md | 4 ++-- specs/_features/eip7732/fork-choice.md | 4 ++-- specs/_features/eip7732/fork.md | 4 ++-- specs/_features/eip7732/p2p-interface.md | 12 ++++++------ specs/_features/eip7732/validator.md | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specs/_features/eip7732/builder.md b/specs/_features/eip7732/builder.md index 1a95baac0..82fa0df08 100644 --- a/specs/_features/eip7732/builder.md +++ b/specs/_features/eip7732/builder.md @@ -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. @@ -16,7 +16,7 @@ This is an accompanying document which describes the expected actions of a "buil ## 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 diff --git a/specs/_features/eip7732/fork-choice.md b/specs/_features/eip7732/fork-choice.md index ca7bdf051..4bf68cfbc 100644 --- a/specs/_features/eip7732/fork-choice.md +++ b/specs/_features/eip7732/fork-choice.md @@ -1,4 +1,4 @@ -# ePBS -- Fork Choice +# EIP-7732 -- Fork Choice ## Table of contents @@ -38,7 +38,7 @@ ## 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 diff --git a/specs/_features/eip7732/fork.md b/specs/_features/eip7732/fork.md index 765b032d0..942b9c30c 100644 --- a/specs/_features/eip7732/fork.md +++ b/specs/_features/eip7732/fork.md @@ -1,4 +1,4 @@ -# ePBS -- Fork Logic +# EIP-7732 -- Fork Logic **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 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 def upgrade_to_eip7732(pre: electra.BeaconState) -> BeaconState: diff --git a/specs/_features/eip7732/p2p-interface.md b/specs/_features/eip7732/p2p-interface.md index 1bb2d19e5..83a657935 100644 --- a/specs/_features/eip7732/p2p-interface.md +++ b/specs/_features/eip7732/p2p-interface.md @@ -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. @@ -184,7 +184,7 @@ The following validations MUST pass before forwarding the `signed_execution_payl | `BELLATRIX_FORK_VERSION` | `bellatrix.SignedBeaconBlock` | | `CAPELLA_FORK_VERSION` | `capella.SignedBeaconBlock` | | `DENEB_FORK_VERSION` | `deneb.SignedBeaconBlock` | -| `EIP7732_FORK_VERSION` | `epbs.SignedBeaconBlock` | +| `EIP7732_FORK_VERSION` | `eip7732.SignedBeaconBlock` | ##### BeaconBlocksByRoot v3 @@ -201,7 +201,7 @@ Per `context = compute_fork_digest(fork_version, genesis_validators_root)`: | `BELLATRIX_FORK_VERSION` | `bellatrix.SignedBeaconBlock` | | `CAPELLA_FORK_VERSION` | `capella.SignedBeaconBlock` | | `DENEB_FORK_VERSION` | `deneb.SignedBeaconBlock` | -| `EIP7732_FORK_VERSION` | `epbs.SignedBeaconBlock` | +| `EIP7732_FORK_VERSION` | `eip7732.SignedBeaconBlock` | ##### BlobSidecarsByRoot v2 @@ -213,7 +213,7 @@ Per `context = compute_fork_digest(fork_version, genesis_validators_root)`: | `fork_version` | Chunk SSZ type | |--------------------------|-------------------------------| | `DENEB_FORK_VERSION` | `deneb.BlobSidecar` | -| `EIP7732_FORK_VERSION` | `epbs.BlobSidecar` | +| `EIP7732_FORK_VERSION` | `eip7732.BlobSidecar` | ##### ExecutionPayloadEnvelopeByRoot v1 @@ -226,7 +226,7 @@ The `` field is calculated as `context = compute_fork_digest(fork | `fork_version` | Chunk SSZ type | |---------------------|---------------------------------------| -| `EIP7732_FORK_VERSION` | `epbs.SignedExecutionPayloadEnvelope` | +| `EIP7732_FORK_VERSION` | `eip7732.SignedExecutionPayloadEnvelope` | Request Content: diff --git a/specs/_features/eip7732/validator.md b/specs/_features/eip7732/validator.md index e9d30d272..4a520ba98 100644 --- a/specs/_features/eip7732/validator.md +++ b/specs/_features/eip7732/validator.md @@ -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.