Skip to content

Commit 0532952

Browse files
authored
Merge pull request #3822 from jtraglia/section-header-nits
Fix beacon-chain.md section header issues
2 parents 090d349 + 0e03d8c commit 0532952

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

specs/electra/beacon-chain.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
- [Updated `is_fully_withdrawable_validator`](#updated-is_fully_withdrawable_validator)
5050
- [Updated `is_partially_withdrawable_validator`](#updated-is_partially_withdrawable_validator)
5151
- [Misc](#misc-1)
52-
- [`get_committee_indices`](#get_committee_indices)
53-
- [`get_validator_max_effective_balance`](#get_validator_max_effective_balance)
52+
- [New `get_committee_indices`](#new-get_committee_indices)
53+
- [New `get_validator_max_effective_balance`](#new-get_validator_max_effective_balance)
5454
- [Beacon state accessors](#beacon-state-accessors)
5555
- [New `get_balance_churn_limit`](#new-get_balance_churn_limit)
5656
- [New `get_activation_exit_churn_limit`](#new-get_activation_exit_churn_limit)
@@ -60,7 +60,7 @@
6060
- [Modified `get_attesting_indices`](#modified-get_attesting_indices)
6161
- [Modified `get_next_sync_committee_indices`](#modified-get_next_sync_committee_indices)
6262
- [Beacon state mutators](#beacon-state-mutators)
63-
- [Updated `initiate_validator_exit`](#updated--initiate_validator_exit)
63+
- [Updated `initiate_validator_exit`](#updated-initiate_validator_exit)
6464
- [New `switch_to_compounding_validator`](#new-switch_to_compounding_validator)
6565
- [New `queue_excess_active_balance`](#new-queue_excess_active_balance)
6666
- [New `queue_entire_balance_and_reset_validator`](#new-queue_entire_balance_and_reset_validator)
@@ -70,7 +70,7 @@
7070
- [Beacon chain state transition function](#beacon-chain-state-transition-function)
7171
- [Epoch processing](#epoch-processing)
7272
- [Updated `process_epoch`](#updated-process_epoch)
73-
- [Updated `process_registry_updates`](#updated--process_registry_updates)
73+
- [Updated `process_registry_updates`](#updated-process_registry_updates)
7474
- [New `process_pending_balance_deposits`](#new-process_pending_balance_deposits)
7575
- [New `process_pending_consolidations`](#new-process_pending_consolidations)
7676
- [Updated `process_effective_balance_updates`](#updated-process_effective_balance_updates)
@@ -85,7 +85,7 @@
8585
- [Attestations](#attestations)
8686
- [Modified `process_attestation`](#modified-process_attestation)
8787
- [Deposits](#deposits)
88-
- [Updated `apply_deposit`](#updated--apply_deposit)
88+
- [Updated `apply_deposit`](#updated-apply_deposit)
8989
- [New `is_valid_deposit_signature`](#new-is_valid_deposit_signature)
9090
- [Modified `add_validator_to_registry`](#modified-add_validator_to_registry)
9191
- [Updated `get_validator_from_deposit`](#updated-get_validator_from_deposit)
@@ -525,14 +525,14 @@ def is_partially_withdrawable_validator(validator: Validator, balance: Gwei) ->
525525

526526
### Misc
527527

528-
#### `get_committee_indices`
528+
#### New `get_committee_indices`
529529

530530
```python
531531
def get_committee_indices(committee_bits: Bitvector) -> Sequence[CommitteeIndex]:
532532
return [CommitteeIndex(index) for index, bit in enumerate(committee_bits) if bit]
533533
```
534534

535-
#### `get_validator_max_effective_balance`
535+
#### New `get_validator_max_effective_balance`
536536

537537
```python
538538
def get_validator_max_effective_balance(validator: Validator) -> Gwei:
@@ -648,7 +648,7 @@ def get_next_sync_committee_indices(state: BeaconState) -> Sequence[ValidatorInd
648648

649649
### Beacon state mutators
650650

651-
#### Updated `initiate_validator_exit`
651+
#### Updated `initiate_validator_exit`
652652

653653
```python
654654
def initiate_validator_exit(state: BeaconState, index: ValidatorIndex) -> None:
@@ -810,7 +810,7 @@ def process_epoch(state: BeaconState) -> None:
810810
process_sync_committee_updates(state)
811811
```
812812

813-
#### Updated `process_registry_updates`
813+
#### Updated `process_registry_updates`
814814

815815
`process_registry_updates` uses the updated definition of `initiate_validator_exit`
816816
and changes how the activation epochs are computed for eligible validators.
@@ -1160,7 +1160,7 @@ def process_attestation(state: BeaconState, attestation: Attestation) -> None:
11601160

11611161
##### Deposits
11621162

1163-
###### Updated `apply_deposit`
1163+
###### Updated `apply_deposit`
11641164

11651165
*NOTE*: `process_deposit` is updated with a new definition of `apply_deposit`.
11661166

0 commit comments

Comments
 (0)