Merge pull request #2235 from ethereum/fix-altair-text

Altair in description and titles
This commit is contained in:
Danny Ryan 2021-03-15 07:41:01 -06:00 committed by GitHub
commit 0bddc2a617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Ethereum 2.0 Altair # Ethereum 2.0 Altair Beacon chain changes
## Table of contents ## Table of contents

View File

@ -1,4 +1,4 @@
# Ethereum 2.0 Light Client Support -- From Phase 0 to Light Client Patch # Ethereum 2.0 Altair fork
**Notice**: This document is a work-in-progress for researchers and implementers. **Notice**: This document is a work-in-progress for researchers and implementers.
@ -17,7 +17,7 @@
## Introduction ## Introduction
This document describes the process of moving from Phase 0 to Phase 1 of Ethereum 2.0. This document describes the process of the first upgrade of Ethereum 2.0: the Altair hard fork, introducing light client support and other improvements.
## Configuration ## Configuration
@ -36,7 +36,7 @@ TBD. Social consensus, along with state conditions such as epoch boundary, final
### Upgrading the state ### Upgrading the state
After `process_slots` of Phase 0 finishes, if `state.slot == ALTAIR_FORK_SLOT`, an irregular state change is made to upgrade to light-client patch. After `process_slots` of Phase 0 finishes, if `state.slot == ALTAIR_FORK_SLOT`, an irregular state change is made to upgrade to Altair.
```python ```python
def upgrade_to_altair(pre: phase0.BeaconState) -> BeaconState: def upgrade_to_altair(pre: phase0.BeaconState) -> BeaconState: