Ethereum Consensus Specifications
This report summarizes scanner evidence for ethereum/consensus-specs, a Python project with 3,969 GitHub stars. SynthScan examined 193,969 lines of code across 760 source files, recording 3271 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 20.7 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3046 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 2999 finding(s).
Which changes need focused human review? 3271 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3271 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | specs/electra/weak-subjectivity.md | 32 | def compute_weak_subjectivity_period(state: BeaconState) -> Epoch: | 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 | 644 | def is_compounding_withdrawal_credential(withdrawal_credentials: Bytes32) -> bool: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 651 | def has_compounding_withdrawal_credential(validator: Validator) -> bool: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 661 | def has_execution_withdrawal_credential(validator: Validator) -> bool: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 771 | def get_activation_exit_churn_limit(state: BeaconState) -> Gwei: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 781 | def get_consolidation_churn_limit(state: BeaconState) -> Gwei: | CODE |
| LOW⚡ | specs/electra/beacon-chain.md | 788 | def get_pending_balance_to_withdraw(state: BeaconState, validator_index: ValidatorIndex) -> Gwei: | CODE |
| LOW | specs/electra/beacon-chain.md | 630 | def is_eligible_for_activation_queue(validator: Validator) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 678 | def is_fully_withdrawable_validator(validator: Validator, balance: Gwei, epoch: Epoch) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 698 | def is_partially_withdrawable_validator(validator: Validator, balance: Gwei) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 718 | def is_eligible_for_partial_withdrawals(validator: Validator, balance: Gwei) -> bool: | CODE |
| LOW | specs/electra/beacon-chain.md | 743 | def get_max_effective_balance(validator: Validator) -> Gwei: | CODE |
| LOW | specs/electra/beacon-chain.md | 829 | def get_next_sync_committee_indices(state: BeaconState) -> Sequence[ValidatorIndex]: | CODE |
| LOW | specs/electra/beacon-chain.md | 887 | def switch_to_compounding_validator(state: BeaconState, index: ValidatorIndex) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 898 | def queue_excess_active_balance(state: BeaconState, index: ValidatorIndex) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 920 | def compute_exit_epoch_and_update_churn(state: BeaconState, exit_balance: Gwei) -> Epoch: | CODE |
| LOW | specs/electra/beacon-chain.md | 948 | def compute_consolidation_epoch_and_update_churn( | CODE |
| LOW | specs/electra/beacon-chain.md | 1208 | def process_pending_consolidations(state: BeaconState) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 1238 | def process_effective_balance_updates(state: BeaconState) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 1303 | def verify_and_notify_new_payload( | CODE |
| LOW | specs/electra/beacon-chain.md | 1356 | def get_pending_partial_withdrawals( | CODE |
| LOW | specs/electra/beacon-chain.md | 1403 | def get_validators_sweep_withdrawals( | CODE |
| LOW | specs/electra/beacon-chain.md | 1486 | def update_pending_partial_withdrawals( | CODE |
| LOW | specs/electra/beacon-chain.md | 1522 | def get_execution_requests_list(execution_requests: ExecutionRequests) -> Sequence[bytes]: | CODE |
| LOW | specs/electra/beacon-chain.md | 1543 | def process_execution_payload( | CODE |
| LOW | specs/electra/beacon-chain.md | 1707 | def get_validator_from_deposit( | CODE |
| LOW | specs/electra/beacon-chain.md | 1736 | def add_validator_to_registry( | CODE |
| LOW | specs/electra/beacon-chain.md | 1786 | def is_valid_deposit_signature( | CODE |
| LOW | specs/electra/beacon-chain.md | 1867 | def process_withdrawal_request(state: BeaconState, withdrawal_request: WithdrawalRequest) -> None: | CODE |
| LOW | specs/electra/beacon-chain.md | 1962 | def is_valid_switch_to_compounding_request( | CODE |
| LOW | specs/electra/beacon-chain.md | 2000 | 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 | 271 | 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 | 597 | def validate_beacon_attestation_gossip( | CODE |
| LOW | specs/deneb/p2p-interface.md | 699 | def validate_blob_sidecar_gossip( | CODE |
| LOW | specs/deneb/beacon-chain.md | 309 | def kzg_commitment_to_versioned_hash(kzg_commitment: KZGCommitment) -> VersionedHash: | CODE |
| LOW | specs/deneb/beacon-chain.md | 324 | def get_attestation_participation_flag_indices( | CODE |
| LOW | specs/deneb/beacon-chain.md | 364 | def get_validator_activation_churn_limit(state: BeaconState) -> Uint64: | CODE |
| LOW | specs/deneb/beacon-chain.md | 394 | def is_valid_versioned_hashes( | CODE |
| 2722 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/eip8025/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/heze/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/eip8198/beacon-chain.md | 0 | return the deltas for a given ``flag_index`` by scanning through the participation flags. | STRING |
| HIGH | specs/_features/eip7716/beacon-chain.md | 0 | return the deltas for a given ``flag_index`` by scanning through the participation flags. | STRING |
| HIGH | specs/altair/beacon-chain.md | 0 | return the deltas for a given ``flag_index`` by scanning through the participation flags. | STRING |
| HIGH | specs/_features/eip8198/beacon-chain.md | 0 | return the inactivity penalty deltas by considering timely target participation flags and inactivity scores. | STRING |
| HIGH | specs/altair/beacon-chain.md | 0 | return the inactivity penalty deltas by considering timely target participation flags and inactivity scores. | STRING |
| HIGH | specs/bellatrix/beacon-chain.md | 0 | return the inactivity penalty deltas by considering timely target participation flags and inactivity scores. | 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 |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 700 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 717 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 747 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 784 | # ------------ | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_on_block.py | 804 | # ------------ | COMMENT |
| MEDIUM | configs/minimal.yaml | 13 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 21 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 32 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 68 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 117 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 148 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 159 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 167 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 237 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/minimal.yaml | 244 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 16 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 24 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 35 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 72 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 121 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 152 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 163 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 170 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 240 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | configs/mainnet.yaml | 251 | # --------------------------------------------------------------- | 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/eip7716.yaml | 4 | # --------------------------------------------------------------- | 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 |
| 39 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 | 131 | # 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 | 267 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 336 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 407 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 478 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 614 | # Create an attestation with multiple bits set (aggregated) referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 747 | # Create an unaggregated attestation referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 844 | # Create an attestation for the block that's not in store | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 931 | # Create an attestation | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 1003 | # Create an attestation without signing, referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 1073 | # Create an attestation with wrong target root, referencing anchor block | COMMENT |
| MEDIUM | …st/phase0/networking/test_gossip_beacon_attestation.py | 1164 | # 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 | 698 | # Create an attestation referencing the unseen block | COMMENT |
| MEDIUM | …0/networking/test_gossip_beacon_aggregate_and_proof.py | 911 | # Create a second attestation with different data but the same aggregator. | COMMENT |
| MEDIUM | …0/networking/test_gossip_beacon_aggregate_and_proof.py | 1312 | # Create an attestation with INVALID signature BEFORE creating the aggregate | COMMENT |
| MEDIUM | …0/networking/test_gossip_beacon_aggregate_and_proof.py | 1443 | # 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 | 162 | # Create the attack block that includes justifying attestations for epoch 5 | COMMENT |
| MEDIUM | …nsus_specs/test/phase0/fork_choice/test_withholding.py | 178 | # 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 | 637 | # Create a fork from the earlier saved state | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_get_head.py | 724 | # Create a fork from the earlier saved state | COMMENT |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_get_head.py | 816 | # Create a fork from the earlier saved state | STRING |
| MEDIUM | …nsensus_specs/test/phase0/fork_choice/test_get_head.py | 830 | # 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 | 484 | # Set epoch to withdrawable epoch + 1 to allow processing of the deposit | COMMENT |
| LOW | …sing/pending_deposits/test_process_pending_deposits.py | 508 | # 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⚡ | …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 | 515 | # Check if builder index is valid | COMMENT |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 572 | # Set withdrawable_epoch to make builder eligible for sweep | COMMENT |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 582 | # Check if validator index is valid | COMMENT |
| LOW | …sus_specs/test/helpers/light_client_data_collection.py | 414 | # Check if light client data improved | COMMENT |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 165 | # 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 | 302 | # Set block_hash to a different value than spec.Hash32(), | COMMENT |
| LOW | …_consensus_specs/test/helpers/execution_payload_bid.py | 107 | # Check if this is a self-build case | COMMENT |
| LOW | …c/eth_consensus_specs/test/helpers/multi_operations.py | 325 | # 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 | # [Modified in Gloas:EIP7688] | 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 | envelope = build_signed_execution_payload_envelope( | 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 | 101 | # 5000 basis points, 50% of SLOT_DURATION_MS | COMMENT |
| LOW | configs/minimal.yaml | 141 | CHURN_LIMIT_QUOTIENT_GLOAS: 16 | COMMENT |
| LOW | configs/mainnet.yaml | 1 | # Mainnet config | COMMENT |
| LOW | configs/mainnet.yaml | 21 | TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615 | COMMENT |
| LOW | configs/mainnet.yaml | 121 | # --------------------------------------------------------------- | 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/eip7716.yaml | 1 | # Minimal preset - EIP7716 | 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/eip7716.yaml | 1 | # Mainnet preset - EIP7716 | 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 | 422 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 674 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 772 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 680 | CODE | |
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 681 | CODE | |
| LOW | …pec/eth_consensus_specs/test/utils/block_randomized.py | 170 | 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 | 323 | CODE | |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 332 | CODE | |
| LOW | …/eth_consensus_specs/test/helpers/fast_confirmation.py | 223 | CODE | |
| LOW | …sus_specs/test/helpers/light_client_data_collection.py | 704 | CODE | |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 24 | CODE | |
| LOW | …ec/eth_consensus_specs/test/helpers/fork_transition.py | 373 | CODE | |
| LOW | …ec/eth_consensus_specs/test/helpers/fork_transition.py | 478 | 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 | 306 | CODE | |
| LOW | …pliance_runners/fork_choice/instantiators/test_case.py | 585 | CODE | |
| LOW | …unners/fork_choice/instantiators/mutation_operators.py | 86 | 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 | 310 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 504 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 559 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 578 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 616 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 522 | CODE | |
| LOW | …ompliance_runners/fork_choice/instantiators/helpers.py | 560 | CODE | |
| LOW | …tors/compliance_runners/fork_choice/runner/test_run.py | 80 | 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 | 78 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/core/pyspec/eth_consensus_specs/test/context.py | 456 | except AssertionError: | CODE |
| HIGH | tests/core/pyspec/eth_consensus_specs/test/context.py | 458 | except IndexError: | CODE |
| HIGH | …eth_consensus_specs/test/fulu/sanity/test_lookahead.py | 86 | except AssertionError: | CODE |
| HIGH | …/test/phase0/unittests/math/test_integer_squareroot.py | 32 | except SSZValueError: | CODE |
| HIGH | …bellatrix/unittests/test_execution_engine_interface.py | 54 | except NotImplementedError: | CODE |
| HIGH | …yspec/eth_consensus_specs/utils/test_merkle_minimal.py | 83 | except AssertionError: | CODE |
| HIGH | scripts/check_value_annotations.py | 51 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/pyspec/eth_consensus_specs/test/context.py | 416 | 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 | 218 | 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 | 2 | 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 | 332 | CODE | |
| LOW | …pyspec/eth_consensus_specs/test/helpers/withdrawals.py | 635 | CODE | |
| LOW | …/eth_consensus_specs/test/helpers/fast_confirmation.py | 223 | CODE | |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 24 | CODE | |
| LOW | …nsensus_specs/test/helpers/builder_deposit_requests.py | 114 | CODE | |
| LOW | …yspec/eth_consensus_specs/test/helpers/attestations.py | 112 | CODE | |
| LOW | …eth_consensus_specs/test/helpers/proposer_slashings.py | 239 | CODE | |
| LOW | …_consensus_specs/test/helpers/execution_payload_bid.py | 27 | CODE | |
| LOW | …e/pyspec/eth_consensus_specs/test/helpers/gloas/bid.py | 287 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/core/pyspec/eth_consensus_specs/test/context.py | 294 | # 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 | 110 | # 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 | 6 | __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 | 86 | # TODO: add tests for justified_root and finalized_root | COMMENT |