Ethereum Consensus Specifications
This report presents the forensic synthetic code analysis of ethereum/consensus-specs, a Python project with 3,958 GitHub stars. SynthScan v2.0 examined 186,025 lines of code across 735 source files, recording 3147 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 20.6 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3147 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | specs/electra/weak-subjectivity.md | 32 | def compute_weak_subjectivity_period(state: BeaconState) -> Uint64: | CODE |
| LOW | specs/electra/weak-subjectivity.md | 61 | def is_within_weak_subjectivity_period( | CODE |
| LOW | specs/electra/p2p-interface.md | 91 | def compute_max_request_blob_sidecars() -> Uint64: | CODE |
| LOW | specs/electra/p2p-interface.md | 128 | def validate_beacon_block_gossip( | CODE |
| LOW | specs/electra/p2p-interface.md | 232 | def validate_beacon_aggregate_and_proof_gossip( | CODE |
| LOW | specs/electra/p2p-interface.md | 375 | def validate_beacon_attestation_gossip( | CODE |
| LOW | specs/electra/p2p-interface.md | 479 | def validate_blob_sidecar_gossip( | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 634 | def is_compounding_withdrawal_credential(withdrawal_credentials: Bytes32) -> bool: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 641 | def has_compounding_withdrawal_credential(validator: Validator) -> bool: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 651 | def has_execution_withdrawal_credential(validator: Validator) -> bool: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 761 | def get_activation_exit_churn_limit(state: BeaconState) -> Gwei: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 771 | def get_consolidation_churn_limit(state: BeaconState) -> Gwei: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 778 | def get_pending_balance_to_withdraw(state: BeaconState, validator_index: ValidatorIndex) -> Gwei: | CODE |
| LOW | specs/electra/beacon-chain.md | 620 | def is_eligible_for_activation_queue(validator: Validator) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 668 | def is_fully_withdrawable_validator(validator: Validator, balance: Gwei, epoch: Epoch) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 688 | def is_partially_withdrawable_validator(validator: Validator, balance: Gwei) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 708 | def is_eligible_for_partial_withdrawals(validator: Validator, balance: Gwei) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 733 | def get_max_effective_balance(validator: Validator) -> Gwei: | CODE |
| LOW | specs/electra/beacon-chain.md | 819 | def get_next_sync_committee_indices(state: BeaconState) -> Sequence[ValidatorIndex]: | CODE |
| LOW | specs/electra/beacon-chain.md | 877 | def switch_to_compounding_validator(state: BeaconState, index: ValidatorIndex) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 888 | def queue_excess_active_balance(state: BeaconState, index: ValidatorIndex) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 910 | def compute_exit_epoch_and_update_churn(state: BeaconState, exit_balance: Gwei) -> Epoch: | CODE |
| LOW | specs/electra/beacon-chain.md | 938 | def compute_consolidation_epoch_and_update_churn( | CODE |
| LOW | specs/electra/beacon-chain.md | 1202 | def process_pending_consolidations(state: BeaconState) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 1234 | def process_effective_balance_updates(state: BeaconState) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 1313 | def verify_and_notify_new_payload( | CODE |
| LOW | specs/electra/beacon-chain.md | 1366 | def get_pending_partial_withdrawals( | CODE |
| LOW | specs/electra/beacon-chain.md | 1413 | def get_validators_sweep_withdrawals( | CODE |
| LOW | specs/electra/beacon-chain.md | 1496 | def update_pending_partial_withdrawals( | CODE |
| LOW | specs/electra/beacon-chain.md | 1532 | def get_execution_requests_list(execution_requests: ExecutionRequests) -> Sequence[bytes]: | CODE |
| LOW | specs/electra/beacon-chain.md | 1553 | def process_execution_payload( | CODE |
| LOW | specs/electra/beacon-chain.md | 1717 | def get_validator_from_deposit( | CODE |
| LOW | specs/electra/beacon-chain.md | 1746 | def add_validator_to_registry( | CODE |
| LOW | specs/electra/beacon-chain.md | 1796 | def is_valid_deposit_signature( | CODE |
| LOW | specs/electra/beacon-chain.md | 1877 | def process_withdrawal_request(state: BeaconState, withdrawal_request: WithdrawalRequest) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 1972 | def is_valid_switch_to_compounding_request( | CODE |
| LOW | specs/electra/beacon-chain.md | 2010 | def process_consolidation_request( | CODE |
| LOW | specs/electra/validator.md | 121 | def compute_on_chain_aggregate(network_aggregates: Sequence[Attestation]) -> Attestation: | CODE |
| LOW | specs/electra/validator.md | 269 | def compute_subnet_for_blob_sidecar(blob_index: BlobIndex) -> SubnetID: | CODE |
| LOW | specs/electra/light-client/sync-protocol.md | 97 | def finalized_root_gindex_at_slot(slot: Slot) -> GeneralizedIndex: | CODE |
| LOW | specs/electra/light-client/sync-protocol.md | 109 | def current_sync_committee_gindex_at_slot(slot: Slot) -> GeneralizedIndex: | CODE |
| LOW | specs/electra/light-client/sync-protocol.md | 121 | def next_sync_committee_gindex_at_slot(slot: Slot) -> GeneralizedIndex: | CODE |
| LOW | specs/electra/light-client/fork.md | 41 | def upgrade_lc_header_to_electra(pre: deneb.LightClientHeader) -> LightClientHeader: | CODE |
| LOW | specs/electra/light-client/fork.md | 50 | def upgrade_lc_bootstrap_to_electra(pre: deneb.LightClientBootstrap) -> LightClientBootstrap: | CODE |
| LOW | specs/electra/light-client/fork.md | 63 | def upgrade_lc_update_to_electra(pre: deneb.LightClientUpdate) -> LightClientUpdate: | CODE |
| LOW | specs/electra/light-client/fork.md | 82 | def upgrade_lc_finality_update_to_electra( | CODE |
| LOW | specs/electra/light-client/fork.md | 97 | def upgrade_lc_optimistic_update_to_electra( | CODE |
| LOW | specs/electra/light-client/fork.md | 114 | def upgrade_lc_store_to_electra(pre: deneb.LightClientStore) -> LightClientStore: | CODE |
| LOW | specs/deneb/p2p-interface.md | 226 | def is_current_or_previous_epoch( | CODE |
| LOW | specs/deneb/p2p-interface.md | 243 | def compute_max_request_blob_sidecars() -> Uint64: | CODE |
| LOW | specs/deneb/p2p-interface.md | 253 | def verify_blob_sidecar_inclusion_proof(blob_sidecar: BlobSidecar) -> bool: | CODE |
| LOW | specs/deneb/p2p-interface.md | 305 | def validate_beacon_block_gossip( | CODE |
| LOW | specs/deneb/p2p-interface.md | 408 | def validate_beacon_aggregate_and_proof_gossip( | CODE |
| LOW | specs/deneb/p2p-interface.md | 529 | def validate_voluntary_exit_gossip( | CODE |
| LOW | specs/deneb/p2p-interface.md | 596 | def validate_beacon_attestation_gossip( | CODE |
| LOW | specs/deneb/p2p-interface.md | 698 | def validate_blob_sidecar_gossip( | CODE |
| LOW | specs/deneb/beacon-chain.md | 287 | def kzg_commitment_to_versioned_hash(kzg_commitment: KZGCommitment) -> VersionedHash: | CODE |
| LOW | specs/deneb/beacon-chain.md | 302 | def get_attestation_participation_flag_indices( | CODE |
| LOW | specs/deneb/beacon-chain.md | 342 | def get_validator_activation_churn_limit(state: BeaconState) -> Uint64: | CODE |
| LOW | specs/deneb/beacon-chain.md | 384 | def is_valid_versioned_hashes( | CODE |
| 2622 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 718 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 735 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 765 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 802 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 822 | # ------------ | COMMENT |
| MEDIUM | configs/minimal.yaml | 13 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 32 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 65 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 110 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 141 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 152 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 160 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 226 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 233 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 16 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 24 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 35 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 69 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 114 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 145 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 156 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 163 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 229 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 240 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/eip8148.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/altair.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/altair.yaml | 13 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/altair.yaml | 20 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/deneb.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/deneb.yaml | 9 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/deneb.yaml | 14 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/bellatrix.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/bellatrix.yaml | 13 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/heze.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/heze.yaml | 9 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/eip8205.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/eip8321.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/fulu.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/fulu.yaml | 9 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/electra.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/electra.yaml | 11 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/electra.yaml | 18 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/electra.yaml | 27 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/electra.yaml | 34 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/electra.yaml | 43 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/electra.yaml | 48 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/gloas.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/gloas.yaml | 9 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/gloas.yaml | 14 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/gloas.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/gloas.yaml | 26 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/phase0.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/phase0.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/phase0.yaml | 30 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/phase0.yaml | 47 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/phase0.yaml | 58 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | presets/minimal/phase0.yaml | 73 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/capella.yaml | 4 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | presets/minimal/capella.yaml | 9 | # --------------------------------------------------------------- | COMMENT |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | specs/electra/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/deneb/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/capella/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/fulu/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/gloas/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/phase0/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/bellatrix/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/_features/eip8321/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/altair/p2p-interface.md | 0 | validate a proposerslashing for gossip propagation. raises gossipignore or gossipreject on validation failure. | STRING |
| HIGH | specs/electra/p2p-interface.md | 0 | validate a partialdatacolumnsidecar for gossip propagation on a subnet. raises gossipignore or gossipreject on validatio | STRING |
| HIGH | specs/gloas/p2p-interface.md | 0 | validate a partialdatacolumnsidecar for gossip propagation on a subnet. raises gossipignore or gossipreject on validatio | STRING |
| HIGH | specs/deneb/p2p-interface.md | 0 | validate a partialdatacolumnsidecar for gossip propagation on a subnet. raises gossipignore or gossipreject on validatio | STRING |
| HIGH | specs/altair/p2p-interface.md | 0 | validate a partialdatacolumnsidecar for gossip propagation on a subnet. raises gossipignore or gossipreject on validatio | STRING |
| HIGH | specs/fulu/p2p-interface.md | 0 | validate a partialdatacolumnsidecar for gossip propagation on a subnet. raises gossipignore or gossipreject on validatio | STRING |
| HIGH | specs/fulu/partial-columns/p2p-interface.md | 0 | validate a partialdatacolumnsidecar for gossip propagation on a subnet. raises gossipignore or gossipreject on validatio | STRING |
| HIGH | specs/gloas/partial-columns/p2p-interface.md | 0 | validate a partialdatacolumnsidecar for gossip propagation on a subnet. raises gossipignore or gossipreject on validatio | STRING |
| HIGH | specs/electra/beacon-chain.md | 0 | the indices of the validators participating in an attestation. | STRING |
| HIGH | specs/gloas/beacon-chain.md | 0 | the indices of the validators participating in an attestation. | STRING |
| HIGH | specs/phase0/beacon-chain.md | 0 | the indices of the validators participating in an attestation. | STRING |
| HIGH | specs/electra/beacon-chain.md | 0 | return the sync committee indices, with possible duplicates, for the next sync committee. | STRING |
| HIGH | specs/altair/beacon-chain.md | 0 | return the sync committee indices, with possible duplicates, for the next sync committee. | STRING |
| HIGH | specs/gloas/beacon-chain.md | 0 | return the sync committee indices, with possible duplicates, for the next sync committee. | STRING |
| HIGH | specs/electra/beacon-chain.md | 0 | return ``true`` if and only if ``execution_payload.block_hash`` is computed correctly. | STRING |
| HIGH | specs/deneb/beacon-chain.md | 0 | return ``true`` if and only if ``execution_payload.block_hash`` is computed correctly. | STRING |
| HIGH | specs/bellatrix/beacon-chain.md | 0 | return ``true`` if and only if ``execution_payload.block_hash`` is computed correctly. | STRING |
| HIGH | specs/electra/beacon-chain.md | 0 | return ``true`` if and only if ``new_payload_request`` is valid with respect to ``self.execution_state``. | STRING |
| HIGH | specs/deneb/beacon-chain.md | 0 | return ``true`` if and only if ``new_payload_request`` is valid with respect to ``self.execution_state``. | STRING |
| HIGH | specs/bellatrix/beacon-chain.md | 0 | return ``true`` if and only if ``new_payload_request`` is valid with respect to ``self.execution_state``. | STRING |
| HIGH | specs/electra/light-client/sync-protocol.md | 0 | a merkle branch proving ``current_sync_committee`` within ``beaconstate``. | STRING |
| HIGH | specs/altair/light-client/sync-protocol.md | 0 | a merkle branch proving ``current_sync_committee`` within ``beaconstate``. | STRING |
| HIGH | specs/gloas/light-client/sync-protocol.md | 0 | a merkle branch proving ``current_sync_committee`` within ``beaconstate``. | STRING |
| HIGH | specs/electra/light-client/sync-protocol.md | 0 | a merkle branch proving ``finalized_checkpoint.root`` within ``beaconstate``. | STRING |
| HIGH | specs/altair/light-client/sync-protocol.md | 0 | a merkle branch proving ``finalized_checkpoint.root`` within ``beaconstate``. | STRING |
| HIGH | specs/gloas/light-client/sync-protocol.md | 0 | a merkle branch proving ``finalized_checkpoint.root`` within ``beaconstate``. | STRING |
| HIGH | specs/electra/light-client/sync-protocol.md | 0 | a merkle branch proving ``next_sync_committee`` within ``beaconstate``. | STRING |
| HIGH | specs/altair/light-client/sync-protocol.md | 0 | a merkle branch proving ``next_sync_committee`` within ``beaconstate``. | STRING |
| HIGH | specs/gloas/light-client/sync-protocol.md | 0 | a merkle branch proving ``next_sync_committee`` within ``beaconstate``. | STRING |
| HIGH | specs/deneb/beacon-chain.md | 0 | return the flag indices that are satisfied by an attestation. | STRING |
| HIGH | specs/altair/beacon-chain.md | 0 | return the flag indices that are satisfied by an attestation. | STRING |
| HIGH | specs/gloas/beacon-chain.md | 0 | return the flag indices that are satisfied by an attestation. | STRING |
| HIGH | specs/_features/eip8025/fork-choice.md | 0 | run ``on_execution_payload_envelope`` upon receiving a new execution payload envelope. | STRING |
| HIGH | specs/gloas/fork-choice.md | 0 | run ``on_execution_payload_envelope`` upon receiving a new execution payload envelope. | STRING |
| HIGH | specs/heze/fork-choice.md | 0 | run ``on_execution_payload_envelope`` upon receiving a new execution payload envelope. | STRING |
| HIGH | …t/electra/unittests/test_execution_engine_interface.py | 0 | test noopexecutionengine.notify_new_payload returns true and doesn't modify state | STRING |
| HIGH | …est/deneb/unittests/test_execution_engine_interface.py | 0 | test noopexecutionengine.notify_new_payload returns true and doesn't modify state | STRING |
| HIGH | …bellatrix/unittests/test_execution_engine_interface.py | 0 | test noopexecutionengine.notify_new_payload returns true and doesn't modify state | STRING |
| HIGH | …t/electra/unittests/test_execution_engine_interface.py | 0 | test noopexecutionengine.is_valid_block_hash returns true and doesn't modify state | STRING |
| HIGH | …est/deneb/unittests/test_execution_engine_interface.py | 0 | test noopexecutionengine.is_valid_block_hash returns true and doesn't modify state | STRING |
| HIGH | …bellatrix/unittests/test_execution_engine_interface.py | 0 | test noopexecutionengine.is_valid_block_hash returns true and doesn't modify state | STRING |
| HIGH | …/test/electra/sanity/blocks/test_deposit_transition.py | 0 | run ``process_randao``, yielding: - pre-state ('pre') - block ('block') - post-state ('post'). if ``valid == false``, ru | STRING |
| HIGH | …t/phase0/block_processing/test_process_block_header.py | 0 | run ``process_randao``, yielding: - pre-state ('pre') - block ('block') - post-state ('post'). if ``valid == false``, ru | STRING |
| HIGH | …s/test/eip8321/block_processing/test_process_randao.py | 0 | run ``process_randao``, yielding: - pre-state ('pre') - block ('block') - post-state ('post'). if ``valid == false``, ru | STRING |
| HIGH | …eth_consensus_specs/test/electra/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| HIGH | …c/eth_consensus_specs/test/deneb/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| HIGH | …/eth_consensus_specs/test/altair/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| HIGH | …eth_consensus_specs/test/capella/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| HIGH | …ec/eth_consensus_specs/test/fulu/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| HIGH | …c/eth_consensus_specs/test/gloas/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| HIGH | …/eth_consensus_specs/test/phase0/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| HIGH | …h_consensus_specs/test/bellatrix/random/test_random.py | 0 | this module is generated from the ``random`` test generator. please do not edit this file manually. see the readme for t | STRING |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …sensus_specs/test/electra/sanity/blocks/test_blocks.py | 311 | # Create a 1 gwei withdrawal request for the same validator | COMMENT |
| MEDIUM | …sensus_specs/test/electra/sanity/blocks/test_blocks.py | 355 | # Create a switch to compounding validator request for the same validator | COMMENT |
| MEDIUM | …t/electra/block_processing/test_process_attestation.py | 164 | # Create an on chain aggregate | COMMENT |
| MEDIUM | …nsus_specs/test/altair/fork/test_altair_fork_random.py | 83 | # Create a random state | COMMENT |
| MEDIUM | …_consensus_specs/test/altair/light_client/test_sync.py | 551 | # Create a best_valid_update by emitting an update without a finalized_header | COMMENT |
| MEDIUM | …g/test_gossip_sync_committee_contribution_and_proof.py | 92 | # Create the aggregate signature | COMMENT |
| MEDIUM | …pyspec/eth_consensus_specs/test/utils/template_test.py | 34 | # Create a wrapper that registers the test when called | COMMENT |
| MEDIUM | …pec/eth_consensus_specs/test/utils/block_randomized.py | 128 | # Define the sets of transitions to combine | COMMENT |
| MEDIUM | …cs/test/gloas/fork/test_gloas_fork_onboard_builders.py | 138 | # Create a pending deposit with builder credentials | COMMENT |
| MEDIUM | …cs/test/gloas/fork/test_gloas_fork_onboard_builders.py | 165 | # Create a pending deposit with builder credentials | COMMENT |
| MEDIUM | …cs/test/gloas/fork/test_gloas_fork_onboard_builders.py | 249 | # Create a pending deposit for an existing validator (top-up) | COMMENT |
| MEDIUM | …cs/test/gloas/fork/test_gloas_fork_onboard_builders.py | 283 | # Create a pending deposit for a new validator (not builder credentials) | COMMENT |
| MEDIUM | …cs/test/gloas/fork/test_gloas_fork_onboard_builders.py | 399 | # Create a pending deposit with builder credentials but using validator's pubkey | COMMENT |
| MEDIUM | …est/gloas/block_processing/test_process_attestation.py | 614 | # Create a same-slot attestation for slot 0 with two distinct attesters | COMMENT |
| MEDIUM | …cessing/test_process_justification_and_finalization.py | 56 | # Create a bitfield filled with the given count per attestation, | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 67 | # Create an unaggregated attestation (single validator) referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 270 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 341 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 414 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 486 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 624 | # Create an attestation with multiple bits set (aggregated) referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 759 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 856 | # Create an attestation for the block that's not in store | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 944 | # Create an attestation | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 1017 | # Create an attestation without signing, referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 1088 | # Create an attestation with wrong target root, referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 1180 | # Create an attestation | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 32 | # Create a valid proposer slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 66 | # Create a valid proposer slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 111 | # Create a valid proposer slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 155 | # Create a valid proposer slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 199 | # Create a valid proposer slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 241 | # Create a valid proposer slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 280 | # Create a valid proposer slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 329 | # Create a proposer slashing with only second header signed | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_proposer_slashing.py | 369 | # Create a proposer slashing with only first header signed | COMMENT |
| MEDIUM | …0/networking/test_gossip_beacon_aggregate_and_proof.py | 675 | # Create an attestation referencing the unseen block | COMMENT |
| MEDIUM | …0/networking/test_gossip_beacon_aggregate_and_proof.py | 886 | # Create a second attestation with different data but the same aggregator. | COMMENT |
| MEDIUM | …0/networking/test_gossip_beacon_aggregate_and_proof.py | 1291 | # Create an attestation with INVALID signature BEFORE creating the aggregate | COMMENT |
| MEDIUM | …0/networking/test_gossip_beacon_aggregate_and_proof.py | 1424 | # Create an attestation with wrong target root BEFORE signing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_attester_slashing.py | 32 | # Create a valid attester slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_attester_slashing.py | 66 | # Create a valid attester slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_attester_slashing.py | 111 | # Create a valid attester slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_attester_slashing.py | 154 | # Create an attester slashing with only second attestation signed | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_attester_slashing.py | 194 | # Create an attester slashing with only first attestation signed | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_attester_slashing.py | 397 | # Create a valid attester slashing | COMMENT |
| MEDIUM | …est/phase0/networking/test_gossip_attester_slashing.py | 485 | # Create a valid attester slashing | COMMENT |
| MEDIUM⚡ | …pecs/test/phase0/unittests/fork_choice/test_on_tick.py | 40 | # Create a block at epoch 1 | STRING |
| MEDIUM⚡ | …pecs/test/phase0/unittests/fork_choice/test_on_tick.py | 50 | # Create a block at the start of epoch 2 | STRING |
| MEDIUM | …pecs/test/phase0/unittests/fork_choice/test_on_tick.py | 77 | # Create a block at epoch 1 | COMMENT |
| MEDIUM | …pecs/test/phase0/unittests/fork_choice/test_on_tick.py | 90 | # Create a block at epoch 1 | COMMENT |
| MEDIUM | …pecs/test/phase0/unittests/fork_choice/test_on_tick.py | 102 | # Create a block at the start of epoch 2 | COMMENT |
| MEDIUM | …nsus_specs/test/phase0/fork_choice/test_withholding.py | 62 | # Create the attack block that includes justifying attestations for epoch 4 | COMMENT |
| MEDIUM | …nsus_specs/test/phase0/fork_choice/test_withholding.py | 81 | # Create an honest chain in epoch 5 that includes the justifying attestations from the attack block | COMMENT |
| MEDIUM | …nsus_specs/test/phase0/fork_choice/test_withholding.py | 164 | # Create the attack block that includes justifying attestations for epoch 5 | COMMENT |
| MEDIUM | …nsus_specs/test/phase0/fork_choice/test_withholding.py | 180 | # Create an honest chain in epoch 6 that includes the justifying attestations from the attack block | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_get_head.py | 571 | # Create a fork from the earlier saved state | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_get_head.py | 658 | # Create a fork from the earlier saved state | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_get_head.py | 750 | # Create a fork from the earlier saved state | STRING |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_get_head.py | 764 | # Create a chain in epoch 7 that has new justification for epoch 7 | STRING |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sing/pending_deposits/test_process_pending_deposits.py | 483 | # Set epoch to withdrawable epoch + 1 to allow processing of the deposit | COMMENT |
| LOW | …sing/pending_deposits/test_process_pending_deposits.py | 507 | # Set epoch to withdrawable epoch + 1 to allow processing of the deposit | COMMENT |
| LOW | …sensus_specs/test/electra/sanity/blocks/test_blocks.py | 108 | # Check if BTEC was applied | COMMENT |
| LOW | …sensus_specs/test/electra/sanity/blocks/test_blocks.py | 142 | # Check if BTEC is effect | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 40 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 50 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 87 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 97 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 139 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 149 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 182 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 192 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 226 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 236 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 273 | # Set source to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 283 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 318 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 328 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 468 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 478 | # Set target to compounding credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 515 | # Set source to eth1 credentials | COMMENT |
| LOW⚡ | …block_processing/test_process_consolidation_request.py | 525 | # Set target to compounding credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 367 | # Set source to eth1 credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 382 | # Set target to compounding credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 420 | # Set source to eth1 credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 436 | # Set target to compounding credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 553 | # Set source to eth1 credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 572 | # Set source to eth1 credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 598 | # Set source to eth1 credentials | COMMENT |
| LOW | …block_processing/test_process_consolidation_request.py | 975 | # Set target to eth1 credentials | COMMENT |
| LOW | …_specs/test/altair/fork/test_fork_active_validators.py | 46 | # Set exit_epoch to a future epoch within MIN_SEED_LOOKAHEAD + 1 range | COMMENT |
| LOW | …_specs/test/altair/fork/test_fork_active_validators.py | 105 | # Set exit_epoch to a future epoch within MIN_SEED_LOOKAHEAD + 1 range | COMMENT |
| LOW | …eth_consensus_specs/test/capella/sanity/test_blocks.py | 249 | # Set latest_block_hash to match latest_execution_payload_bid.block_hash | COMMENT |
| LOW⚡ | …cs/test/fulu/fork/test_fulu_fork_proposer_lookahead.py | 41 | # Check if the pre-fork simulation matches the post-fork `state.proposer_lookahead` | COMMENT |
| LOW⚡ | …cs/test/fulu/fork/test_fulu_fork_proposer_lookahead.py | 59 | # Set exit_epoch to a future epoch within MIN_SEED_LOOKAHEAD + 1 range | COMMENT |
| LOW | …eth_consensus_specs/test/fulu/sanity/test_lookahead.py | 32 | # Set balance to close the next hysteresis threshold | COMMENT |
| LOW | …epoch_processing/test_process_rewards_and_penalties.py | 155 | # Check if base rewards are consistent with effective balance. | COMMENT |
| LOW | …cessing/test_process_justification_and_finalization.py | 50 | # Check if we already have had sufficient balance. (and undone if we don't want it). | COMMENT |
| LOW | …c/eth_consensus_specs/test/phase0/sanity/test_slots.py | 115 | # Check if the proposer changed as a result of the balance change | COMMENT |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 511 | # Check if builder index is valid | COMMENT |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 568 | # Set withdrawable_epoch to make builder eligible for sweep | COMMENT |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 578 | # Check if validator index is valid | COMMENT |
| LOW | …sus_specs/test/helpers/light_client_data_collection.py | 413 | # Check if light client data improved | COMMENT |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 161 | # Check if this was a new builder or top-up | COMMENT |
| LOW | …core/pyspec/eth_consensus_specs/test/helpers/random.py | 228 | # Set validator to compounding type with MAX_EFFECTIVE_BALANCE_ELECTRA | COMMENT |
| LOW | …/eth_consensus_specs/test/helpers/execution_payload.py | 303 | # Set block_hash to a different value than spec.Hash32(), | COMMENT |
| LOW | …_consensus_specs/test/helpers/execution_payload_bid.py | 104 | # Check if this is a self-build case | COMMENT |
| LOW | …c/eth_consensus_specs/test/helpers/multi_operations.py | 315 | # Set this to reasonably high arbitrary limit. | COMMENT |
| LOW | tests/core/pyspec/eth_consensus_specs/utils/bls.py | 240 | # Check if we need to perform a G1 or G2 multiexp | COMMENT |
| LOW | …iance_runners/fork_choice/instantiators/block_cover.py | 37 | # Check if any child of the block justifies the epoch | COMMENT |
| LOW | scripts/check_fork_comments.py | 36 | # Check if action is valid (only "New" or "Modified" allowed) | COMMENT |
| LOW | scripts/check_fork_comments.py | 64 | # Check if the fork comment is within a Python-style comment | COMMENT |
| LOW | scripts/check_fork_comments.py | 73 | # Check if there's any non-whitespace content before the # | COMMENT |
| LOW | scripts/check_fork_comments.py | 89 | # Check if there's any non-whitespace content after the fork comment | COMMENT |
| LOW | .github/workflows/checks.yml | 60 | # Check if starts with capital letter | COMMENT |
| LOW | .github/workflows/checks.yml | 66 | # Check if ends with punctuation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | specs/gloas/beacon-chain.md | 841 | deposits: Deposits | COMMENT |
| LOW | …_consensus_specs/test/altair/light_client/test_sync.py | 81 | test, spec, state, block, attested_state, attested_block, finalized_block | COMMENT |
| LOW | …_consensus_specs/test/altair/light_client/test_sync.py | 121 | assert test.store.best_valid_update is None | COMMENT |
| LOW | …_consensus_specs/test/altair/light_client/test_sync.py | 181 | assert test.store.next_sync_committee == finalized_state.next_sync_committee | COMMENT |
| LOW | …_consensus_specs/test/altair/light_client/test_sync.py | 221 | # ``` | COMMENT |
| LOW | …_consensus_specs/test/altair/light_client/test_sync.py | 281 | assert test.store.best_valid_update is None | COMMENT |
| LOW | …/unittests/validator/test_prepare_execution_payload.py | 121 | # post-block_1 balance. payload.withdrawals must hash-equal | COMMENT |
| LOW | …nsensus_specs/test/gloas/sanity/test_epoch_boundary.py | 501 | COMMENT | |
| LOW | …s/test/phase0/fast_confirmation/test_previous_epoch.py | 161 | # prev_epoch | curr_epoch | COMMENT |
| LOW | …s/test/phase0/fast_confirmation/test_previous_epoch.py | 221 | target_block_rate = 50 | COMMENT |
| LOW | configs/minimal.yaml | 1 | # Minimal config | COMMENT |
| LOW | configs/minimal.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| LOW | configs/minimal.yaml | 141 | # --------------------------------------------------------------- | COMMENT |
| LOW | configs/mainnet.yaml | 1 | # Mainnet config | COMMENT |
| LOW | configs/mainnet.yaml | 21 | TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615 | COMMENT |
| LOW | presets/minimal/eip8148.yaml | 1 | # Minimal preset - EIP8148 | COMMENT |
| LOW | presets/minimal/altair.yaml | 1 | # Minimal preset - Altair | COMMENT |
| LOW | presets/minimal/deneb.yaml | 1 | # Minimal preset - Deneb | COMMENT |
| LOW | presets/minimal/bellatrix.yaml | 1 | # Minimal preset - Bellatrix | COMMENT |
| LOW | presets/minimal/heze.yaml | 1 | # Minimal preset - Heze | COMMENT |
| LOW | presets/minimal/eip8205.yaml | 1 | # Minimal preset - EIP8205 | COMMENT |
| LOW | presets/minimal/eip8321.yaml | 1 | # Minimal preset - EIP8321 | COMMENT |
| LOW | presets/minimal/fulu.yaml | 1 | # Minimal preset - Fulu | COMMENT |
| LOW | presets/minimal/electra.yaml | 1 | # Minimal preset - Electra | COMMENT |
| LOW | presets/minimal/electra.yaml | 21 | # [customized] 2**6 (= 64) pending partial withdrawals | COMMENT |
| LOW | presets/minimal/electra.yaml | 41 | COMMENT | |
| LOW | presets/minimal/gloas.yaml | 1 | # Minimal preset - Gloas | COMMENT |
| LOW | presets/minimal/gloas.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| LOW | presets/minimal/phase0.yaml | 1 | # Minimal preset - Phase0 | COMMENT |
| LOW | presets/minimal/phase0.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| LOW | presets/minimal/phase0.yaml | 41 | # [customized] 2**6 (= 64) slots | COMMENT |
| LOW | presets/minimal/phase0.yaml | 61 | # 2**9 (= 512) | COMMENT |
| LOW | presets/minimal/capella.yaml | 1 | # Minimal preset - Capella | COMMENT |
| LOW | presets/mainnet/eip8148.yaml | 1 | # Mainnet preset - EIP8148 | COMMENT |
| LOW | presets/mainnet/altair.yaml | 1 | # Mainnet preset - Altair | COMMENT |
| LOW | presets/mainnet/deneb.yaml | 1 | # Mainnet preset - Deneb | COMMENT |
| LOW | presets/mainnet/bellatrix.yaml | 1 | # Mainnet preset - Bellatrix | COMMENT |
| LOW | presets/mainnet/heze.yaml | 1 | # Mainnet preset - Heze | COMMENT |
| LOW | presets/mainnet/eip8205.yaml | 1 | # Mainnet preset - EIP8205 | COMMENT |
| LOW | presets/mainnet/eip8321.yaml | 1 | # Mainnet preset - EIP8321 | COMMENT |
| LOW | presets/mainnet/fulu.yaml | 1 | # Mainnet preset - Fulu | COMMENT |
| LOW | presets/mainnet/electra.yaml | 1 | # Mainnet preset - Electra | COMMENT |
| LOW | presets/mainnet/electra.yaml | 21 | # 2**27 (= 134,217,728) pending partial withdrawals | COMMENT |
| LOW | presets/mainnet/electra.yaml | 41 | COMMENT | |
| LOW | presets/mainnet/gloas.yaml | 1 | # Mainnet preset - Gloas | COMMENT |
| LOW | presets/mainnet/gloas.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| LOW | presets/mainnet/phase0.yaml | 1 | # Mainnet preset - Phase0 | COMMENT |
| LOW | presets/mainnet/phase0.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| LOW | presets/mainnet/phase0.yaml | 41 | # 2**13 (= 8,192) slots | COMMENT |
| LOW | presets/mainnet/phase0.yaml | 61 | # 2**9 (= 512) | COMMENT |
| LOW | presets/mainnet/capella.yaml | 1 | # Mainnet preset - Capella | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 398 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 650 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 748 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 656 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 657 | CODE | |
| LOW | …pec/eth_consensus_specs/test/utils/block_randomized.py | 167 | CODE | |
| LOW | …spec/eth_consensus_specs/test/utils/yield_generator.py | 13 | CODE | |
| LOW | …epoch_processing/test_process_rewards_and_penalties.py | 45 | CODE | |
| LOW | …cessing/test_process_justification_and_finalization.py | 16 | CODE | |
| LOW | …_consensus_specs/test/phase0/finality/test_finality.py | 115 | CODE | |
| LOW | …_consensus_specs/test/phase0/finality/test_finality.py | 165 | CODE | |
| LOW | …s/test/bellatrix/unittests/validator/test_validator.py | 36 | CODE | |
| LOW | …pyspec/eth_consensus_specs/test/helpers/fork_choice.py | 326 | CODE | |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 328 | CODE | |
| LOW | …/eth_consensus_specs/test/helpers/fast_confirmation.py | 221 | CODE | |
| LOW | …sus_specs/test/helpers/light_client_data_collection.py | 703 | CODE | |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 20 | CODE | |
| LOW | …ec/eth_consensus_specs/test/helpers/fork_transition.py | 333 | CODE | |
| LOW | …ec/eth_consensus_specs/test/helpers/fork_transition.py | 429 | CODE | |
| LOW | …yspec/eth_consensus_specs/test/helpers/attestations.py | 468 | CODE | |
| LOW | …ore/pyspec/eth_consensus_specs/test/helpers/rewards.py | 147 | CODE | |
| LOW | …ore/pyspec/eth_consensus_specs/test/helpers/rewards.py | 254 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/debug/encode.py | 12 | CODE | |
| LOW | …/core/pyspec/eth_consensus_specs/debug/random_value.py | 40 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/debug/decode.py | 14 | CODE | |
| LOW | …liance_runners/fork_choice/instantiators/block_tree.py | 222 | CODE | |
| LOW | …liance_runners/fork_choice/instantiators/block_tree.py | 757 | CODE | |
| LOW | …liance_runners/fork_choice/instantiators/block_tree.py | 919 | CODE | |
| LOW | …liance_runners/fork_choice/instantiators/block_tree.py | 943 | CODE | |
| LOW | …pliance_runners/fork_choice/instantiators/test_case.py | 298 | CODE | |
| LOW | …pliance_runners/fork_choice/instantiators/test_case.py | 578 | CODE | |
| LOW | …pliance_runners/fork_choice/instantiators/scheduler.py | 70 | CODE | |
| LOW | …iance_runners/fork_choice/instantiators/block_cover.py | 41 | CODE | |
| LOW | …iance_runners/fork_choice/instantiators/block_cover.py | 315 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 504 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 562 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 581 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 619 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 525 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 563 | CODE | |
| LOW | …tors/compliance_runners/fork_choice/runner/test_run.py | 76 | CODE | |
| LOW | scripts/combine_preset_coverage.py | 47 | CODE | |
| LOW | scripts/check_fork_comments.py | 11 | CODE | |
| LOW | scripts/check_value_annotations.py | 87 | CODE | |
| LOW | scripts/gen_spec_indices.py | 40 | CODE | |
| LOW | pysetup/md_to_spec.py | 143 | CODE | |
| LOW | pysetup/md_to_spec.py | 239 | CODE | |
| LOW | pysetup/md_doc_paths.py | 74 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 392 | except Exception: | CODE |
| LOW | …/test/bellatrix/unittests/test_validate_merge_block.py | 46 | except Exception as e: | CODE |
| LOW | …ec/eth_consensus_specs/test/helpers/fork_transition.py | 194 | except Exception as e: | CODE |
| LOW | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 58 | except Exception as e: | CODE |
| LOW | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 65 | except Exception as e: | CODE |
| LOW⚡ | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 77 | except Exception as e: | CODE |
| LOW⚡ | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 89 | except Exception as e: | CODE |
| LOW⚡ | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 96 | except Exception as e: | CODE |
| LOW⚡ | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 103 | except Exception as e: | CODE |
| LOW⚡ | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 116 | except Exception as e: | CODE |
| LOW⚡ | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 127 | except Exception as e: | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 55 | def blob_to_kzg_commitment(blob): | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 62 | def compute_blob_kzg_proof(blob, commitment_bytes): | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 69 | def verify_blob_kzg_proof(blob, commitment_bytes, proof_bytes): | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 81 | def verify_blob_kzg_proof_batch(blobs, commitments_bytes, proofs_bytes): | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 93 | def compute_cells(blob): | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 100 | def compute_cells_and_kzg_proofs(blob): | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 107 | def verify_cell_kzg_proof_batch(commitments_bytes, cell_indices, cells, proofs_b | CODE |
| MEDIUM | tests/core/pyspec/eth_consensus_specs/utils/kzg.py | 120 | def recover_cells_and_kzg_proofs(cell_indices, cells): | CODE |
| LOW | tests/core/pyspec/eth_consensus_specs/utils/bls.py | 60 | except Exception: | CODE |
| LOW | tests/core/pyspec/eth_consensus_specs/utils/bls.py | 70 | except Exception: | CODE |
| LOW | scripts/check_value_annotations.py | 51 | except Exception: | CODE |
| MEDIUM | pysetup/generate_specs.py | 375 | print(f"Error: {e}", file=sys.stderr) | STRING |
| LOW | pysetup/generate_specs.py | 377 | except Exception as e: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/electra/epoch_processing/pending_deposits/__init__.py | 2 | CODE | |
| LOW | …/electra/epoch_processing/pending_deposits/__init__.py | 3 | CODE | |
| LOW | …consensus_specs/test/electra/sanity/blocks/__init__.py | 3 | CODE | |
| LOW | …consensus_specs/test/electra/sanity/blocks/__init__.py | 4 | CODE | |
| LOW | …core/pyspec/eth_consensus_specs/test/utils/manifest.py | 1 | CODE | |
| LOW | …core/pyspec/eth_consensus_specs/test/utils/__init__.py | 1 | CODE | |
| LOW | …core/pyspec/eth_consensus_specs/test/utils/__init__.py | 4 | CODE | |
| LOW | …pec/eth_consensus_specs/test/utils/block_randomized.py | 26 | CODE | |
| LOW | …consensus_specs/test/pytest_plugins/yield_generator.py | 1 | CODE | |
| LOW | …core/pyspec/eth_consensus_specs/test/helpers/merkle.py | 1 | CODE | |
| LOW | …/generators/compliance_runners/fork_choice/conftest.py | 1 | CODE | |
| LOW | …s/compliance_runners/fork_choice/generate_comptests.py | 1 | CODE | |
| LOW | …nerators/compliance_runners/gen_base/pytest_support.py | 1 | CODE | |
| LOW | …s/generators/compliance_runners/gen_base/gen_typing.py | 1 | CODE | |
| LOW | tests/generators/compliance_runners/gen_base/output.py | 1 | CODE | |
| LOW | pysetup/md_to_spec.py | 13 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …cs/test/gloas/light_client/test_single_merkle_proof.py | 26 | + block.message.body.signed_execution_payload_bid.message.parent_block_hash.hex(), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 328 | CODE | |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 631 | CODE | |
| LOW | …/eth_consensus_specs/test/helpers/fast_confirmation.py | 221 | CODE | |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 20 | CODE | |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 110 | CODE | |
| LOW | …yspec/eth_consensus_specs/test/helpers/attestations.py | 112 | CODE | |
| LOW | …eth_consensus_specs/test/helpers/proposer_slashings.py | 253 | CODE | |
| LOW | …_consensus_specs/test/helpers/execution_payload_bid.py | 27 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/core/pyspec/eth_consensus_specs/test/context.py | 270 | # Double validators to facilitate randomized testing | COMMENT |
| LOW | …spec/eth_consensus_specs/test/utils/yield_generator.py | 82 | # If the function is not a generator, just return it as-is. | COMMENT |
| LOW | pysetup/md_to_spec.py | 372 | # For minimal, we expect this to be different; just use the file config | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/core/pyspec/eth_consensus_specs/debug/tools.py | 15 | Get the SSZObject from an SSZ-encoded file. Automatically detects whether the file is snappy-compressed based | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cessing/test_process_justification_and_finalization.py | 339 | # Step 1: Exit ~1/2 vals in current epoch | COMMENT |
| LOW | …s/test/bellatrix/unittests/validator/test_validator.py | 18 | # NOTE: The following parameter names are in the view of the head block (the second block) | COMMENT |
| LOW | …/core/pyspec/eth_consensus_specs/test/helpers/state.py | 111 | # WARNING: The following functions can only be used post-altair due to the manipulation of participation flags directly | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …core/pyspec/eth_consensus_specs/test/utils/__init__.py | 6 | __all__ = [ # avoid "unused import" lint error | CODE |
| LOW | …core/pyspec/eth_consensus_specs/test/helpers/merkle.py | 5 | __all__ = ["build_proof", "get_generalized_index"] | CODE |
| LOW | …s/generators/compliance_runners/gen_base/gen_typing.py | 38 | def set_output_dir(self, output_dir: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pyspec/eth_consensus_specs/test/utils/template_test.py | 22 | def test_function(spec, state): | STRING |
| LOW | …pyspec/eth_consensus_specs/test/utils/template_test.py | 70 | def test_function(spec, state): | STRING |
| LOW | …pyspec/eth_consensus_specs/test/utils/template_test.py | 130 | def test_function(spec, state): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cessing/test_process_justification_and_finalization.py | 339 | # Step 1: Exit ~1/2 vals in current epoch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c/eth_consensus_specs/test/helpers/epoch_processing.py | 10 | # Note: make sure to explicitly remove/override a processing function in later phases, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 87 | # TODO: add tests for justified_root and finalized_root | COMMENT |