b4689e20c6
## Proposed Changes Implement the consensus changes necessary for the upcoming Altair hard fork. ## Additional Info This is quite a heavy refactor, with pivotal types like the `BeaconState` and `BeaconBlock` changing from structs to enums. This ripples through the whole codebase with field accesses changing to methods, e.g. `state.slot` => `state.slot()`. Co-authored-by: realbigsean <seananderson33@gmail.com>
31 lines
789 B
Bash
31 lines
789 B
Bash
# Base directories for the validator keys and secrets
|
|
DATADIR=~/.lighthouse/local-testnet
|
|
|
|
# Directory for the eth2 config
|
|
TESTNET_DIR=$DATADIR/testnet
|
|
|
|
# Mnemonic for the ganache test network
|
|
ETH1_NETWORK_MNEMONIC="vast thought differ pull jewel broom cook wrist tribe word before omit"
|
|
|
|
# Hardcoded deposit contract based on ETH1_NETWORK_MNEMONIC
|
|
DEPOSIT_CONTRACT_ADDRESS=8c594691c0e592ffa21f153a16ae41db5befcaaa
|
|
|
|
GENESIS_FORK_VERSION=0x42424242
|
|
|
|
VALIDATOR_COUNT=80
|
|
GENESIS_VALIDATOR_COUNT=80
|
|
|
|
# Number of validator client instances that you intend to run
|
|
NODE_COUNT=4
|
|
|
|
GENESIS_DELAY=180
|
|
|
|
# Port for P2P communication with bootnode
|
|
BOOTNODE_PORT=4242
|
|
|
|
# Network ID and Chain ID of local eth1 test network
|
|
NETWORK_ID=4242
|
|
|
|
# Hard fork configuration
|
|
ALTAIR_FORK_EPOCH=18446744073709551615
|