-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
87 changed files
with
2,564 additions
and
3,878 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Mainnet preset - The Merge | ||
|
||
CONFIG_NAME: "mainnet" | ||
|
||
# Fork | ||
# --------------------------------------------------------------- | ||
MERGE_FORK_VERSION: 0x02000000 | ||
# TBD, temporarily max uint64 value: 2**64 - 1 | ||
MERGE_FORK_SLOT: 18446744073709551615 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Mainnet preset - Sharding | ||
|
||
CONFIG_NAME: "mainnet" | ||
|
||
# Fork | ||
# --------------------------------------------------------------- | ||
SHARDING_FORK_VERSION: 0x03000000 | ||
# TBD, temporarily max uint64 value: 2**64 - 1 | ||
SHARDING_FORK_SLOT: 18446744073709551615 | ||
|
||
|
||
# Beacon-chain | ||
# --------------------------------------------------------------- | ||
# Misc | ||
# 2**10 (= 1,024) | ||
MAX_SHARDS: 1024 | ||
# 2**6 = 64 | ||
INITIAL_ACTIVE_SHARDS: 64 | ||
# 2**3 (= 8) | ||
GASPRICE_ADJUSTMENT_COEFFICIENT: 8 | ||
# 2**4 (= 16) | ||
MAX_SHARD_PROPOSER_SLASHINGS: 16 | ||
|
||
# Shard block configs | ||
# --------------------------------------------------------------- | ||
MAX_SHARD_HEADERS_PER_SHARD: 4 | ||
# 2**11 (= 2,048) | ||
MAX_SAMPLES_PER_BLOCK: 2048 | ||
# 2**10 (= 1,1024) | ||
TARGET_SAMPLES_PER_BLOCK: 1024 | ||
|
||
# Gwei values | ||
# --------------------------------------------------------------- | ||
# 2**33 (= 8,589,934,592) Gwei | ||
MAX_GASPRICE: 8589934592 | ||
# 2**3 (= 8) Gwei | ||
MIN_GASPRICE: 8 | ||
|
||
# Time parameters | ||
# --------------------------------------------------------------- | ||
# 2**8 (= 256) | epochs | ||
SHARD_COMMITTEE_PERIOD: 256 | ||
|
||
# Signature domains | ||
# --------------------------------------------------------------- | ||
DOMAIN_SHARD_PROPOSER: 0x80000000 | ||
DOMAIN_SHARD_COMMITTEE: 0x81000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Minimal preset - Custody Game | ||
|
||
CONFIG_NAME: "minimal" | ||
|
||
# Time parameters | ||
# --------------------------------------------------------------- | ||
# 2**1 (= 2) epochs, 12.8 minutes | ||
RANDAO_PENALTY_EPOCHS: 2 | ||
# [customized] quicker for testing | ||
EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS: 64 | ||
# [customized] quicker for testing | ||
EPOCHS_PER_CUSTODY_PERIOD: 32 | ||
# [customized] quicker for testing | ||
CUSTODY_PERIOD_TO_RANDAO_PADDING: 8 | ||
# [customize for faster testing] | ||
MAX_CHUNK_CHALLENGE_DELAY: 64 | ||
|
||
# Misc parameters | ||
# --------------------------------------------------------------- | ||
# 2**256 - 189 | ||
CUSTODY_PRIME: 115792089237316195423570985008687907853269984665640564039457584007913129639747 | ||
# 3 | ||
CUSTODY_SECRETS: 3 | ||
# 1/4 chance of custody bit 1 [customized for faster testing] | ||
CUSTODY_PROBABILITY_EXPONENT: 2 | ||
|
||
# Max operations | ||
# --------------------------------------------------------------- | ||
# 2**8 (= 256) | ||
MAX_CUSTODY_KEY_REVEALS: 256 | ||
# 2**0 (= 1) | ||
MAX_EARLY_DERIVED_SECRET_REVEALS: 1 | ||
# [customized] | ||
MAX_CUSTODY_CHUNK_CHALLENGES: 2 | ||
# [customized] | ||
MAX_CUSTODY_CHUNK_CHALLENGE_RESP: 8 | ||
# 2**0 (= 1) | ||
MAX_CUSTODY_SLASHINGS: 1 | ||
|
||
# Reward and penalty quotients | ||
# --------------------------------------------------------------- | ||
EARLY_DERIVED_SECRET_REVEAL_SLOT_REWARD_MULTIPLE: 2 | ||
# 2**8 (= 256) | ||
MINOR_REWARD_QUOTIENT: 256 | ||
|
||
# Signature domains | ||
# --------------------------------------------------------------- | ||
DOMAIN_CUSTODY_BIT_SLASHING: 0x83000000 | ||
DOMAIN_LIGHT_SELECTION_PROOF: 0x84000000 | ||
DOMAIN_LIGHT_AGGREGATE_AND_PROOF: 0x85000000 |
Oops, something went wrong.