Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #53 from eth2-clients/altair-devnet-0
Browse files Browse the repository at this point in the history
Add config for altair-devnet-0
  • Loading branch information
parithosh committed Jul 8, 2021
2 parents f7e61a5 + aacc669 commit d081181
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared/altair-devnet-0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Altair-devnet-0

`altair-devnet-0` is a short-lived devnet that activates the Altair fork at epoch 10.
3 changes: 3 additions & 0 deletions shared/altair-devnet-0/bootstrap_nodes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# EF bootnode
# /ip4/3.125.155.250/udp/9000/p2p/16Uiu2HAm8JSAXCaRruMvWjmY4bdJQhGc6a73VdRxCEpKwp9q56N1
enr:-Ku4QOcLld1mPvi9bXxN468zT5ZAX6zHFABOgm6-G76AFaC8C7yOAocpOBgRUKvuxLp-EBt3IqpOLUBZcTiou6VYmtoBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpBY9DG-GVBGmf__________gmlkgnY0gmlwhAN9m_qJc2VjcDI1NmsxoQK_TT5hHmoWJpZ4aSv1bdoD5noop1fWU54qz4Tj53t_1oN1ZHCCIyg
73 changes: 73 additions & 0 deletions shared/altair-devnet-0/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Altair interop devnet config

# Extends the mainnet preset
PRESET_BASE: 'mainnet'

CONFIG_NAME: "altair-devnet-0"

# Genesis
# ---------------------------------------------------------------
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 10000
# July 7, 2021, 12pm UTC
MIN_GENESIS_TIME: 1625659200
# Location for the altair star is 19h 50m 46.99855
GENESIS_FORK_VERSION: 0x19504699
# 86400 seconds (1 day)
GENESIS_DELAY: 86400


# Forking
# ---------------------------------------------------------------
# Some forks are disabled for now:
# - These may be re-assigned to another fork-version later
# - Temporarily set to max uint64 value: 2**64 - 1

# Altair
ALTAIR_FORK_VERSION: 0x01000000
ALTAIR_FORK_EPOCH: 10
# Merge
MERGE_FORK_VERSION: 0x02000000
MERGE_FORK_EPOCH: 18446744073709551615
# Sharding
SHARDING_FORK_VERSION: 0x03000000
SHARDING_FORK_EPOCH: 18446744073709551615

# TBD, 2**32 is a placeholder. Merge transition approach is in active R&D.
MIN_ANCHOR_POW_BLOCK_DIFFICULTY: 4294967296


# Time parameters
# ---------------------------------------------------------------
# 12 seconds
SECONDS_PER_SLOT: 12
# 14 (estimate from Eth1 mainnet)
SECONDS_PER_ETH1_BLOCK: 14
# 2**8 (= 256) epochs ~27 hours
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256
# 2**8 (= 256) epochs ~27 hours
SHARD_COMMITTEE_PERIOD: 256
# 2**11 (= 2,048) Eth1 blocks ~8 hours
ETH1_FOLLOW_DISTANCE: 2048


# Validator cycle
# ---------------------------------------------------------------
# 2**2 (= 4)
INACTIVITY_SCORE_BIAS: 4
# 2**4 (= 16)
INACTIVITY_SCORE_RECOVERY_RATE: 16
# 2**4 * 10**9 (= 16,000,000,000) Gwei
EJECTION_BALANCE: 16000000000
# 2**2 (= 4)
MIN_PER_EPOCH_CHURN_LIMIT: 4
# 2**16 (= 65,536)
CHURN_LIMIT_QUOTIENT: 65536


# Deposit contract
# ---------------------------------------------------------------
# Ethereum Goerli testnet
DEPOSIT_CHAIN_ID: 5
DEPOSIT_NETWORK_ID: 5
DEPOSIT_CONTRACT_ADDRESS: 0x3fe221a147E62eC697723fBfB4dd9505F4F966c7

1 change: 1 addition & 0 deletions shared/altair-devnet-0/deploy_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5088851
1 change: 1 addition & 0 deletions shared/altair-devnet-0/deposit_contract.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0x3fe221a147E62eC697723fBfB4dd9505F4F966c7
Binary file added shared/altair-devnet-0/genesis.ssz
Binary file not shown.

0 comments on commit d081181

Please sign in to comment.