The Ethereum Improvement Proposal repository
289 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | EIPS/eip-7748.md | 138 | def conversion_move_to_next_account(state: State): |
| LOW | EIPS/eip-2565.md | 25 | def calculate_multiplication_complexity(base_length, modulus_length): |
| LOW | EIPS/eip-2565.md | 30 | def calculate_iteration_count(exponent_length, exponent): |
| LOW | EIPS/eip-7251.md | 89 | def add_consolidation_request(Bytes48: source_pubkey, Bytes48: target_pubkey): |
| LOW | EIPS/eip-7251.md | 167 | def process_consolidation_requests(): |
| LOW | EIPS/eip-7251.md | 182 | def dequeue_consolidation_requests(): |
| LOW | EIPS/eip-7251.md | 215 | def update_excess_consolidation_requests(): |
| LOW | EIPS/eip-7251.md | 229 | def reset_consolidation_requests_count(): |
| LOW | EIPS/eip-7002.md | 191 | def dequeue_withdrawal_requests(): |
| LOW | EIPS/eip-7002.md | 222 | def update_excess_withdrawal_requests(): |
| LOW | EIPS/eip-7002.md | 235 | def reset_withdrawal_requests_count(): |
| LOW | EIPS/eip-4762.md | 25 | def get_storage_slot_tree_keys(storage_key: int) -> [int, int]: |
| LOW | EIPS/eip-6404.md | 95 | def validate_execution_signature( |
| LOW | EIPS/eip-6404.md | 376 | def calculate_transaction_intrinsic_gas(tx: Transaction) -> uint: |
| LOW | EIPS/eip-6800.md | 53 | def extension_and_suffix_tree(stem: bytes31, values: Dict[byte, bytes32]) -> int: |
| LOW | EIPS/eip-6800.md | 157 | def get_tree_key_for_basic_data(address: Address32): |
| LOW | EIPS/eip-6800.md | 161 | def get_tree_key_for_code_hash(address: Address32): |
| LOW | EIPS/eip-6800.md | 183 | def get_tree_key_for_code_chunk(address: Address32, chunk_id: int): |
| LOW | EIPS/eip-6800.md | 226 | def get_tree_key_for_storage_slot(address: Address32, storage_key: int): |
| LOW | EIPS/eip-4844.md | 176 | def get_base_fee_per_blob_gas(header: Header) -> int: |
| LOW | EIPS/eip-4844.md | 203 | def point_evaluation_precompile(input: Bytes) -> Bytes: |
| LOW | EIPS/eip-2935.md | 198 | def process_block_hash_history(block: Block, state: State): |
| LOW | EIPS/eip-107.md | 447 | function needToAndCanUnlockAccount(address,url,callback){ |
| LOW | EIPS/eip-7658.md | 84 | def process_sync_committee_updates(state: BeaconState) -> None: |
| LOW | EIPS/eip-7886.md | 292 | def deduct_max_tx_fee_from_sender_balance(block_env, tx): |
| LOW | EIPS/eip-8011.md | 88 | def compute_block_max_gas_metered(block: Block) -> int: |
| LOW | EIPS/eip-7657.md | 65 | def sync_committee_slashing_evidence_has_sync_committee(evidence: SyncCommitteeSlashingEvidence) -> bool: |
| LOW | EIPS/eip-7657.md | 68 | def sync_committee_slashing_evidence_has_finality(evidence: SyncCommitteeSlashingEvidence) -> bool: |
| LOW | EIPS/eip-7657.md | 71 | def is_valid_sync_committee_slashing_evidence(evidence: SyncCommitteeSlashingEvidence, |
| LOW | EIPS/eip-7657.md | 171 | def process_sync_committee_slashing(state: BeaconState, sync_committee_slashing: SyncCommitteeSlashing) -> None: |
| LOW | EIPS/eip-8182.md | 290 | function isAcceptedNoteCommitmentRoot( |
| LOW | EIPS/eip-8237.md | 94 | def compute_partial_header_hash( |
| LOW | EIPS/eip-7892.md | 120 | def get_base_fee_per_blob_gas(header: Header, blob_schedule: BlobSchedule) -> int: |
| LOW | EIPS/eip-7915.md | 65 | def calc_base_fee_per_blob_gas_ema(parent: Header) -> int: |
| LOW | EIPS/eip-7804.md | 148 | def process_withdrawal_credential_update_request(state: BeaconState, withdrawal_credentials_update_requests: WithdrawalC |
| LOW | EIPS/eip-7804.md | 176 | def update_withdrawal_credentials(state: BeaconState, index: ValidatorIndex, new_credential_type: Bytes1, new_withdrawal |
| LOW | EIPS/eip-7883.md | 27 | def calculate_multiplication_complexity(base_length, modulus_length): |
| LOW | EIPS/eip-7883.md | 34 | def calculate_iteration_count(exponent_length, exponent): |
| LOW | EIPS/eip-7883.md | 86 | def calculate_multiplication_complexity(base_length, modulus_length): |
| LOW | EIPS/eip-7883.md | 95 | def calculate_multiplication_complexity(base_length, modulus_length): |
| LOW | EIPS/eip-8061.md | 52 | def get_activation_churn_limit(state: BeaconState) -> Gwei: |
| LOW | EIPS/eip-8061.md | 73 | def get_consolidation_churn_limit(state: BeaconState) -> Gwei: |
| LOW | EIPS/eip-8061.md | 84 | def compute_weak_subjectivity_period(state: BeaconState) -> uint64: |
| LOW | EIPS/eip-8061.md | 169 | def compute_exit_epoch_and_update_churn(state: BeaconState, exit_balance: Gwei) -> Epoch: |
| LOW | EIPS/eip-8045.md | 30 | def get_beacon_proposer_indices( |
| LOW | EIPS/eip-8071.md | 34 | def get_pending_balance_to_consolidate(state: BeaconState, target_index: ValidatorIndex) -> Gwei: |
| LOW | EIPS/eip-8071.md | 48 | def process_consolidation_request( |
| LOW | EIPS/eip-8253.md | 82 | def apply_irregular_state_transition(state, account_list): |
| LOW | EIPS/eip-7706.md | 95 | def vector_subtract_clamp_at_zero(v1: [int, int, int], v2: [int, int, int]) -> [uint, uint, uint]: |
| LOW | EIPS/eip-7934.md | 46 | def exceed_max_rlp_block_size(block: Block) -> bool: |
| LOW | EIPS/eip-8101.md | 283 | def on_chunk_access_list_received(store: Store, cal_message: ChunkAccessListMessage) -> None: |
| LOW | EIPS/eip-7864.md | 244 | def get_tree_key_for_basic_data(address: Address32): |
| LOW | EIPS/eip-7864.md | 247 | def get_tree_key_for_code_hash(address: Address32): |
| LOW | EIPS/eip-7864.md | 269 | def get_tree_key_for_code_chunk(address: Address32, chunk_id: int): |
| LOW | EIPS/eip-7864.md | 313 | def get_tree_key_for_storage_slot(address: Address32, storage_key: int): |
| LOW | EIPS/eip-7736.md | 45 | def extension_and_suffix_tree(stem: bytes31, values: Dict[byte, bytes32], last_epoch: int) -> int: |
| LOW | EIPS/eip-7545.md | 36 | def proof_verification_precompile(input): |
| LOW | EIPS/eip-8072.md | 327 | def handle_transaction_inclusion_subscription(params): |
| LOW | EIPS/eip-7981.md | 72 | def calculate_access_list_data_cost(access_list): |
| LOW | EIPS/eip-7917.md | 46 | def get_beacon_proposer_index(state: BeaconState) -> ValidatorIndex: |
| 112 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 583 | // Step 1: Run NTT_FW |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 591 | // Step 2: Prepend header to NTT_FW result for NTT_INV input |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 595 | // Step 3: Run NTT_INV on the result |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 603 | // Step 4: Verify roundtrip (compare saved coefficient data) |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 617 | // Step 1: Run NTT_FW |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 625 | // Step 2: Prepend header to NTT_FW result for NTT_INV input |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 628 | // Step 3: Run NTT_INV on the result |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 636 | // Step 4: Verify roundtrip (compare saved coefficient data) |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 650 | // Step 1: Run NTT_FW |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 658 | // Step 2: Prepend header to NTT_FW result for NTT_INV input |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 661 | // Step 3: Run NTT_INV on the result |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 669 | // Step 4: Verify roundtrip (compare saved coefficient data) |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 837 | // Step 1: Run NTT_FW |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 845 | // Step 2: Prepend header to NTT_FW result for NTT_INV input |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 849 | // Step 3: Run NTT_INV on the result |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 857 | // Step 4: Verify roundtrip (compare saved coefficient data) |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 871 | // Step 1: Run NTT_FW |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 879 | // Step 2: Prepend header to NTT_FW result for NTT_INV input |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 882 | // Step 3: Run NTT_INV on the result |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 890 | // Step 4: Verify roundtrip (compare saved coefficient data) |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 904 | // Step 1: Run NTT_FW |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 912 | // Step 2: Prepend header to NTT_FW result for NTT_INV input |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 915 | // Step 3: Run NTT_INV on the result |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 923 | // Step 4: Verify roundtrip (compare saved coefficient data) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | assets/eip-8071/test_process_consolidation_request.py | 39 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 49 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 86 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 96 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 138 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 148 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 181 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 191 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 225 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 235 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 272 | # Set source to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 282 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 317 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 327 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 467 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 477 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 514 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 524 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 366 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 381 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 419 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 435 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 552 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 571 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 596 | # Set source to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 959 | # Set target to eth1 credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1320 | # Set source to compounding credentials with max_eb |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1333 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1392 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1427 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1491 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1566 | # Set target to compounding credentials |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1620 | # Set target to compounding credentials with the balance excess |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1665 | # Set target to compounding credentials with the balance excess |
| LOW | assets/eip-8071/test_process_consolidation_request.py | 1697 | # Set target to compounding credentials |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | EIPS/eip-8045.md | 0 | return the proposer indices for the given ``epoch``. |
| HIGH | EIPS/eip-7917.md | 0 | return the proposer indices for the given ``epoch``. |
| HIGH | EIPS/eip-7917.md | 0 | return the proposer indices for the given ``epoch``. |
| HIGH | assets/eip-7885/pythonref/polyntt/ntt_iterative.py | 0 | implements number theoretic transform for fast polynomial multiplication. |
| HIGH | assets/eip-7885/pythonref/polyntt/ntt.py | 0 | implements number theoretic transform for fast polynomial multiplication. |
| HIGH | assets/eip-7885/pythonref/polyntt/ntt_recursive.py | 0 | implements number theoretic transform for fast polynomial multiplication. |
| HIGH | assets/eip-7885/pythonref/polyntt/tests/test_poly.py | 0 | test if ntt and intt are indeed inverses of each other. |
| HIGH | …eip-7885/pythonref/polyntt/tests/test_ntt_iterative.py | 0 | test if ntt and intt are indeed inverses of each other. |
| HIGH | …eip-7885/pythonref/polyntt/tests/test_ntt_recursive.py | 0 | test if ntt and intt are indeed inverses of each other. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | _config.yml | 1 | # Welcome to Jekyll! |
| LOW | EIPS/eip-6690.md | 241 | #### Conversion of Canonical to Montgomery Representation |
| LOW | EIPS/eip-7748.md | 101 | |
| LOW | EIPS/eip-1767.md | 61 | # Address is the address owning the account. |
| LOW | EIPS/eip-1767.md | 101 | # From is the account that sent this transaction - this will always be |
| LOW | EIPS/eip-1767.md | 121 | # running out of gas). If the transaction has not yet been mined, this |
| LOW | EIPS/eip-1767.md | 141 | # to a single block. |
| LOW | EIPS/eip-1767.md | 181 | # ExtraData is an arbitrary data field supplied by the miner. |
| LOW | EIPS/eip-1767.md | 201 | ommerCount: Int |
| LOW | EIPS/eip-1767.md | 261 | # to the latest block if not supplied. |
| LOW | EIPS/eip-6122.md | 121 | {20000000, 1668000001, ID{Hash: checksumToBytes(0xc1fdf181), Next: 0}, nil}, |
| LOW | EIPS/eip-6122.md | 161 | // Local is mainnet Withdrawals. remote announces Byzantium but is not aware of further forks. |
| LOW | EIPS/eip-2124.md | 221 | |
| LOW | assets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go | 21 | // Arguments: |
| LOW | assets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go | 41 | t = a - t*Q |
| LOW | assets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go | 61 | // |
| LOW | assets/eip-7885/op-geth/nocgo/crypto/ntt/dilithium.go | 101 | // |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts.go | 1 | // Copyright 2014 The go-ethereum Authors |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts.go | 1641 | } |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts.go | 1661 | // [0:4] ring_degree (uint32, big-endian) |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts.go | 1781 | // - Falcon-512: ringDegree=512, modulus=12289 |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts.go | 1901 | // This precompile performs element-wise modular multiplication of two vectors |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts.go | 1921 | // [12+n*elem_size:*] second vector coefficients |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts.go | 2021 | // |
| LOW | assets/eip-7885/op-geth/nocgo/core/vm/contracts_test.go | 1 | // Copyright 2017 The go-ethereum Authors |
| LOW | assets/eip-7885/op-geth/cgo/contracts.go | 1 | // Copyright 2014 The go-ethereum Authors |
| LOW | assets/eip-7885/op-geth/cgo/contracts.go | 1541 | |
| LOW | assets/eip-7885/op-geth/cgo/contracts.go | 1561 | // - Falcon: uint16 values (2 bytes each, big-endian) |
| LOW | assets/eip-7885/op-geth/cgo/contracts.go | 1681 | } |
| LOW | assets/eip-7885/op-geth/cgo/contracts.go | 1821 | // Implementation uses direct modular multiplication (a*b % q) with compile-time constant |
| LOW | assets/eip-7885/op-geth/cgo/contracts.go | 1941 | // |
| LOW | assets/eip-7885/op-geth/cgo/contracts_test.go | 1 | // Copyright 2017 The go-ethereum Authors |
| LOW | assets/eip-7885/pythonref/polyntt/poly.py | 141 | |
| LOW | assets/eip-7543/decimal_float_test.go | 1 | // Copyright 2017 The go-ethereum Authors |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | assets/eip-6475/optional.py | 63 | if self.length() == 0: |
| HIGH | assets/eip-6475/optional.py | 73 | if self.length() == 0: |
| HIGH | assets/eip-6475/optional.py | 80 | if self.length() == 0: |
| HIGH | assets/eip-6475/optional.py | 97 | if self.length() == 1: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | assets/eip-4881/deposit_snapshot.py | 2 | |
| LOW | assets/eip-6404/tx_hashes.py | 1 | |
| LOW | assets/eip-6404/tx_hashes.py | 2 | |
| LOW | assets/eip-6404/convert.py | 2 | |
| LOW | assets/eip-6404/convert.py | 3 | |
| LOW | assets/eip-6404/convert_tests.py | 2 | |
| LOW | assets/eip-7885/pythonref/polyntt/ntt_iterative.py | 7 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …885/pythonref/polyntt/scripts/generate_test_vectors.py | 37 | # This function is used for generating polynomials for the tests. |
| MEDIUM | …nref/polyntt/scripts/generate_test_vectors_solidity.py | 17 | # This function is used for generating polynomials for the tests. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | assets/eip-4881/test_deposit_snapshot.py | 22 | |
| LOW | assets/eip-7885/pythonref/polyntt/tests/test_vectors.py | 12 |