1db739490e
* Update mev-rs and ethereum-consensus * Fix mock buidler open bid to return fork versioned response * Update `mev-rs` and `ethereum-consensus` * Remove BuilderKzgCommitments and use BlockBodyKzgCommitments everywhere. * Update testnet scripts to support builder testing and update README.md. * Add comment on `mev-rs` version. * Add `BN_ARGS` config to `./scripts/tests/vars.env` * Update builder testing command in README.md * Reject zero block hash payloads after Bellatrix. * Update scripts/local_testnet/README.md Co-authored-by: realbigsean <seananderson33@GMAIL.com> --------- Co-authored-by: realbigsean <seananderson33@GMAIL.com>
69 lines
1.7 KiB
Bash
69 lines
1.7 KiB
Bash
# Path to the geth binary
|
|
GETH_BINARY=geth
|
|
EL_BOOTNODE_BINARY=bootnode
|
|
|
|
# Base directories for the validator keys and secrets
|
|
DATADIR=~/.lighthouse/local-testnet
|
|
|
|
# Directory for the eth2 config
|
|
TESTNET_DIR=$DATADIR/testnet
|
|
|
|
# Mnemonic for generating validator keys
|
|
MNEMONIC_PHRASE="vast thought differ pull jewel broom cook wrist tribe word before omit"
|
|
|
|
EL_BOOTNODE_ENODE="enode://51ea9bb34d31efc3491a842ed13b8cab70e753af108526b57916d716978b380ed713f4336a80cdb85ec2a115d5a8c0ae9f3247bed3c84d3cb025c6bab311062c@127.0.0.1:0?discport=30301"
|
|
|
|
# Hardcoded deposit contract
|
|
DEPOSIT_CONTRACT_ADDRESS=4242424242424242424242424242424242424242
|
|
|
|
GENESIS_FORK_VERSION=0x42424242
|
|
|
|
# Block hash generated from genesis.json in directory
|
|
ETH1_BLOCK_HASH=4b0e17cf5c04616d64526d292b80a1f2720cf2195d990006e4ea6950c5bbcb9f
|
|
|
|
VALIDATOR_COUNT=80
|
|
GENESIS_VALIDATOR_COUNT=80
|
|
|
|
# Number of beacon_node instances that you intend to run
|
|
BN_COUNT=4
|
|
|
|
# Number of validator clients
|
|
VC_COUNT=$BN_COUNT
|
|
|
|
# Number of seconds to delay to start genesis block.
|
|
# If started by a script this can be 0, if starting by hand
|
|
# use something like 180.
|
|
GENESIS_DELAY=0
|
|
|
|
# Port for P2P communication with bootnode
|
|
BOOTNODE_PORT=4242
|
|
|
|
# Network ID and Chain ID of local eth1 test network
|
|
CHAIN_ID=4242
|
|
|
|
# Hard fork configuration
|
|
ALTAIR_FORK_EPOCH=0
|
|
BELLATRIX_FORK_EPOCH=0
|
|
CAPELLA_FORK_EPOCH=1
|
|
DENEB_FORK_EPOCH=2
|
|
|
|
TTD=0
|
|
|
|
# Spec version (mainnet or minimal)
|
|
SPEC_PRESET=mainnet
|
|
|
|
# Seconds per Eth2 slot
|
|
SECONDS_PER_SLOT=3
|
|
|
|
# Seconds per Eth1 block
|
|
SECONDS_PER_ETH1_BLOCK=1
|
|
|
|
# Proposer score boost percentage
|
|
PROPOSER_SCORE_BOOST=40
|
|
|
|
# Command line arguments for beacon node client
|
|
BN_ARGS=""
|
|
|
|
# Command line arguments for validator client
|
|
VC_ARGS=""
|