diff --git a/README.md b/README.md index f507019fd..36c8ad510 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ The current features are: * [Beacon chain changes](specs/altair/beacon-chain.md) * [Altair fork](specs/altair/fork.md) * [Light client sync protocol](specs/altair/sync-protocol.md) +* [Honest Validator guide changes](specs/altair/validator.md) ### Merge @@ -83,14 +84,12 @@ The following are the broad design goals for Ethereum 2.0: * to utilize crypto and design techniques that allow for a large participation of validators in total and per unit time * to allow for a typical consumer laptop with `O(C)` resources to process/validate `O(1)` shards (including any system level validation such as the beacon chain) - ## Useful external resources * [Design Rationale](https://notes.ethereum.org/s/rkhCgQteN#) * [Phase 0 Onboarding Document](https://notes.ethereum.org/s/Bkn3zpwxB) * [Combining GHOST and Casper paper](https://arxiv.org/abs/2003.03052) - ## For spec contributors Documentation on the different components used during spec writing can be found here: diff --git a/configs/README.md b/configs/README.md index eb7fac945..15529e590 100644 --- a/configs/README.md +++ b/configs/README.md @@ -15,10 +15,9 @@ Over time, the need to sync an older state may be deprecated. In this case, the prefix on the new constant may be removed, and the old constant will keep a special name before completely being removed. A previous iteration of forking made use of "timelines", but this collides with the definitions used in the spec (constants for special forking slots, etc.), and was not integrated sufficiently in any of the spec tools or implementations. -Instead, the config essentially doubles as fork definition now, e.g. changing the value for `PHASE_1_FORK_SLOT` changes the fork. +Instead, the config essentially doubles as fork definition now, e.g. changing the value for `ALTAIR_FORK_SLOT` changes the fork. Another reason to prefer forking through constants is the ability to program a forking moment based on context, instead of being limited to a static slot number. - ## Format @@ -32,4 +31,4 @@ Each preset is a key-value mapping. Presets may contain comments to describe the values. -See [`mainnet_phase0.yaml`](./mainnet_phase0.yaml) for a complete example. +See [`mainnet/phase0.yaml`](./mainnet/phase0.yaml) for a complete example. diff --git a/configs/mainnet/altair.yaml b/configs/mainnet/altair.yaml index 1e82d31ff..6fbd4d4c8 100644 --- a/configs/mainnet/altair.yaml +++ b/configs/mainnet/altair.yaml @@ -37,6 +37,7 @@ DOMAIN_CONTRIBUTION_AND_PROOF: 0x09000000 # Fork # --------------------------------------------------------------- +# 0x01000000 ALTAIR_FORK_VERSION: 0x01000000 # TBD ALTAIR_FORK_SLOT: 0 diff --git a/configs/mainnet/custody_game.yaml b/configs/mainnet/custody_game.yaml index ecb2dc377..8039d839b 100644 --- a/configs/mainnet/custody_game.yaml +++ b/configs/mainnet/custody_game.yaml @@ -1,5 +1,7 @@ # Mainnet preset - Custody Game +CONFIG_NAME: "mainnet" + # Time parameters # --------------------------------------------------------------- # 2**1 (= 2) epochs, 12.8 minutes diff --git a/configs/mainnet/merge.yaml b/configs/mainnet/merge.yaml index b4667f5b5..582e7d642 100644 --- a/configs/mainnet/merge.yaml +++ b/configs/mainnet/merge.yaml @@ -1,5 +1,7 @@ # Mainnet preset - The Merge +CONFIG_NAME: "mainnet" + # Fork # --------------------------------------------------------------- MERGE_FORK_VERSION: 0x02000000 diff --git a/configs/mainnet/sharding.yaml b/configs/mainnet/sharding.yaml index ab2c3f6f4..d44c7f550 100644 --- a/configs/mainnet/sharding.yaml +++ b/configs/mainnet/sharding.yaml @@ -1,5 +1,7 @@ # Mainnet preset - Sharding +CONFIG_NAME: "mainnet" + # Fork # --------------------------------------------------------------- SHARDING_FORK_VERSION: 0x03000000 diff --git a/configs/minimal/altair.yaml b/configs/minimal/altair.yaml index 26333fc72..9aab21a2e 100644 --- a/configs/minimal/altair.yaml +++ b/configs/minimal/altair.yaml @@ -37,7 +37,7 @@ DOMAIN_CONTRIBUTION_AND_PROOF: 0x09000000 # Fork # --------------------------------------------------------------- -# Highest byte set to 0x01 to avoid collisions with mainnet versioning +# [customized] Highest byte set to 0x01 to avoid collisions with mainnet versioning ALTAIR_FORK_VERSION: 0x01000001 # [customized] ALTAIR_FORK_SLOT: 0 diff --git a/configs/minimal/custody_game.yaml b/configs/minimal/custody_game.yaml index 8b8992fb6..1d9393e80 100644 --- a/configs/minimal/custody_game.yaml +++ b/configs/minimal/custody_game.yaml @@ -1,5 +1,7 @@ # Minimal preset - Custody Game +CONFIG_NAME: "minimal" + # Time parameters # --------------------------------------------------------------- # 2**1 (= 2) epochs, 12.8 minutes diff --git a/configs/minimal/merge.yaml b/configs/minimal/merge.yaml index 394595d02..e2857917f 100644 --- a/configs/minimal/merge.yaml +++ b/configs/minimal/merge.yaml @@ -1,5 +1,7 @@ # Minimal preset - The Merge +CONFIG_NAME: "minimal" + # Fork # --------------------------------------------------------------- MERGE_FORK_VERSION: 0x02000001 diff --git a/configs/minimal/sharding.yaml b/configs/minimal/sharding.yaml index f3d70111c..07b40181b 100644 --- a/configs/minimal/sharding.yaml +++ b/configs/minimal/sharding.yaml @@ -1,5 +1,7 @@ # Minimal preset - Sharding +CONFIG_NAME: "minimal" + # Fork # --------------------------------------------------------------- SHARDING_FORK_VERSION: 0x03000001