mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
ecad5bbffc
* e2e: Provide e2e config yaml to web3signer * fix build for //testing/endtoend:go_default_test * Update with web3signer with teku fixes * buildifier * Add slasher case for web3signer * Update testing/endtoend/minimal_e2e_test.go * Update web3signer to 21.10.6 * Revert "Update web3signer to 21.10.6" This reverts commit bdf3c408f2a0432379fa1a735a2e3f70c62d11cc. * Remove slasher part of web3signer e2e tests * Revert "Remove slasher part of web3signer e2e tests" This reverts commit 24249802ae34fb7727b83dbfa187d73c1d97d2f8. * fix slasher web3signer test * fixing build * updating yaml to match testnet_e2e_config.go * trying a different order to the e2e test and adding a log * trying different way to kill process * handling unhandled error * testing changes to config WIP * fixing bazel WIP * fixing build * ignoring test for now to test * fixing bazel * Test only web3signer e2e * rolling back some commits to test * fixing bazel * trying an updated web3signer version * changing flag to match version * trying current version of develop for web3signer * testing not using the --network property * addressing build error * testing config change * reverting to go bakc to using the network file * testing adding epochs per sync committee period * rolling back configs * removing check to test * adding log to get sync committee duties and changing bellatrix fork epoch to something large and altair to epoch 1 * fixing bazel * updating epoch in config file * fixing more descrepencies between the configurations * removing un used yaml * removing goland added duplicates * reverting using network minimal * fixing bug * rolling back some changes * rolling back some changes * rolling back changes * making sure web3signer test doesn't make it to bellatrix fork yet * reverting changes I did not touch * undo comment * Update testing/endtoend/deps.bzl * Apply suggestions from code review * rm nl * fix //testing/endtoend:go_mainnet_test * Remove unnecessary dep * fix //testing/endtoend:go_mainnet_test * addressing review comments * fixing build and internal conflict * removing web3signer slasher test as it's unneeded due to the interface nature of key signing, the regular slashing test is enough * fix: The validator we fetch from the binary can only run before altair, if you add that and the web3signer then these things can never run together as the web3signer sets it to before bellatrix Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com> Co-authored-by: James He <james@prysmaticlabs.com> Co-authored-by: Nishant Das <nishdas93@gmail.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
119 lines
3.4 KiB
YAML
119 lines
3.4 KiB
YAML
# e2e config
|
|
|
|
# Extends the minimal preset
|
|
PRESET_BASE: 'minimal'
|
|
|
|
|
|
|
|
# Transition
|
|
# ---------------------------------------------------------------
|
|
# TBD, 2**256-2**10 is a placeholder, e2e is 600
|
|
TERMINAL_TOTAL_DIFFICULTY: 600
|
|
# By default, don't use these params
|
|
#TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000
|
|
#TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615
|
|
|
|
|
|
|
|
# Genesis
|
|
# ---------------------------------------------------------------
|
|
# [customized]
|
|
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 256 # Override for e2e tests
|
|
# Jan 3, 2020
|
|
MIN_GENESIS_TIME: 1578009600
|
|
# Highest byte set to 0x01 to avoid collisions with mainnet versioning
|
|
GENESIS_FORK_VERSION: 0x000000fd
|
|
# [customized] Faster to spin up testnets, but does not give validator reasonable warning time for genesis
|
|
GENESIS_DELAY: 10 # Override for e2e tests
|
|
|
|
|
|
# Forking
|
|
# ---------------------------------------------------------------
|
|
# Values provided for illustrative purposes.
|
|
# Individual tests/testnets may set different values.
|
|
|
|
# Altair
|
|
ALTAIR_FORK_VERSION: 0x010000fd
|
|
ALTAIR_FORK_EPOCH: 6 # Override for e2e
|
|
# Bellatrix
|
|
BELLATRIX_FORK_VERSION: 0x020000fd
|
|
BELLATRIX_FORK_EPOCH: 8
|
|
# Sharding
|
|
SHARDING_FORK_VERSION: 0x030000fd
|
|
SHARDING_FORK_EPOCH: 18446744073709551615
|
|
|
|
|
|
# Time parameters
|
|
# ---------------------------------------------------------------
|
|
# [customized] Faster for testing purposes
|
|
SECONDS_PER_SLOT: 10 # Override for e2e tests
|
|
# 14 (estimate from Eth1 mainnet)
|
|
SECONDS_PER_ETH1_BLOCK: 2 # Override for e2e tests
|
|
# 2**8 (= 256) epochs
|
|
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256
|
|
# [customized] higher frequency of committee turnover and faster time to acceptable voluntary exit
|
|
SHARD_COMMITTEE_PERIOD: 4 # Override for e2e tests
|
|
# [customized] process deposits more quickly, but insecure
|
|
ETH1_FOLLOW_DISTANCE: 4 # Override for e2e tests
|
|
|
|
|
|
# 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
|
|
# [customized] scale queue churn at much lower validator counts for testing
|
|
CHURN_LIMIT_QUOTIENT: 65536
|
|
|
|
|
|
# Fork choice
|
|
# ---------------------------------------------------------------
|
|
# 70%
|
|
PROPOSER_SCORE_BOOST: 70
|
|
|
|
|
|
# Deposit contract
|
|
# ---------------------------------------------------------------
|
|
# Ethereum Goerli testnet
|
|
DEPOSIT_CHAIN_ID: 1337 # Override for e2e tests
|
|
DEPOSIT_NETWORK_ID: 1337 # Override for e2e tests
|
|
# Configured on a per testnet basis
|
|
DEPOSIT_CONTRACT_ADDRESS: 0x1234567890123456789012345678901234567890
|
|
|
|
# Updated penalty values
|
|
# ---------------------------------------------------------------
|
|
# 3 * 2**24 (= 50,331,648)
|
|
INACTIVITY_PENALTY_QUOTIENT_ALTAIR: 50331648
|
|
# 2**6 (= 64)
|
|
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: 64
|
|
# 2
|
|
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2
|
|
|
|
|
|
# Sync committee
|
|
# ---------------------------------------------------------------
|
|
# [customized]
|
|
SYNC_COMMITTEE_SIZE: 32
|
|
# [customized]
|
|
EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 8
|
|
|
|
|
|
# Sync protocol
|
|
# ---------------------------------------------------------------
|
|
# 1
|
|
MIN_SYNC_COMMITTEE_PARTICIPANTS: 1
|
|
|
|
# Other e2e overrides
|
|
# ---------------------------------------------------------------
|
|
CONFIG_NAME: "end-to-end"
|
|
SLOTS_PER_EPOCH: 6
|
|
EPOCHS_PER_ETH1_VOTING_PERIOD: 2
|
|
MAX_SEED_LOOKAHEAD: 1
|
|
|
|
|