eth-consensus-specs 1.7.0a2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- eth_consensus_specs-1.7.0a2/LICENSE +116 -0
- eth_consensus_specs-1.7.0a2/PKG-INFO +175 -0
- eth_consensus_specs-1.7.0a2/README.md +120 -0
- eth_consensus_specs-1.7.0a2/configs/mainnet.yaml +250 -0
- eth_consensus_specs-1.7.0a2/configs/minimal.yaml +243 -0
- eth_consensus_specs-1.7.0a2/eth_consensus_specs.egg-info/PKG-INFO +175 -0
- eth_consensus_specs-1.7.0a2/eth_consensus_specs.egg-info/SOURCES.txt +501 -0
- eth_consensus_specs-1.7.0a2/eth_consensus_specs.egg-info/dependency_links.txt +1 -0
- eth_consensus_specs-1.7.0a2/eth_consensus_specs.egg-info/requires.txt +48 -0
- eth_consensus_specs-1.7.0a2/eth_consensus_specs.egg-info/top_level.txt +5 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/altair.yaml +24 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/bellatrix.yaml +21 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/capella.yaml +16 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/deneb.yaml +16 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/eip6800.yaml +12 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/eip7441.yaml +16 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/eip7805.yaml +6 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/electra.yaml +50 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/fulu.yaml +17 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/gloas.yaml +23 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/phase0.yaml +83 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/trusted_setups/curdleproofs_crs.json +140 -0
- eth_consensus_specs-1.7.0a2/presets/mainnet/trusted_setups/trusted_setup_4096.json +8265 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/altair.yaml +24 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/bellatrix.yaml +21 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/capella.yaml +16 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/deneb.yaml +16 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/eip6800.yaml +12 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/eip7441.yaml +16 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/eip7805.yaml +6 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/electra.yaml +50 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/fulu.yaml +17 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/gloas.yaml +23 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/phase0.yaml +83 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/trusted_setups/curdleproofs_crs.json +20 -0
- eth_consensus_specs-1.7.0a2/presets/minimal/trusted_setups/trusted_setup_4096.json +8265 -0
- eth_consensus_specs-1.7.0a2/pyproject.toml +108 -0
- eth_consensus_specs-1.7.0a2/setup.cfg +4 -0
- eth_consensus_specs-1.7.0a2/setup.py +28 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip6800/beacon-chain.md +220 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip6800/fork.md +113 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip6800/p2p-interface.md +44 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip6914/beacon-chain.md +62 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip6914/fork-choice.md +38 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7441/beacon-chain.md +446 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7441/fork.md +119 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7805/beacon-chain.md +111 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7805/fork-choice.md +400 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7805/fork.md +86 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7805/inclusion-list.md +104 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7805/p2p-interface.md +130 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7805/validator.md +257 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7928/beacon-chain.md +199 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7928/fork.md +111 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip7928/p2p-interface.md +40 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip8025/beacon-chain.md +236 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip8025/fork.md +86 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip8025/p2p-interface.md +204 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip8025/proof-engine.md +101 -0
- eth_consensus_specs-1.7.0a2/specs/_features/eip8025/prover.md +87 -0
- eth_consensus_specs-1.7.0a2/specs/altair/beacon-chain.md +780 -0
- eth_consensus_specs-1.7.0a2/specs/altair/bls.md +67 -0
- eth_consensus_specs-1.7.0a2/specs/altair/fork-choice.md +33 -0
- eth_consensus_specs-1.7.0a2/specs/altair/fork.md +111 -0
- eth_consensus_specs-1.7.0a2/specs/altair/light-client/full-node.md +221 -0
- eth_consensus_specs-1.7.0a2/specs/altair/light-client/light-client.md +57 -0
- eth_consensus_specs-1.7.0a2/specs/altair/light-client/p2p-interface.md +376 -0
- eth_consensus_specs-1.7.0a2/specs/altair/light-client/sync-protocol.md +590 -0
- eth_consensus_specs-1.7.0a2/specs/altair/p2p-interface.md +414 -0
- eth_consensus_specs-1.7.0a2/specs/altair/validator.md +595 -0
- eth_consensus_specs-1.7.0a2/specs/bellatrix/beacon-chain.md +446 -0
- eth_consensus_specs-1.7.0a2/specs/bellatrix/fork-choice.md +319 -0
- eth_consensus_specs-1.7.0a2/specs/bellatrix/fork.md +91 -0
- eth_consensus_specs-1.7.0a2/specs/bellatrix/p2p-interface.md +232 -0
- eth_consensus_specs-1.7.0a2/specs/bellatrix/validator.md +204 -0
- eth_consensus_specs-1.7.0a2/specs/capella/beacon-chain.md +598 -0
- eth_consensus_specs-1.7.0a2/specs/capella/fork-choice.md +110 -0
- eth_consensus_specs-1.7.0a2/specs/capella/fork.md +109 -0
- eth_consensus_specs-1.7.0a2/specs/capella/light-client/fork.md +101 -0
- eth_consensus_specs-1.7.0a2/specs/capella/light-client/full-node.md +65 -0
- eth_consensus_specs-1.7.0a2/specs/capella/light-client/p2p-interface.md +94 -0
- eth_consensus_specs-1.7.0a2/specs/capella/light-client/sync-protocol.md +157 -0
- eth_consensus_specs-1.7.0a2/specs/capella/p2p-interface.md +142 -0
- eth_consensus_specs-1.7.0a2/specs/capella/validator.md +175 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/beacon-chain.md +556 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/fork-choice.md +119 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/fork.md +99 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/light-client/fork.md +121 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/light-client/full-node.md +70 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/light-client/p2p-interface.md +100 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/light-client/sync-protocol.md +87 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/p2p-interface.md +523 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/polynomial-commitments.md +603 -0
- eth_consensus_specs-1.7.0a2/specs/deneb/validator.md +209 -0
- eth_consensus_specs-1.7.0a2/specs/electra/beacon-chain.md +1942 -0
- eth_consensus_specs-1.7.0a2/specs/electra/fork.md +144 -0
- eth_consensus_specs-1.7.0a2/specs/electra/light-client/fork.md +120 -0
- eth_consensus_specs-1.7.0a2/specs/electra/light-client/p2p-interface.md +106 -0
- eth_consensus_specs-1.7.0a2/specs/electra/light-client/sync-protocol.md +152 -0
- eth_consensus_specs-1.7.0a2/specs/electra/p2p-interface.md +237 -0
- eth_consensus_specs-1.7.0a2/specs/electra/validator.md +304 -0
- eth_consensus_specs-1.7.0a2/specs/electra/weak-subjectivity.md +73 -0
- eth_consensus_specs-1.7.0a2/specs/fulu/beacon-chain.md +334 -0
- eth_consensus_specs-1.7.0a2/specs/fulu/das-core.md +319 -0
- eth_consensus_specs-1.7.0a2/specs/fulu/fork-choice.md +89 -0
- eth_consensus_specs-1.7.0a2/specs/fulu/fork.md +113 -0
- eth_consensus_specs-1.7.0a2/specs/fulu/p2p-interface.md +663 -0
- eth_consensus_specs-1.7.0a2/specs/fulu/polynomial-commitments-sampling.md +817 -0
- eth_consensus_specs-1.7.0a2/specs/fulu/validator.md +308 -0
- eth_consensus_specs-1.7.0a2/specs/gloas/beacon-chain.md +1602 -0
- eth_consensus_specs-1.7.0a2/specs/gloas/builder.md +271 -0
- eth_consensus_specs-1.7.0a2/specs/gloas/fork-choice.md +879 -0
- eth_consensus_specs-1.7.0a2/specs/gloas/fork.md +168 -0
- eth_consensus_specs-1.7.0a2/specs/gloas/p2p-interface.md +571 -0
- eth_consensus_specs-1.7.0a2/specs/gloas/validator.md +315 -0
- eth_consensus_specs-1.7.0a2/specs/phase0/beacon-chain.md +2112 -0
- eth_consensus_specs-1.7.0a2/specs/phase0/deposit-contract.md +105 -0
- eth_consensus_specs-1.7.0a2/specs/phase0/fork-choice.md +923 -0
- eth_consensus_specs-1.7.0a2/specs/phase0/p2p-interface.md +2223 -0
- eth_consensus_specs-1.7.0a2/specs/phase0/validator.md +901 -0
- eth_consensus_specs-1.7.0a2/specs/phase0/weak-subjectivity.md +196 -0
- eth_consensus_specs-1.7.0a2/sync/optimistic.md +447 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/VERSION.txt +1 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/__init__.py +5 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/config/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/config/config_util.py +65 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/debug/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/debug/decode.py +52 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/debug/encode.py +56 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/debug/random_value.py +210 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/debug/tools.py +71 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_base/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_base/args.py +77 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_base/dumper.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_base/gen_runner.py +323 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_base/gen_typing.py +74 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_base/utils.py +34 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_from_tests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/gen_helpers/gen_from_tests/gen.py +134 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/py.typed +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/block_processing/sync_aggregate/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/block_processing/sync_aggregate/test_process_sync_aggregate.py +744 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/block_processing/sync_aggregate/test_process_sync_aggregate_random.py +224 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/block_processing/test_process_deposit.py +39 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/bls/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/bls/constants.py +38 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/bls/test_eth_aggregate_pubkeys.py +108 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/bls/test_eth_fast_aggregate_verify.py +151 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/epoch_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/epoch_processing/test_process_inactivity_updates.py +438 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/epoch_processing/test_process_participation_flag_updates.py +172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/epoch_processing/test_process_sync_committee_updates.py +129 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/fork/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/fork/test_altair_fork_basic.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/fork/test_altair_fork_random.py +134 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/fork/test_fork_active_validators.py +326 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/light_client/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/light_client/test_data_collection.py +281 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/light_client/test_single_merkle_proof.py +83 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/light_client/test_sync.py +552 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/light_client/test_update_ranking.py +150 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/rewards/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/rewards/test_inactivity_scores.py +122 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/sanity/test_blocks.py +141 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/transition/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/transition/test_activations_and_exits.py +249 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/transition/test_leaking.py +82 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/transition/test_operations.py +239 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/transition/test_slashing.py +81 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/transition/test_transition.py +529 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/light_client/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/light_client/test_sync_protocol.py +200 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/networking/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/networking/test_networking.py +45 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/test_config_invariants.py +29 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/test_config_override.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/validator/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/altair/unittests/validator/test_validator.py +337 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/block_processing/test_process_deposit.py +41 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/block_processing/test_process_execution_payload.py +435 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/block_processing/test_process_voluntary_exit.py +139 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/fork/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/fork/test_bellatrix_fork_basic.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/fork/test_bellatrix_fork_random.py +94 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/fork_choice/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/fork_choice/test_on_merge_block.py +201 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/fork_choice/test_should_override_forkchoice_update.py +197 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/light_client/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/light_client/test_data_collection.py +47 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/light_client/test_sync.py +64 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/sanity/test_blocks.py +68 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/sync/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/sync/test_optimistic.py +131 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/unittests/test_execution_engine_interface.py +99 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/unittests/test_is_valid_terminal_pow_block.py +46 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/unittests/test_transition.py +55 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/unittests/test_validate_merge_block.py +192 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/unittests/validator/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/bellatrix/unittests/validator/test_validator.py +167 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/block_processing/test_process_bls_to_execution_change.py +288 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/block_processing/test_process_deposit.py +62 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/block_processing/test_process_execution_payload.py +26 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/block_processing/test_process_withdrawals.py +1022 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/epoch_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/epoch_processing/test_process_historical_summaries_update.py +24 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/fork/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/fork/test_capella_fork_basic.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/fork/test_capella_fork_random.py +94 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/light_client/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/light_client/test_data_collection.py +47 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/light_client/test_single_merkle_proof.py +38 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/light_client/test_sync.py +47 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/capella/sanity/test_blocks.py +616 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/conftest.py +121 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/context.py +911 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/block_processing/test_process_execution_payload.py +448 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/block_processing/test_process_voluntary_exit.py +88 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/epoch_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/epoch_processing/test_process_registry_updates.py +116 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/fork/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/fork/test_deneb_fork_basic.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/fork/test_deneb_fork_random.py +94 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/fork_choice/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/fork_choice/test_on_block.py +175 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/test_blob_to_kzg_commitment.py +77 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/test_compute_blob_kzg_proof.py +97 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/test_compute_challenge.py +70 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/test_compute_kzg_proof.py +99 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/test_verify_blob_kzg_proof.py +194 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/test_verify_blob_kzg_proof_batch.py +220 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/kzg/test_verify_kzg_proof.py +258 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/light_client/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/light_client/test_sync.py +30 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/merkle_proof/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/merkle_proof/test_single_merkle_proof.py +101 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/sanity/test_blocks.py +129 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/transition/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/transition/test_operations.py +129 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/transition/test_transition.py +86 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/unittests/polynomial_commitments/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/unittests/polynomial_commitments/test_polynomial_commitments.py +320 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/unittests/test_config_invariants.py +31 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/unittests/test_execution_engine_interface.py +63 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/unittests/validator/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/deneb/unittests/validator/test_validator.py +74 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/block_processing/test_process_eip7441_opening_proof.py +71 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/block_processing/test_process_eip7441_registration.py +113 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/block_processing/test_process_shuffled_trackers.py +141 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/sanity/blocks/__init__.py +1 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/sanity/blocks/test_eip7441.py +54 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7441/unittests/test_config_invariants.py +16 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7732/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7732/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7805/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7805/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7805/unittests/inclusion_list/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7805/unittests/inclusion_list/test_inclusion_list_store.py +343 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7805/unittests/validator/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7805/unittests/validator/test_validator.py +100 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7928/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7928/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/eip7928/block_processing/test_process_execution_payload.py +37 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/block_processing/test_process_attestation.py +180 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/block_processing/test_process_consolidation_request.py +1424 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/block_processing/test_process_deposit_request.py +193 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/block_processing/test_process_voluntary_exit.py +397 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/block_processing/test_process_withdrawal_request.py +897 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/block_processing/test_process_withdrawals.py +955 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/epoch_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/epoch_processing/pending_deposits/__init__.py +3 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/epoch_processing/pending_deposits/test_apply_pending_deposit.py +524 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/epoch_processing/pending_deposits/test_process_pending_deposits.py +543 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/epoch_processing/test_process_effective_balance_updates.py +10 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/epoch_processing/test_process_pending_consolidations.py +550 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/epoch_processing/test_process_registry_updates.py +76 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/fork/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/fork/test_electra_fork_basic.py +263 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/fork/test_electra_fork_random.py +94 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/fork_choice/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/fork_choice/test_deposit_with_reorg.py +102 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/sanity/blocks/__init__.py +4 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/sanity/blocks/test_blocks.py +953 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/sanity/blocks/test_deposit_transition.py +337 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/sanity/test_slots.py +197 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/transition/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/transition/test_operations.py +111 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/unittests/test_config_invariants.py +25 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/unittests/test_execution_engine_interface.py +46 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/electra/unittests/test_execution_requests.py +104 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/exceptions.py +4 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/epoch_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/epoch_processing/test_process_proposer_lookahead.py +70 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/fork/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/fork/test_fulu_fork_basic.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/fork/test_fulu_fork_proposer_lookahead.py +113 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/fork/test_fulu_fork_random.py +94 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/fork_choice/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/fork_choice/test_on_block.py +346 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/kzg/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/kzg/test_compute_cells.py +77 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/kzg/test_compute_cells_and_kzg_proofs.py +77 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/kzg/test_compute_verify_cell_kzg_proof_batch_challenge.py +338 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/kzg/test_recover_cells_and_kzg_proofs.py +355 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/kzg/test_verify_cell_kzg_proof_batch.py +551 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/merkle_proof/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/merkle_proof/test_single_merkle_proof.py +107 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/networking/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/networking/test_compute_columns_for_custody_group.py +64 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/networking/test_get_custody_groups.py +136 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/sanity/test_lookahead.py +90 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/sanity/test_lookahead_slots.py +66 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/das/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/das/test_das.py +147 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/polynomial_commitments/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/polynomial_commitments/test_polynomial_commitments.py +287 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/test_config_invariants.py +43 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/test_custody.py +70 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/test_networking.py +411 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/unittests/test_security.py +30 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/validator/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/fulu/validator/test_compute_fork_digest.py +193 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_attestation.py +459 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_deposit_request.py +658 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_execution_payload.py +832 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_execution_payload_bid.py +776 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_payload_attestation.py +413 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_proposer_slashing.py +425 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_voluntary_exit.py +200 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/block_processing/test_process_withdrawals.py +1485 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/epoch_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/epoch_processing/test_process_builder_pending_payments.py +324 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/fork/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/fork/test_gloas_fork_basic.py +92 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/fork/test_gloas_fork_onboard_builders.py +612 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/fork/test_gloas_fork_random.py +94 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/sanity/test_slots.py +54 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/gloas/unittests/test_config_invariants.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/altair/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/altair/fork.py +47 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/attestations.py +514 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/attester_slashings.py +76 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/bellatrix/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/bellatrix/fork.py +50 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/blob.py +193 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/block.py +261 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/block_header.py +11 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/block_processing.py +62 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/bls_to_execution_changes.py +46 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/capella/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/capella/fork.py +64 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/consolidations.py +13 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/constants.py +104 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/das.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/deneb/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/deneb/fork.py +71 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/deposits.py +552 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/eip7441.py +98 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/electra/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/electra/fork.py +74 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/epoch_processing.py +104 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/execution_payload.py +480 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/fork_choice.py +557 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/fork_transition.py +552 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/forks.py +99 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/fulu/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/fulu/fork.py +81 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/genesis.py +260 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/gloas/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/gloas/fork.py +85 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/inactivity_scores.py +11 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/inclusion_list.py +148 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/keys.py +28 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/light_client.py +314 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/light_client_data_collection.py +998 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/light_client_sync.py +363 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/merkle.py +21 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/multi_operations.py +382 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/optimistic_sync.py +225 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/payload_attestation.py +38 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/pow_block.py +41 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/proposer_slashings.py +196 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/random.py +342 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/rewards.py +559 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/shard_block.py +91 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/specs.py +26 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/state.py +279 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/sync_committee.py +181 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/typing.py +18 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/voluntary_exits.py +101 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/helpers/withdrawals.py +290 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/block_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/block_processing/test_process_attestation.py +598 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/block_processing/test_process_attester_slashing.py +530 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/block_processing/test_process_block_header.py +129 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/block_processing/test_process_deposit.py +298 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/block_processing/test_process_proposer_slashing.py +703 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/block_processing/test_process_voluntary_exit.py +261 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_effective_balance_updates.py +105 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_eth1_data_reset.py +49 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_historical_roots_update.py +24 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_justification_and_finalization.py +397 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_participation_record_updates.py +20 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_randao_mixes_reset.py +19 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_registry_updates.py +431 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_rewards_and_penalties.py +482 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_slashings.py +236 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/epoch_processing/test_process_slashings_reset.py +18 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/finality/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/finality/test_finality.py +190 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/fork_choice/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/fork_choice/test_ex_ante.py +457 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/fork_choice/test_get_head.py +775 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/fork_choice/test_get_proposer_head.py +181 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/fork_choice/test_on_block.py +1580 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/fork_choice/test_reorg.py +597 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/fork_choice/test_withholding.py +213 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/genesis/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/genesis/test_initialization.py +239 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/genesis/test_validity.py +131 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/random/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/random/test_random.py +1172 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/rewards/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/rewards/test_basic.py +162 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/rewards/test_leak.py +163 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/rewards/test_random.py +135 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/sanity/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/sanity/test_blocks.py +1267 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/sanity/test_slots.py +140 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/ssz_static/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/ssz_static/test_ssz_static.py +155 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/fork_choice/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/fork_choice/test_on_attestation.py +344 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/fork_choice/test_on_tick.py +117 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/math/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/math/test_integer_squareroot.py +32 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/test_config_invariants.py +103 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/validator/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/phase0/unittests/validator/test_validator_unittest.py +552 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/utils/__init__.py +10 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/utils/kzg_tests.py +185 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/utils/randomized_block_tests.py +601 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/test/utils/utils.py +26 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/bls.py +397 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/hash_function.py +9 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/kzg.py +125 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/merkle_minimal.py +91 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/ssz/__init__.py +0 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/ssz/ssz_impl.py +37 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/ssz/ssz_typing.py +37 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/test_merkle_minimal.py +88 -0
- eth_consensus_specs-1.7.0a2/tests/core/pyspec/eth_consensus_specs/utils/test_merkle_proof_util.py +35 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
CC0 1.0 Universal
|
|
2
|
+
|
|
3
|
+
Statement of Purpose
|
|
4
|
+
|
|
5
|
+
The laws of most jurisdictions throughout the world automatically confer
|
|
6
|
+
exclusive Copyright and Related Rights (defined below) upon the creator and
|
|
7
|
+
subsequent owner(s) (each and all, an "owner") of an original work of
|
|
8
|
+
authorship and/or a database (each, a "Work").
|
|
9
|
+
|
|
10
|
+
Certain owners wish to permanently relinquish those rights to a Work for the
|
|
11
|
+
purpose of contributing to a commons of creative, cultural and scientific
|
|
12
|
+
works ("Commons") that the public can reliably and without fear of later
|
|
13
|
+
claims of infringement build upon, modify, incorporate in other works, reuse
|
|
14
|
+
and redistribute as freely as possible in any form whatsoever and for any
|
|
15
|
+
purposes, including without limitation commercial purposes. These owners may
|
|
16
|
+
contribute to the Commons to promote the ideal of a free culture and the
|
|
17
|
+
further production of creative, cultural and scientific works, or to gain
|
|
18
|
+
reputation or greater distribution for their Work in part through the use and
|
|
19
|
+
efforts of others.
|
|
20
|
+
|
|
21
|
+
For these and/or other purposes and motivations, and without any expectation
|
|
22
|
+
of additional consideration or compensation, the person associating CC0 with a
|
|
23
|
+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
|
24
|
+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
|
25
|
+
and publicly distribute the Work under its terms, with knowledge of his or her
|
|
26
|
+
Copyright and Related Rights in the Work and the meaning and intended legal
|
|
27
|
+
effect of CC0 on those rights.
|
|
28
|
+
|
|
29
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
30
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
|
31
|
+
Related Rights"). Copyright and Related Rights include, but are not limited
|
|
32
|
+
to, the following:
|
|
33
|
+
|
|
34
|
+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
|
35
|
+
and translate a Work;
|
|
36
|
+
|
|
37
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
38
|
+
|
|
39
|
+
iii. publicity and privacy rights pertaining to a person's image or likeness
|
|
40
|
+
depicted in a Work;
|
|
41
|
+
|
|
42
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
|
43
|
+
subject to the limitations in paragraph 4(a), below;
|
|
44
|
+
|
|
45
|
+
v. rights protecting the extraction, dissemination, use and reuse of data in
|
|
46
|
+
a Work;
|
|
47
|
+
|
|
48
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
49
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
|
50
|
+
protection of databases, and under any national implementation thereof,
|
|
51
|
+
including any amended or successor version of such directive); and
|
|
52
|
+
|
|
53
|
+
vii. other similar, equivalent or corresponding rights throughout the world
|
|
54
|
+
based on applicable law or treaty, and any national implementations thereof.
|
|
55
|
+
|
|
56
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
|
57
|
+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
|
58
|
+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
|
59
|
+
and Related Rights and associated claims and causes of action, whether now
|
|
60
|
+
known or unknown (including existing as well as future claims and causes of
|
|
61
|
+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
|
62
|
+
duration provided by applicable law or treaty (including future time
|
|
63
|
+
extensions), (iii) in any current or future medium and for any number of
|
|
64
|
+
copies, and (iv) for any purpose whatsoever, including without limitation
|
|
65
|
+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
|
66
|
+
the Waiver for the benefit of each member of the public at large and to the
|
|
67
|
+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
|
68
|
+
shall not be subject to revocation, rescission, cancellation, termination, or
|
|
69
|
+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
|
70
|
+
by the public as contemplated by Affirmer's express Statement of Purpose.
|
|
71
|
+
|
|
72
|
+
3. Public License Fallback. Should any part of the Waiver for any reason be
|
|
73
|
+
judged legally invalid or ineffective under applicable law, then the Waiver
|
|
74
|
+
shall be preserved to the maximum extent permitted taking into account
|
|
75
|
+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
|
76
|
+
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
|
77
|
+
non transferable, non sublicensable, non exclusive, irrevocable and
|
|
78
|
+
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
|
79
|
+
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
|
80
|
+
provided by applicable law or treaty (including future time extensions), (iii)
|
|
81
|
+
in any current or future medium and for any number of copies, and (iv) for any
|
|
82
|
+
purpose whatsoever, including without limitation commercial, advertising or
|
|
83
|
+
promotional purposes (the "License"). The License shall be deemed effective as
|
|
84
|
+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
|
85
|
+
License for any reason be judged legally invalid or ineffective under
|
|
86
|
+
applicable law, such partial invalidity or ineffectiveness shall not
|
|
87
|
+
invalidate the remainder of the License, and in such case Affirmer hereby
|
|
88
|
+
affirms that he or she will not (i) exercise any of his or her remaining
|
|
89
|
+
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
|
90
|
+
and causes of action with respect to the Work, in either case contrary to
|
|
91
|
+
Affirmer's express Statement of Purpose.
|
|
92
|
+
|
|
93
|
+
4. Limitations and Disclaimers.
|
|
94
|
+
|
|
95
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
96
|
+
surrendered, licensed or otherwise affected by this document.
|
|
97
|
+
|
|
98
|
+
b. Affirmer offers the Work as-is and makes no representations or warranties
|
|
99
|
+
of any kind concerning the Work, express, implied, statutory or otherwise,
|
|
100
|
+
including without limitation warranties of title, merchantability, fitness
|
|
101
|
+
for a particular purpose, non infringement, or the absence of latent or
|
|
102
|
+
other defects, accuracy, or the present or absence of errors, whether or not
|
|
103
|
+
discoverable, all to the greatest extent permissible under applicable law.
|
|
104
|
+
|
|
105
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
106
|
+
that may apply to the Work or any use thereof, including without limitation
|
|
107
|
+
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
|
108
|
+
disclaims responsibility for obtaining any necessary consents, permissions
|
|
109
|
+
or other rights required for any use of the Work.
|
|
110
|
+
|
|
111
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
112
|
+
party to this document and has no duty or obligation with respect to this
|
|
113
|
+
CC0 or use of the Work.
|
|
114
|
+
|
|
115
|
+
For more information, please see
|
|
116
|
+
<http://creativecommons.org/publicdomain/zero/1.0/>
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: eth-consensus-specs
|
|
3
|
+
Version: 1.7.0a2
|
|
4
|
+
Summary: Ethereum consensus layer specifications package
|
|
5
|
+
Author: ethereum
|
|
6
|
+
Project-URL: homepage, https://github.com/ethereum/consensus-specs
|
|
7
|
+
Requires-Python: <3.14,>=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: curdleproofs==0.1.2
|
|
11
|
+
Requires-Dist: eth-typing==5.2.1
|
|
12
|
+
Requires-Dist: eth-utils==5.3.1
|
|
13
|
+
Requires-Dist: frozendict==2.4.7
|
|
14
|
+
Requires-Dist: lru-dict==1.4.1
|
|
15
|
+
Requires-Dist: marko==2.2.2
|
|
16
|
+
Requires-Dist: milagro_bls_binding==1.9.0
|
|
17
|
+
Requires-Dist: py_arkworks_bls12381==0.3.8
|
|
18
|
+
Requires-Dist: py_ecc==8.0.0
|
|
19
|
+
Requires-Dist: pycryptodome==3.23.0
|
|
20
|
+
Requires-Dist: eth-remerkleable==0.1.29
|
|
21
|
+
Requires-Dist: ruamel.yaml==0.19.1
|
|
22
|
+
Requires-Dist: setuptools==82.0.0
|
|
23
|
+
Requires-Dist: trie==3.1.0
|
|
24
|
+
Provides-Extra: test
|
|
25
|
+
Requires-Dist: deepdiff==8.6.1; extra == "test"
|
|
26
|
+
Requires-Dist: pytest-cov==7.0.0; extra == "test"
|
|
27
|
+
Requires-Dist: pytest-html==4.2.0; extra == "test"
|
|
28
|
+
Requires-Dist: pytest-xdist==3.8.0; extra == "test"
|
|
29
|
+
Requires-Dist: pytest==9.0.2; extra == "test"
|
|
30
|
+
Provides-Extra: lint
|
|
31
|
+
Requires-Dist: codespell==2.4.1; extra == "lint"
|
|
32
|
+
Requires-Dist: mdformat-gfm-alerts==2.0.0; extra == "lint"
|
|
33
|
+
Requires-Dist: mdformat-gfm==1.0.0; extra == "lint"
|
|
34
|
+
Requires-Dist: mdformat-ruff==0.1.3; extra == "lint"
|
|
35
|
+
Requires-Dist: mdformat-toc==0.5.0; extra == "lint"
|
|
36
|
+
Requires-Dist: mdformat==1.0.0; extra == "lint"
|
|
37
|
+
Requires-Dist: mypy==1.19.1; extra == "lint"
|
|
38
|
+
Requires-Dist: ruff==0.15.1; extra == "lint"
|
|
39
|
+
Provides-Extra: generator
|
|
40
|
+
Requires-Dist: filelock==3.24.2; extra == "generator"
|
|
41
|
+
Requires-Dist: minizinc==0.10.0; extra == "generator"
|
|
42
|
+
Requires-Dist: pathos==0.3.5; extra == "generator"
|
|
43
|
+
Requires-Dist: psutil==7.2.2; extra == "generator"
|
|
44
|
+
Requires-Dist: pytest==9.0.2; extra == "generator"
|
|
45
|
+
Requires-Dist: python-snappy==0.7.3; extra == "generator"
|
|
46
|
+
Requires-Dist: rich==14.3.2; extra == "generator"
|
|
47
|
+
Requires-Dist: tqdm==4.67.3; extra == "generator"
|
|
48
|
+
Provides-Extra: docs
|
|
49
|
+
Requires-Dist: mdx-truly-sane-lists==1.3; extra == "docs"
|
|
50
|
+
Requires-Dist: mkdocs-awesome-pages-plugin==2.10.1; extra == "docs"
|
|
51
|
+
Requires-Dist: mkdocs-gen-files==0.6.0; extra == "docs"
|
|
52
|
+
Requires-Dist: mkdocs-material==9.7.1; extra == "docs"
|
|
53
|
+
Requires-Dist: mkdocs==1.6.1; extra == "docs"
|
|
54
|
+
Dynamic: license-file
|
|
55
|
+
|
|
56
|
+
# Ethereum Proof-of-Stake Consensus Specifications
|
|
57
|
+
|
|
58
|
+
[](https://discord.gg/qGpsxSA)
|
|
59
|
+
[](https://github.com/ethereum/consensus-specs/actions/workflows/nightly-tests.yml)
|
|
60
|
+
[](https://github.com/ethereum/consensus-specs/actions/workflows/nightly-reftests.yml)
|
|
61
|
+
|
|
62
|
+
This repository hosts the current Ethereum
|
|
63
|
+
[proof-of-stake](https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/)
|
|
64
|
+
specifications. Discussions about design rationale and proposed changes can be
|
|
65
|
+
brought up and discussed as issues. Solidified, agreed-upon changes to the
|
|
66
|
+
specifications can be made through pull requests.
|
|
67
|
+
|
|
68
|
+
## Specifications
|
|
69
|
+
|
|
70
|
+
Core specifications for Ethereum proof-of-stake clients can be found in
|
|
71
|
+
[specs](specs). These are divided into features. Features are researched and
|
|
72
|
+
developed in parallel, and then consolidated into sequential upgrades when
|
|
73
|
+
ready.
|
|
74
|
+
|
|
75
|
+
### Stable Specifications
|
|
76
|
+
|
|
77
|
+
| Seq. | Code Name | Fork Epoch | Links |
|
|
78
|
+
| ---- | ------------- | ---------- | --------------------------------------------------------------------------------------- |
|
|
79
|
+
| 0 | **Phase0** | `0` | [Specs](specs/phase0), [Tests](tests/core/pyspec/eth_consensus_specs/test/phase0) |
|
|
80
|
+
| 1 | **Altair** | `74240` | [Specs](specs/altair), [Tests](tests/core/pyspec/eth_consensus_specs/test/altair) |
|
|
81
|
+
| 2 | **Bellatrix** | `144896` | [Specs](specs/bellatrix), [Tests](tests/core/pyspec/eth_consensus_specs/test/bellatrix) |
|
|
82
|
+
| 3 | **Capella** | `194048` | [Specs](specs/capella), [Tests](tests/core/pyspec/eth_consensus_specs/test/capella) |
|
|
83
|
+
| 4 | **Deneb** | `269568` | [Specs](specs/deneb), [Tests](tests/core/pyspec/eth_consensus_specs/test/deneb) |
|
|
84
|
+
| 5 | **Electra** | `364032` | [Specs](specs/electra), [Tests](tests/core/pyspec/eth_consensus_specs/test/electra) |
|
|
85
|
+
| 6 | **Fulu** | `411392` | [Specs](specs/fulu), [Tests](tests/core/pyspec/eth_consensus_specs/test/fulu) |
|
|
86
|
+
|
|
87
|
+
### In-development Specifications
|
|
88
|
+
|
|
89
|
+
| Seq. | Code Name | Fork Epoch | Links |
|
|
90
|
+
| ---- | --------- | ---------- | ------------------------------------------------------------------------------- |
|
|
91
|
+
| 7 | **Gloas** | TBD | [Specs](specs/gloas), [Tests](tests/core/pyspec/eth_consensus_specs/test/gloas) |
|
|
92
|
+
|
|
93
|
+
### Accompanying documents
|
|
94
|
+
|
|
95
|
+
- [SimpleSerialize (SSZ) spec](ssz/simple-serialize.md)
|
|
96
|
+
- [Merkle proof formats](ssz/merkle-proofs.md)
|
|
97
|
+
- [General test format](tests/formats/README.md)
|
|
98
|
+
|
|
99
|
+
### External specifications
|
|
100
|
+
|
|
101
|
+
Additional specifications and standards outside of requisite client
|
|
102
|
+
functionality can be found in the following repositories:
|
|
103
|
+
|
|
104
|
+
- [Beacon APIs](https://github.com/ethereum/beacon-apis)
|
|
105
|
+
- [Engine APIs](https://github.com/ethereum/execution-apis/tree/main/src/engine)
|
|
106
|
+
- [Beacon Metrics](https://github.com/ethereum/beacon-metrics)
|
|
107
|
+
- [Builder Specs](https://github.com/ethereum/builder-specs)
|
|
108
|
+
|
|
109
|
+
### Reference tests
|
|
110
|
+
|
|
111
|
+
Reference tests built from the executable Python specifications are available in
|
|
112
|
+
the release assets for each release in this repository. There are also *nightly*
|
|
113
|
+
reference tests which are built from the latest version of the specifications
|
|
114
|
+
[here](https://github.com/ethereum/consensus-specs/actions/workflows/nightly-reftests.yml).
|
|
115
|
+
|
|
116
|
+
## Contributors
|
|
117
|
+
|
|
118
|
+
### Prerequisites
|
|
119
|
+
|
|
120
|
+
This project uses `uv` ([docs.astral.sh/uv](https://docs.astral.sh/uv/)) to
|
|
121
|
+
manage its dependencies and virtual environment. `uv` can
|
|
122
|
+
[download Python](https://docs.astral.sh/uv/guides/install-python/#installing-a-specific-version)
|
|
123
|
+
for your target platform if one of the required versions (3.10-3.13) is not
|
|
124
|
+
available natively.
|
|
125
|
+
|
|
126
|
+
`uv` can be installed via curl (recommended over a pip-install as it can
|
|
127
|
+
self-update and manage Python versions):
|
|
128
|
+
|
|
129
|
+
```console
|
|
130
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Installation and usage
|
|
134
|
+
|
|
135
|
+
Clone the repository with:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
git clone https://github.com/ethereum/consensus-specs.git
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Switch to the directory:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
cd consensus-specs
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
View the help output:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
make help
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Design goals
|
|
154
|
+
|
|
155
|
+
The following are the broad design goals for the Ethereum proof-of-stake
|
|
156
|
+
consensus specifications:
|
|
157
|
+
|
|
158
|
+
- Minimize complexity, even at the cost of some losses in efficiency.
|
|
159
|
+
- Remain live through major network partitions and when very large portions of
|
|
160
|
+
nodes go offline.
|
|
161
|
+
- Select components that are quantum secure or easily swappable for
|
|
162
|
+
quantum-secure alternatives.
|
|
163
|
+
- Utilize crypto and design techniques that allow for a large participation of
|
|
164
|
+
validators.
|
|
165
|
+
- Minimize hardware requirements such that a consumer laptop can participate.
|
|
166
|
+
|
|
167
|
+
### Useful resources
|
|
168
|
+
|
|
169
|
+
- [Design Rationale](https://notes.ethereum.org/s/rkhCgQteN#)
|
|
170
|
+
- [Phase0 Onboarding Document](https://notes.ethereum.org/s/Bkn3zpwxB)
|
|
171
|
+
- [Combining GHOST and Casper paper](https://arxiv.org/abs/2003.03052)
|
|
172
|
+
- [Specifications viewer (mkdocs)](https://ethereum.github.io/consensus-specs/)
|
|
173
|
+
- [Specifications viewer (jtraglia)](https://jtraglia.github.io/eth-spec-viewer/)
|
|
174
|
+
- [The Eth2 Book](https://eth2book.info)
|
|
175
|
+
- [PySpec Tests](tests/core/pyspec/README.md)
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Ethereum Proof-of-Stake Consensus Specifications
|
|
2
|
+
|
|
3
|
+
[](https://discord.gg/qGpsxSA)
|
|
4
|
+
[](https://github.com/ethereum/consensus-specs/actions/workflows/nightly-tests.yml)
|
|
5
|
+
[](https://github.com/ethereum/consensus-specs/actions/workflows/nightly-reftests.yml)
|
|
6
|
+
|
|
7
|
+
This repository hosts the current Ethereum
|
|
8
|
+
[proof-of-stake](https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/)
|
|
9
|
+
specifications. Discussions about design rationale and proposed changes can be
|
|
10
|
+
brought up and discussed as issues. Solidified, agreed-upon changes to the
|
|
11
|
+
specifications can be made through pull requests.
|
|
12
|
+
|
|
13
|
+
## Specifications
|
|
14
|
+
|
|
15
|
+
Core specifications for Ethereum proof-of-stake clients can be found in
|
|
16
|
+
[specs](specs). These are divided into features. Features are researched and
|
|
17
|
+
developed in parallel, and then consolidated into sequential upgrades when
|
|
18
|
+
ready.
|
|
19
|
+
|
|
20
|
+
### Stable Specifications
|
|
21
|
+
|
|
22
|
+
| Seq. | Code Name | Fork Epoch | Links |
|
|
23
|
+
| ---- | ------------- | ---------- | --------------------------------------------------------------------------------------- |
|
|
24
|
+
| 0 | **Phase0** | `0` | [Specs](specs/phase0), [Tests](tests/core/pyspec/eth_consensus_specs/test/phase0) |
|
|
25
|
+
| 1 | **Altair** | `74240` | [Specs](specs/altair), [Tests](tests/core/pyspec/eth_consensus_specs/test/altair) |
|
|
26
|
+
| 2 | **Bellatrix** | `144896` | [Specs](specs/bellatrix), [Tests](tests/core/pyspec/eth_consensus_specs/test/bellatrix) |
|
|
27
|
+
| 3 | **Capella** | `194048` | [Specs](specs/capella), [Tests](tests/core/pyspec/eth_consensus_specs/test/capella) |
|
|
28
|
+
| 4 | **Deneb** | `269568` | [Specs](specs/deneb), [Tests](tests/core/pyspec/eth_consensus_specs/test/deneb) |
|
|
29
|
+
| 5 | **Electra** | `364032` | [Specs](specs/electra), [Tests](tests/core/pyspec/eth_consensus_specs/test/electra) |
|
|
30
|
+
| 6 | **Fulu** | `411392` | [Specs](specs/fulu), [Tests](tests/core/pyspec/eth_consensus_specs/test/fulu) |
|
|
31
|
+
|
|
32
|
+
### In-development Specifications
|
|
33
|
+
|
|
34
|
+
| Seq. | Code Name | Fork Epoch | Links |
|
|
35
|
+
| ---- | --------- | ---------- | ------------------------------------------------------------------------------- |
|
|
36
|
+
| 7 | **Gloas** | TBD | [Specs](specs/gloas), [Tests](tests/core/pyspec/eth_consensus_specs/test/gloas) |
|
|
37
|
+
|
|
38
|
+
### Accompanying documents
|
|
39
|
+
|
|
40
|
+
- [SimpleSerialize (SSZ) spec](ssz/simple-serialize.md)
|
|
41
|
+
- [Merkle proof formats](ssz/merkle-proofs.md)
|
|
42
|
+
- [General test format](tests/formats/README.md)
|
|
43
|
+
|
|
44
|
+
### External specifications
|
|
45
|
+
|
|
46
|
+
Additional specifications and standards outside of requisite client
|
|
47
|
+
functionality can be found in the following repositories:
|
|
48
|
+
|
|
49
|
+
- [Beacon APIs](https://github.com/ethereum/beacon-apis)
|
|
50
|
+
- [Engine APIs](https://github.com/ethereum/execution-apis/tree/main/src/engine)
|
|
51
|
+
- [Beacon Metrics](https://github.com/ethereum/beacon-metrics)
|
|
52
|
+
- [Builder Specs](https://github.com/ethereum/builder-specs)
|
|
53
|
+
|
|
54
|
+
### Reference tests
|
|
55
|
+
|
|
56
|
+
Reference tests built from the executable Python specifications are available in
|
|
57
|
+
the release assets for each release in this repository. There are also *nightly*
|
|
58
|
+
reference tests which are built from the latest version of the specifications
|
|
59
|
+
[here](https://github.com/ethereum/consensus-specs/actions/workflows/nightly-reftests.yml).
|
|
60
|
+
|
|
61
|
+
## Contributors
|
|
62
|
+
|
|
63
|
+
### Prerequisites
|
|
64
|
+
|
|
65
|
+
This project uses `uv` ([docs.astral.sh/uv](https://docs.astral.sh/uv/)) to
|
|
66
|
+
manage its dependencies and virtual environment. `uv` can
|
|
67
|
+
[download Python](https://docs.astral.sh/uv/guides/install-python/#installing-a-specific-version)
|
|
68
|
+
for your target platform if one of the required versions (3.10-3.13) is not
|
|
69
|
+
available natively.
|
|
70
|
+
|
|
71
|
+
`uv` can be installed via curl (recommended over a pip-install as it can
|
|
72
|
+
self-update and manage Python versions):
|
|
73
|
+
|
|
74
|
+
```console
|
|
75
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Installation and usage
|
|
79
|
+
|
|
80
|
+
Clone the repository with:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
git clone https://github.com/ethereum/consensus-specs.git
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Switch to the directory:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
cd consensus-specs
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
View the help output:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
make help
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Design goals
|
|
99
|
+
|
|
100
|
+
The following are the broad design goals for the Ethereum proof-of-stake
|
|
101
|
+
consensus specifications:
|
|
102
|
+
|
|
103
|
+
- Minimize complexity, even at the cost of some losses in efficiency.
|
|
104
|
+
- Remain live through major network partitions and when very large portions of
|
|
105
|
+
nodes go offline.
|
|
106
|
+
- Select components that are quantum secure or easily swappable for
|
|
107
|
+
quantum-secure alternatives.
|
|
108
|
+
- Utilize crypto and design techniques that allow for a large participation of
|
|
109
|
+
validators.
|
|
110
|
+
- Minimize hardware requirements such that a consumer laptop can participate.
|
|
111
|
+
|
|
112
|
+
### Useful resources
|
|
113
|
+
|
|
114
|
+
- [Design Rationale](https://notes.ethereum.org/s/rkhCgQteN#)
|
|
115
|
+
- [Phase0 Onboarding Document](https://notes.ethereum.org/s/Bkn3zpwxB)
|
|
116
|
+
- [Combining GHOST and Casper paper](https://arxiv.org/abs/2003.03052)
|
|
117
|
+
- [Specifications viewer (mkdocs)](https://ethereum.github.io/consensus-specs/)
|
|
118
|
+
- [Specifications viewer (jtraglia)](https://jtraglia.github.io/eth-spec-viewer/)
|
|
119
|
+
- [The Eth2 Book](https://eth2book.info)
|
|
120
|
+
- [PySpec Tests](tests/core/pyspec/README.md)
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
# Mainnet config
|
|
2
|
+
|
|
3
|
+
# Extends the mainnet preset
|
|
4
|
+
PRESET_BASE: 'mainnet'
|
|
5
|
+
|
|
6
|
+
# Free-form short name of the network that this configuration applies to - known
|
|
7
|
+
# canonical network names include:
|
|
8
|
+
# * 'mainnet' - there can be only one
|
|
9
|
+
# * 'sepolia' - testnet
|
|
10
|
+
# * 'holesky' - testnet
|
|
11
|
+
# * 'hoodi' - testnet
|
|
12
|
+
# Must match the regex: [a-z0-9\-]
|
|
13
|
+
CONFIG_NAME: 'mainnet'
|
|
14
|
+
|
|
15
|
+
# Transition
|
|
16
|
+
# ---------------------------------------------------------------
|
|
17
|
+
# Estimated on Sept 15, 2022
|
|
18
|
+
TERMINAL_TOTAL_DIFFICULTY: 58750000000000000000000
|
|
19
|
+
# By default, don't use these params
|
|
20
|
+
TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000
|
|
21
|
+
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615
|
|
22
|
+
|
|
23
|
+
# Genesis
|
|
24
|
+
# ---------------------------------------------------------------
|
|
25
|
+
# 2**14 (= 16,384) validators
|
|
26
|
+
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 16384
|
|
27
|
+
# Dec 1, 2020, 12pm UTC
|
|
28
|
+
MIN_GENESIS_TIME: 1606824000
|
|
29
|
+
# Initial fork version for mainnet
|
|
30
|
+
GENESIS_FORK_VERSION: 0x00000000
|
|
31
|
+
# 7 * 24 * 3,600 (= 604,800) seconds, 7 days
|
|
32
|
+
GENESIS_DELAY: 604800
|
|
33
|
+
|
|
34
|
+
# Forking
|
|
35
|
+
# ---------------------------------------------------------------
|
|
36
|
+
# Some forks are disabled for now:
|
|
37
|
+
# - These may be re-assigned to another fork-version later
|
|
38
|
+
# - Temporarily set to max uint64 value: 2**64 - 1
|
|
39
|
+
|
|
40
|
+
# Altair
|
|
41
|
+
ALTAIR_FORK_VERSION: 0x01000000
|
|
42
|
+
ALTAIR_FORK_EPOCH: 74240 # Oct 27, 2021, 10:56:23am UTC
|
|
43
|
+
# Bellatrix
|
|
44
|
+
BELLATRIX_FORK_VERSION: 0x02000000
|
|
45
|
+
BELLATRIX_FORK_EPOCH: 144896 # Sept 6, 2022, 11:34:47am UTC
|
|
46
|
+
# Capella
|
|
47
|
+
CAPELLA_FORK_VERSION: 0x03000000
|
|
48
|
+
CAPELLA_FORK_EPOCH: 194048 # April 12, 2023, 10:27:35pm UTC
|
|
49
|
+
# Deneb
|
|
50
|
+
DENEB_FORK_VERSION: 0x04000000
|
|
51
|
+
DENEB_FORK_EPOCH: 269568 # March 13, 2024, 01:55:35pm UTC
|
|
52
|
+
# Electra
|
|
53
|
+
ELECTRA_FORK_VERSION: 0x05000000
|
|
54
|
+
ELECTRA_FORK_EPOCH: 364032 # May 7, 2025, 10:05:11am UTC
|
|
55
|
+
# Fulu
|
|
56
|
+
FULU_FORK_VERSION: 0x06000000
|
|
57
|
+
FULU_FORK_EPOCH: 411392 # December 3, 2025, 09:49:11pm UTC
|
|
58
|
+
# Gloas
|
|
59
|
+
GLOAS_FORK_VERSION: 0x07000000 # temporary stub
|
|
60
|
+
GLOAS_FORK_EPOCH: 18446744073709551615
|
|
61
|
+
# EIP7441
|
|
62
|
+
EIP7441_FORK_VERSION: 0xe7441000 # temporary stub
|
|
63
|
+
EIP7441_FORK_EPOCH: 18446744073709551615
|
|
64
|
+
# EIP7805
|
|
65
|
+
EIP7805_FORK_VERSION: 0xe7805000 # temporary stub
|
|
66
|
+
EIP7805_FORK_EPOCH: 18446744073709551615
|
|
67
|
+
# EIP7928
|
|
68
|
+
EIP7928_FORK_VERSION: 0xe7928000 # temporary stub
|
|
69
|
+
EIP7928_FORK_EPOCH: 18446744073709551615
|
|
70
|
+
# EIP8025
|
|
71
|
+
EIP8025_FORK_VERSION: 0xe8025000 # temporary stub
|
|
72
|
+
EIP8025_FORK_EPOCH: 18446744073709551615
|
|
73
|
+
|
|
74
|
+
# Time parameters
|
|
75
|
+
# ---------------------------------------------------------------
|
|
76
|
+
# 12 seconds (*deprecated*)
|
|
77
|
+
SECONDS_PER_SLOT: 12
|
|
78
|
+
# 12000 milliseconds
|
|
79
|
+
SLOT_DURATION_MS: 12000
|
|
80
|
+
# 14 (estimate from Eth1 mainnet)
|
|
81
|
+
SECONDS_PER_ETH1_BLOCK: 14
|
|
82
|
+
# 2**8 (= 256) epochs
|
|
83
|
+
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256
|
|
84
|
+
# 2**8 (= 256) epochs
|
|
85
|
+
SHARD_COMMITTEE_PERIOD: 256
|
|
86
|
+
# 2**11 (= 2,048) Eth1 blocks
|
|
87
|
+
ETH1_FOLLOW_DISTANCE: 2048
|
|
88
|
+
# 1667 basis points, ~17% of SLOT_DURATION_MS
|
|
89
|
+
PROPOSER_REORG_CUTOFF_BPS: 1667
|
|
90
|
+
# 3333 basis points, ~33% of SLOT_DURATION_MS
|
|
91
|
+
ATTESTATION_DUE_BPS: 3333
|
|
92
|
+
# 6667 basis points, ~67% of SLOT_DURATION_MS
|
|
93
|
+
AGGREGATE_DUE_BPS: 6667
|
|
94
|
+
|
|
95
|
+
# Altair
|
|
96
|
+
# 3333 basis points, ~33% of SLOT_DURATION_MS
|
|
97
|
+
SYNC_MESSAGE_DUE_BPS: 3333
|
|
98
|
+
# 6667 basis points, ~67% of SLOT_DURATION_MS
|
|
99
|
+
CONTRIBUTION_DUE_BPS: 6667
|
|
100
|
+
|
|
101
|
+
# Gloas
|
|
102
|
+
# 2**6 (= 64) epochs
|
|
103
|
+
MIN_BUILDER_WITHDRAWABILITY_DELAY: 64
|
|
104
|
+
# 2500 basis points, 25% of SLOT_DURATION_MS
|
|
105
|
+
ATTESTATION_DUE_BPS_GLOAS: 2500
|
|
106
|
+
# 5000 basis points, 50% of SLOT_DURATION_MS
|
|
107
|
+
AGGREGATE_DUE_BPS_GLOAS: 5000
|
|
108
|
+
# 2500 basis points, 25% of SLOT_DURATION_MS
|
|
109
|
+
SYNC_MESSAGE_DUE_BPS_GLOAS: 2500
|
|
110
|
+
# 5000 basis points, 50% of SLOT_DURATION_MS
|
|
111
|
+
CONTRIBUTION_DUE_BPS_GLOAS: 5000
|
|
112
|
+
# 7500 basis points, 75% of SLOT_DURATION_MS
|
|
113
|
+
PAYLOAD_ATTESTATION_DUE_BPS: 7500
|
|
114
|
+
|
|
115
|
+
# EIP7805
|
|
116
|
+
# 7500 basis points, 75% of SLOT_DURATION_MS
|
|
117
|
+
VIEW_FREEZE_CUTOFF_BPS: 7500
|
|
118
|
+
# 6667 basis points, ~67% of SLOT_DURATION_MS
|
|
119
|
+
INCLUSION_LIST_SUBMISSION_DUE_BPS: 6667
|
|
120
|
+
# 9167 basis points, ~92% of SLOT_DURATION_MS
|
|
121
|
+
PROPOSER_INCLUSION_LIST_CUTOFF_BPS: 9167
|
|
122
|
+
|
|
123
|
+
# Validator cycle
|
|
124
|
+
# ---------------------------------------------------------------
|
|
125
|
+
# 2**2 (= 4)
|
|
126
|
+
INACTIVITY_SCORE_BIAS: 4
|
|
127
|
+
# 2**4 (= 16)
|
|
128
|
+
INACTIVITY_SCORE_RECOVERY_RATE: 16
|
|
129
|
+
# 2**4 * 10**9 (= 16,000,000,000) Gwei
|
|
130
|
+
EJECTION_BALANCE: 16000000000
|
|
131
|
+
# 2**2 (= 4) validators
|
|
132
|
+
MIN_PER_EPOCH_CHURN_LIMIT: 4
|
|
133
|
+
# 2**16 (= 65,536)
|
|
134
|
+
CHURN_LIMIT_QUOTIENT: 65536
|
|
135
|
+
|
|
136
|
+
# Deneb
|
|
137
|
+
# 2**3 (= 8) (*deprecated*)
|
|
138
|
+
MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 8
|
|
139
|
+
|
|
140
|
+
# Electra
|
|
141
|
+
# 2**7 * 10**9 (= 128,000,000,000) Gwei
|
|
142
|
+
MIN_PER_EPOCH_CHURN_LIMIT_ELECTRA: 128000000000
|
|
143
|
+
# 2**8 * 10**9 (= 256,000,000,000) Gwei
|
|
144
|
+
MAX_PER_EPOCH_ACTIVATION_EXIT_CHURN_LIMIT: 256000000000
|
|
145
|
+
|
|
146
|
+
# Fork choice
|
|
147
|
+
# ---------------------------------------------------------------
|
|
148
|
+
# 40%
|
|
149
|
+
PROPOSER_SCORE_BOOST: 40
|
|
150
|
+
# 20%
|
|
151
|
+
REORG_HEAD_WEIGHT_THRESHOLD: 20
|
|
152
|
+
# 160%
|
|
153
|
+
REORG_PARENT_WEIGHT_THRESHOLD: 160
|
|
154
|
+
# 2 epochs
|
|
155
|
+
REORG_MAX_EPOCHS_SINCE_FINALIZATION: 2
|
|
156
|
+
|
|
157
|
+
# Deposit contract
|
|
158
|
+
# ---------------------------------------------------------------
|
|
159
|
+
# Ethereum PoW Mainnet
|
|
160
|
+
DEPOSIT_CHAIN_ID: 1
|
|
161
|
+
DEPOSIT_NETWORK_ID: 1
|
|
162
|
+
DEPOSIT_CONTRACT_ADDRESS: 0x00000000219ab540356cBB839Cbe05303d7705Fa
|
|
163
|
+
|
|
164
|
+
# Networking
|
|
165
|
+
# ---------------------------------------------------------------
|
|
166
|
+
# 10 * 2**20 (= 10,485,760) bytes, 10 MiB
|
|
167
|
+
MAX_PAYLOAD_SIZE: 10485760
|
|
168
|
+
# 2**10 (= 1,024) blocks
|
|
169
|
+
MAX_REQUEST_BLOCKS: 1024
|
|
170
|
+
# 2**8 (= 256) epochs
|
|
171
|
+
EPOCHS_PER_SUBNET_SUBSCRIPTION: 256
|
|
172
|
+
# MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2 (= 33,024) epochs
|
|
173
|
+
MIN_EPOCHS_FOR_BLOCK_REQUESTS: 33024
|
|
174
|
+
# 2**5 (= 32) slots
|
|
175
|
+
ATTESTATION_PROPAGATION_SLOT_RANGE: 32
|
|
176
|
+
# 500ms
|
|
177
|
+
MAXIMUM_GOSSIP_CLOCK_DISPARITY: 500
|
|
178
|
+
MESSAGE_DOMAIN_INVALID_SNAPPY: 0x00000000
|
|
179
|
+
MESSAGE_DOMAIN_VALID_SNAPPY: 0x01000000
|
|
180
|
+
# 2 subnets per node
|
|
181
|
+
SUBNETS_PER_NODE: 2
|
|
182
|
+
# 2**6 (= 64) subnets
|
|
183
|
+
ATTESTATION_SUBNET_COUNT: 64
|
|
184
|
+
# 0 bits
|
|
185
|
+
ATTESTATION_SUBNET_EXTRA_BITS: 0
|
|
186
|
+
# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS (= 6 + 0) bits
|
|
187
|
+
ATTESTATION_SUBNET_PREFIX_BITS: 6
|
|
188
|
+
|
|
189
|
+
# Deneb
|
|
190
|
+
# 2**7 (= 128) blocks
|
|
191
|
+
MAX_REQUEST_BLOCKS_DENEB: 128
|
|
192
|
+
# 2**12 (= 4,096) epochs
|
|
193
|
+
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
|
|
194
|
+
# 6 subnets
|
|
195
|
+
BLOB_SIDECAR_SUBNET_COUNT: 6
|
|
196
|
+
# 6 blobs
|
|
197
|
+
MAX_BLOBS_PER_BLOCK: 6
|
|
198
|
+
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK (= 128 * 6) sidecars
|
|
199
|
+
MAX_REQUEST_BLOB_SIDECARS: 768
|
|
200
|
+
|
|
201
|
+
# Electra
|
|
202
|
+
# 9 subnets
|
|
203
|
+
BLOB_SIDECAR_SUBNET_COUNT_ELECTRA: 9
|
|
204
|
+
# 9 blobs
|
|
205
|
+
MAX_BLOBS_PER_BLOCK_ELECTRA: 9
|
|
206
|
+
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_ELECTRA (= 128 * 9) sidecars
|
|
207
|
+
MAX_REQUEST_BLOB_SIDECARS_ELECTRA: 1152
|
|
208
|
+
|
|
209
|
+
# Fulu
|
|
210
|
+
# 2**7 (= 128) groups
|
|
211
|
+
NUMBER_OF_CUSTODY_GROUPS: 128
|
|
212
|
+
# 2**7 (= 128) subnets
|
|
213
|
+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
|
|
214
|
+
# MAX_REQUEST_BLOCKS_DENEB * NUMBER_OF_COLUMNS (= 128 * 128) sidecars
|
|
215
|
+
MAX_REQUEST_DATA_COLUMN_SIDECARS: 16384
|
|
216
|
+
# 2**3 (= 8) samples
|
|
217
|
+
SAMPLES_PER_SLOT: 8
|
|
218
|
+
# 2**2 (= 4) sidecars
|
|
219
|
+
CUSTODY_REQUIREMENT: 4
|
|
220
|
+
# 2**3 (= 8) sidecars
|
|
221
|
+
VALIDATOR_CUSTODY_REQUIREMENT: 8
|
|
222
|
+
# 2**5 * 10**9 (= 32,000,000,000) Gwei
|
|
223
|
+
BALANCE_PER_ADDITIONAL_CUSTODY_GROUP: 32000000000
|
|
224
|
+
# 2**12 (= 4,096) epochs
|
|
225
|
+
MIN_EPOCHS_FOR_DATA_COLUMN_SIDECARS_REQUESTS: 4096
|
|
226
|
+
|
|
227
|
+
# Gloas
|
|
228
|
+
# 2**7 (= 128) payloads
|
|
229
|
+
MAX_REQUEST_PAYLOADS: 128
|
|
230
|
+
|
|
231
|
+
# EIP7441
|
|
232
|
+
# 2**8 (= 256) epochs
|
|
233
|
+
EPOCHS_PER_SHUFFLING_PHASE: 256
|
|
234
|
+
# 2**1 (= 2) epochs
|
|
235
|
+
PROPOSER_SELECTION_GAP: 2
|
|
236
|
+
|
|
237
|
+
# EIP7805
|
|
238
|
+
# 2**4 (= 16) inclusion lists
|
|
239
|
+
MAX_REQUEST_INCLUSION_LIST: 16
|
|
240
|
+
# 2**13 (= 8,192) bytes
|
|
241
|
+
MAX_BYTES_PER_INCLUSION_LIST: 8192
|
|
242
|
+
|
|
243
|
+
# Blob Scheduling
|
|
244
|
+
# ---------------------------------------------------------------
|
|
245
|
+
|
|
246
|
+
BLOB_SCHEDULE:
|
|
247
|
+
- EPOCH: 412672 # December 9, 2025, 02:21:11pm UTC
|
|
248
|
+
MAX_BLOBS_PER_BLOCK: 15
|
|
249
|
+
- EPOCH: 419072 # January 7, 2026, 01:01:11am UTC
|
|
250
|
+
MAX_BLOBS_PER_BLOCK: 21
|