Skip to content

Commit

Permalink
doctoc
Browse files Browse the repository at this point in the history
  • Loading branch information
potuz committed Apr 2, 2024
1 parent cc95ad5 commit 58c2fad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 57 deletions.
65 changes: 8 additions & 57 deletions specs/_features/epbs/beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,26 @@

- [Introduction](#introduction)
- [Constants](#constants)
- [Withdrawal prefixes](#withdrawal-prefixes)
- [Slashing flags](#slashing-flags)
- [Configuration](#configuration)
- [Time parameters](#time-parameters)
- [Payload status](#payload-status)
- [Preset](#preset)
- [Misc](#misc)
- [Domain types](#domain-types)
- [Gwei values](#gwei-values)
- [Time parameters](#time-parameters-1)
- [State list lenghts](#state-list-lenghts)
- [Rewards and penalties](#rewards-and-penalties)
- [Time parameters](#time-parameters)
- [Max operations per block](#max-operations-per-block)
- [Incentivization weights](#incentivization-weights)
- [Execution](#execution)
- [Containers](#containers)
- [New containers](#new-containers)
- [`PendingBalanceDeposit`](#pendingbalancedeposit)
- [`PartialWithdrawal`](#partialwithdrawal)
- [`ExecutionLayerWithdrawRequest`](#executionlayerwithdrawrequest)
- [`PayloadAttestationData`](#payloadattestationdata)
- [`PayloadAttestation`](#payloadattestation)
- [`PayloadAttestationMessage`](#payloadattestationmessage)
- [`IndexedPayloadAttestation`](#indexedpayloadattestation)
- [`ExecutionPayloadHeaderEnvelope`](#executionpayloadheaderenvelope)
- [`SignedExecutionPayloadHeaderEnvelope`](#signedexecutionpayloadheaderenvelope)
- [`SignedExecutionPayloadHeader`](#signedexecutionpayloadheader)
- [`ExecutionPayloadEnvelope`](#executionpayloadenvelope)
- [`SignedExecutionPayloadEnvelope`](#signedexecutionpayloadenvelope)
- [`InclusionListSummaryEntry`](#inclusionlistsummaryentry)
- [`InclusionListSummary`](#inclusionlistsummary)
- [`SignedInclusionListSummary`](#signedinclusionlistsummary)
- [`InclusionList`](#inclusionlist)
- [Modified containers](#modified-containers)
- [`Validator`](#validator)
- [`BeaconBlockBody`](#beaconblockbody)
- [`ExecutionPayload`](#executionpayload)
- [`ExecutionPayloadHeader`](#executionpayloadheader)
Expand All @@ -49,57 +36,21 @@
- [Math](#math)
- [`bit_floor`](#bit_floor)
- [Predicates](#predicates)
- [`is_builder`](#is_builder)
- [`is_eligible_for_activation_queue`](#is_eligible_for_activation_queue)
- [`is_slashed_proposer`](#is_slashed_proposer)
- [`is_slashed_attester`](#is_slashed_attester)
- [Modified `is_slashable_validator`](#modified-is_slashable_validator)
- [Modified `is_fully_withdrawable_validator`](#modified-is_fully_withdrawable_validator)
- [`is_partially_withdrawable_validator`](#is_partially_withdrawable_validator)
- [`is_valid_indexed_payload_attestation`](#is_valid_indexed_payload_attestation)
- [`is_parent_block_full`](#is_parent_block_full)
- [Beacon State accessors](#beacon-state-accessors)
- [Modified `get_eligible_validator_indices`](#modified-get_eligible_validator_indices)
- [`get_ptc`](#get_ptc)
- [`get_payload_attesting_indices`](#get_payload_attesting_indices)
- [`get_indexed_payload_attestation`](#get_indexed_payload_attestation)
- [`get_validator_excess_balance`](#get_validator_excess_balance)
- [Modified `get_validator_churn_limit`](#modified-get_validator_churn_limit)
- [Modified `get_expected_withdrawals`](#modified-get_expected_withdrawals)
- [Beacon state mutators](#beacon-state-mutators)
- [`compute_exit_epoch_and_update_churn`](#compute_exit_epoch_and_update_churn)
- [Modified `initiate_validator_exit`](#modified-initiate_validator_exit)
- [Modified `slash_validator`](#modified-slash_validator)
- [Genesis](#genesis)
- [Modified `initialize_beacon_statre_from_eth1`](#modified--initialize_beacon_statre_from_eth1)
- [Beacon chain state transition function](#beacon-chain-state-transition-function)
- [Epoch processing](#epoch-processing)
- [Modified `process_epoch`](#modified-process_epoch)
- [Helper functions](#helper-functions-1)
- [Modified `process_registry_updates`](#modified-process_registry_updates)
- [`process_pending_balance_deposits`](#process_pending_balance_deposits)
- [Modified `process_effective_balance_updates`](#modified-process_effective_balance_updates)
- [Modified `process_slashings`](#modified-process_slashings)
- [Modified `get_unslashed_attesting_indices`](#modified-get_unslashed_attesting_indices)
- [Execution engine](#execution-engine)
- [Request data](#request-data)
- [New `NewInclusionListRequest`](#new-newinclusionlistrequest)
- [Engine APIs](#engine-apis)
- [New `notify_new_inclusion_list`](#new-notify_new_inclusion_list)
- [Block processing](#block-processing)
- [Modified `process_block_header`](#modified-process_block_header)
- [Modified `process_withdrawals`](#modified-process_withdrawals)
- [New `verify_execution_payload_header_signature`](#new-verify_execution_payload_header_signature)
- [New `process_execution_payload_header`](#new-process_execution_payload_header)
- [Modified `process_operations`](#modified-process_operations)
- [Modified Proposer slashings](#modified-proposer-slashings)
- [Modified Attester slashings](#modified-attester-slashings)
- [Modified `process_attestation`](#modified-process_attestation)
- [Modified `get_validator_from_deposit`](#modified-get_validator_from_deposit)
- [Modified `apply_deposit`](#modified-apply_deposit)
- [Payload Attestations](#payload-attestations)
- [Execution Layer Withdraw Requests](#execution-layer-withdraw-requests)
- [Modified `process_withdrawals`](#modified-process_withdrawals)
- [New `verify_execution_payload_header_envelope_signature`](#new-verify_execution_payload_header_envelope_signature)
- [New `process_execution_payload_header`](#new-process_execution_payload_header)
- [New `verify_execution_payload_signature`](#new-verify_execution_payload_signature)
- [New `verify_execution_payload_envelope_signature`](#new-verify_execution_payload_envelope_signature)
- [New `verify_inclusion_list_summary_signature`](#new-verify_inclusion_list_summary_signature)
- [Modified `process_execution_payload`](#modified-process_execution_payload)

Expand Down Expand Up @@ -324,7 +275,7 @@ class ExecutionPayloadHeader(Container):
```

#### `BeaconState`
*Note*: the beacon state is modified to store a signed latest execution payload header and to track the last withdrawals honored in the CL. It is also modified to no longer store the full last execution payload header but rather only the last block hash.
*Note*: the beacon state is modified to store a signed latest execution payload header and to track the last withdrawals honored in the CL. It is also modified to no longer store the full last execution payload header but rather only the last block hash and the last slot that was full, that is in which there were both consensus and execution blocks included.

```python
class BeaconState(Container):
Expand Down
3 changes: 3 additions & 0 deletions specs/_features/epbs/fork-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
- [Modified `get_weight`](#modified-get_weight)
- [Modified `get_head`](#modified-get_head)
- [New `get_block_hash`](#new-get_block_hash)
- [Engine APIs](#engine-apis)
- [New `NewInclusionListRequest`](#new-newinclusionlistrequest)
- [New `notify_new_inclusion_list`](#new-notify_new_inclusion_list)
- [Updated fork-choice handlers](#updated-fork-choice-handlers)
- [`on_block`](#on_block)
- [New fork-choice handlers](#new-fork-choice-handlers)
Expand Down

0 comments on commit 58c2fad

Please sign in to comment.