├── .bazelversion ├── proto ├── prysm │ ├── BUILD.bazel │ └── v1alpha1 │ │ ├── export_test.go │ │ ├── log.go │ │ └── validator-client │ │ └── interface.go ├── eth │ └── v1 │ │ └── testdata │ │ └── invalid-offset.attestation.ssz ├── engine │ └── v1 │ │ └── blobs_bundle.go ├── README.md └── testing │ └── gocast.go ├── tools ├── go │ └── BUILD.bazel ├── cross-toolchain │ ├── BUILD.bazel │ ├── configs │ │ └── cc │ │ │ ├── tools │ │ │ └── cpp │ │ │ │ └── empty.cc │ │ │ └── WORKSPACE │ ├── common_osxcross.sh │ └── cpp_env_clang.json ├── analyzers │ ├── nopanic │ │ └── testdata │ │ │ ├── init.go │ │ │ └── pkg.go │ └── gocognit │ │ └── CognitiveComplexity.pdf ├── nogo_config │ └── hack.go └── build_settings.bzl ├── cmd ├── prysmctl │ ├── tosaccepted │ ├── p2p │ │ └── log.go │ ├── validator │ │ └── error.go │ ├── db │ │ └── cmd.go │ └── testnet │ │ └── testnet.go ├── validator │ ├── web │ │ └── log.go │ └── slashing-protection │ │ └── log.go ├── beacon-chain │ ├── log.go │ ├── flags │ │ └── log.go │ ├── execution │ │ └── log.go │ └── pprof.beacon-chain.samples.cpu.pb.gz ├── client-stats │ └── log.go └── flags │ └── BUILD.bazel ├── testing ├── spectypes │ └── BUILD.bazel ├── endtoend │ ├── fork.go │ ├── lighthouse.BUILD │ ├── web3signer.BUILD │ ├── components │ │ └── log.go │ └── static-files │ │ └── eth1 │ │ └── BUILD.bazel ├── README.md ├── spectest │ ├── shared │ │ ├── altair │ │ │ └── sanity │ │ │ │ └── block_processing.yaml.go │ │ ├── capella │ │ │ └── sanity │ │ │ │ └── block_processing.yaml.go │ │ ├── deneb │ │ │ └── sanity │ │ │ │ └── block_processing.yaml.go │ │ ├── electra │ │ │ └── sanity │ │ │ │ └── block_processing.yaml.go │ │ ├── fulu │ │ │ └── sanity │ │ │ │ └── block_processing.yaml.go │ │ ├── phase0 │ │ │ └── sanity │ │ │ │ └── block_processing.yaml.go │ │ └── bellatrix │ │ │ └── sanity │ │ │ └── block_processing.yaml.go │ ├── mainnet │ │ ├── fulu__fork__upgrade_to_fulu_test.go │ │ ├── fulu__finality__finality_test.go │ │ ├── altair__finality__finality_test.go │ │ ├── deneb__finality__finality_test.go │ │ ├── deneb__sanity__slots_test.go │ │ ├── fulu__sanity__slots_test.go │ │ ├── phase0__finality__finality_test.go │ │ ├── altair__sanity__slots_test.go │ │ ├── capella__finality__finality_test.go │ │ ├── capella__sanity__slots_test.go │ │ ├── deneb__fork_helper__upgrade_to_deneb_test.go │ │ ├── electra__finality__finality_test.go │ │ ├── electra__sanity__slots_test.go │ │ ├── fulu__fork_transition__transition_test.go │ │ ├── fulu__ssz_static__ssz_static_test.go │ │ ├── phase0__sanity__slots_test.go │ │ ├── altair__fork_transition__transition_test.go │ │ ├── bellatrix__finality__finality_test.go │ │ ├── deneb__fork_transition__transition_test.go │ │ ├── deneb__ssz_static__ssz_static_test.go │ │ ├── fulu__operations__deposit_test.go │ │ ├── altair__fork_helper__upgrade_to_altair_test.go │ │ ├── altair__operations__deposit_test.go │ │ ├── altair__ssz_static__ssz_static_test.go │ │ ├── bellatrix__sanity__slots_test.go │ │ ├── capella__fork_transition__transition_test.go │ │ ├── capella__ssz_static__ssz_static_test.go │ │ ├── deneb__operations__deposit_test.go │ │ ├── deneb__rewards__rewards_test.go │ │ ├── electra__fork_helper__upgrade_to_electra_test.go │ │ ├── electra__fork_transition__transition_test.go │ │ ├── electra__ssz_static__ssz_static_test.go │ │ ├── fulu__rewards__rewards_test.go │ │ ├── phase0__operations__deposit_test.go │ │ ├── phase0__ssz_static__ssz_static_test.go │ │ ├── altair__rewards__rewards_test.go │ │ ├── bellatrix__fork_transition__transition_test.go │ │ ├── bellatrix__ssz_static__ssz_static_test.go │ │ ├── capella__fork_helper__upgrade_to_capella_test.go │ │ ├── capella__operations__deposit_test.go │ │ ├── capella__rewards__rewards_test.go │ │ ├── deneb__merkle_proof__merkle_proof_test.go │ │ ├── electra__operations__deposit_test.go │ │ ├── electra__rewards__rewards_test.go │ │ ├── fulu__merkle_proof__merkle_proof_test.go │ │ ├── fulu__operations__attestation_test.go │ │ ├── fulu__operations__withdrawals_test.go │ │ ├── phase0__rewards__rewards_test.go │ │ ├── bellatrix__operations__deposit_test.go │ │ ├── deneb__operations__attestation_test.go │ │ ├── deneb__operations__block_header_test.go │ │ ├── deneb__operations__withdrawals_test.go │ │ ├── deneb__random__random_test.go │ │ ├── fulu__operations__block_header_test.go │ │ ├── fulu__random__random_test.go │ │ ├── altair__operations__attestation_test.go │ │ ├── altair__operations__block_header_test.go │ │ ├── altair__random__random_test.go │ │ ├── bellatrix__fork_helper__upgrade_to_altair_test.go │ │ ├── bellatrix__rewards__rewards_test.go │ │ ├── capella__operations__attestation_test.go │ │ ├── capella__operations__block_header_test.go │ │ ├── capella__operations__withdrawals_test.go │ │ ├── capella__random__random_test.go │ │ ├── deneb__operations__sync_committee_test.go │ │ ├── deneb__operations__voluntary_exit_test.go │ │ ├── electra__merkle_proof__merkle_proof_test.go │ │ ├── electra__operations__attestation_test.go │ │ ├── electra__operations__block_header_test.go │ │ ├── electra__operations__withdrawals_test.go │ │ ├── electra__random__random_test.go │ │ ├── fulu__operations__consolidation_test.go │ │ ├── fulu__operations__sync_committee_test.go │ │ ├── fulu__operations__voluntary_exit_test.go │ │ ├── fulu__sanity__blocks_test.go │ │ ├── phase0__operations__attestation_test.go │ │ ├── phase0__operations__block_header_test.go │ │ ├── phase0__random__random_test.go │ │ ├── altair__operations__sync_committee_test.go │ │ ├── altair__operations__voluntary_exit_test.go │ │ ├── altair__sanity__blocks_test.go │ │ ├── bellatrix__operations__attestation_test.go │ │ ├── deneb__sanity__blocks_test.go │ │ ├── electra__operations__consolidation_test.go │ │ ├── fulu__operations__deposit_requests_test.go │ │ ├── phase0__operations__voluntary_exit_test.go │ │ ├── phase0__sanity__blocks_test.go │ │ ├── bellatrix__operations__block_header_test.go │ │ ├── bellatrix__random__random_test.go │ │ ├── capella__operations__sync_committee_test.go │ │ ├── capella__operations__voluntary_exit_test.go │ │ ├── capella__sanity__blocks_test.go │ │ ├── deneb__operations__attester_slashing_test.go │ │ ├── deneb__operations__execution_payload_test.go │ │ ├── deneb__operations__proposer_slashing_test.go │ │ ├── electra__operations__sync_committee_test.go │ │ ├── electra__operations__voluntary_exit_test.go │ │ ├── electra__sanity__blocks_test.go │ │ ├── fulu__epoch_processing__slashings_test.go │ │ ├── fulu__operations__attester_slashing_test.go │ │ ├── fulu__operations__execution_payload_test.go │ │ └── fulu__operations__proposer_slashing_test.go │ └── minimal │ │ ├── fulu__fork__upgrade_to_fulu_test.go │ │ ├── deneb__fork__upgrade_to_deneb_test.go │ │ ├── fulu__finality__finality_test.go │ │ ├── altair__finality__finality_test.go │ │ ├── deneb__finality__finality_test.go │ │ ├── deneb__sanity__slots_test.go │ │ ├── fulu__sanity__slots_test.go │ │ ├── phase0__finality__finality_test.go │ │ ├── altair__sanity__slots_test.go │ │ ├── capella__finality__finality_test.go │ │ ├── capella__sanity__slots_test.go │ │ ├── electra__finality__finality_test.go │ │ ├── electra__fork__upgrade_to_electra_test.go │ │ ├── electra__sanity__slots_test.go │ │ ├── fulu__fork_transition__transition_test.go │ │ ├── fulu__ssz_static__ssz_static_test.go │ │ ├── phase0__sanity__slots_test.go │ │ ├── altair__fork__upgrade_to_altair_test.go │ │ ├── altair__fork_transition__transition_test.go │ │ ├── bellatrix__finality__finality_test.go │ │ ├── deneb__fork_transition__transition_test.go │ │ ├── deneb__ssz_static__ssz_static_test.go │ │ ├── fulu__operations__deposit_test.go │ │ ├── altair__operations__deposit_test.go │ │ ├── altair__ssz_static__ssz_static_test.go │ │ ├── bellatrix__sanity__slots_test.go │ │ ├── capella__fork__upgrade_to_capella_test.go │ │ ├── capella__fork_transition__transition_test.go │ │ ├── capella__ssz_static__ssz_static_test.go │ │ ├── deneb__operations__deposit_test.go │ │ ├── deneb__rewards__rewards_test.go │ │ ├── electra__fork_transition__transition_test.go │ │ ├── electra__ssz_static__ssz_static_test.go │ │ ├── fulu__rewards__rewards_test.go │ │ ├── phase0__operations__deposit_test.go │ │ ├── phase0__ssz_static__ssz_static_test.go │ │ ├── altair__rewards__rewards_test.go │ │ ├── bellatrix__fork_transition__transition_test.go │ │ ├── bellatrix__ssz_static__ssz_static_test.go │ │ ├── capella__operations__deposit_test.go │ │ ├── capella__rewards__rewards_test.go │ │ ├── deneb__merkle_proof__merkle_proof_test.go │ │ ├── electra__operations__deposit_test.go │ │ ├── electra__rewards__rewards_test.go │ │ ├── fulu__merkle_proof__merkle_proof_test.go │ │ ├── fulu__operations__attestation_test.go │ │ ├── fulu__operations__withdrawals_test.go │ │ ├── phase0__rewards__rewards_test.go │ │ ├── bellatrix__fork__upgrade_to_altair_test.go │ │ ├── bellatrix__operations__deposit_test.go │ │ ├── deneb__operations__attestation_test.go │ │ ├── deneb__operations__block_header_test.go │ │ ├── deneb__operations__withdrawals_test.go │ │ ├── deneb__random__random_test.go │ │ ├── fulu__operations__block_header_test.go │ │ ├── fulu__random__random_test.go │ │ ├── altair__operations__attestation_test.go │ │ ├── altair__operations__block_header_test.go │ │ ├── altair__random__random_test.go │ │ ├── bellatrix__rewards__rewards_test.go │ │ ├── capella__operations__attestation_test.go │ │ ├── capella__operations__block_header_test.go │ │ ├── capella__operations__withdrawals_test.go │ │ ├── capella__random__random_test.go │ │ ├── deneb__operations__sync_committee_test.go │ │ ├── deneb__operations__voluntary_exit_test.go │ │ ├── electra__merkle_proof__merkle_proof_test.go │ │ ├── electra__operations__attestation_test.go │ │ ├── electra__operations__block_header_test.go │ │ ├── electra__operations__withdrawals_test.go │ │ ├── electra__random__random_test.go │ │ ├── fulu__operations__consolidation_test.go │ │ ├── fulu__operations__sync_committee_test.go │ │ ├── fulu__operations__voluntary_exit_test.go │ │ ├── fulu__sanity__blocks_test.go │ │ ├── phase0__operations__attestation_test.go │ │ ├── phase0__operations__block_header_test.go │ │ ├── phase0__random__random_test.go │ │ ├── altair__operations__sync_committee_test.go │ │ ├── altair__operations__voluntary_exit_test.go │ │ ├── altair__sanity__blocks_test.go │ │ ├── bellatrix__operations__attestation_test.go │ │ ├── deneb__sanity__blocks_test.go │ │ ├── electra__operations__consolidation_test.go │ │ ├── fulu__operations__deposit_requests_test.go │ │ ├── phase0__operations__voluntary_exit_test.go │ │ ├── phase0__sanity__blocks_test.go │ │ ├── bellatrix__operations__block_header_test.go │ │ ├── bellatrix__random__random_test.go │ │ ├── capella__operations__sync_committee_test.go │ │ └── capella__operations__voluntary_exit_test.go ├── benchmark │ └── benchmark_files │ │ ├── fullBlock-128Atts-16384Vals.ssz │ │ ├── bState1Epoch-128Atts-16384Vals.ssz │ │ ├── bState2Epochs-128Atts-16384Vals.ssz │ │ └── BUILD.bazel ├── bls │ ├── aggregate_test.yaml.go │ ├── deserialization_G1_test.yaml.go │ ├── deserialization_G2_test.yaml.go │ └── sign_test.yaml.go └── fuzz │ └── BUILD.bazel ├── .dockerignore ├── crypto └── bls │ ├── error.go │ ├── constants.go │ └── blst │ └── doc.go ├── beacon-chain ├── node │ ├── registration │ │ └── log.go │ └── log.go ├── sync │ ├── doc.go │ ├── log.go │ ├── backfill │ │ └── log.go │ ├── checkpoint │ │ └── log.go │ └── initial-sync │ │ └── log.go ├── core │ ├── altair │ │ └── exports_test.go │ ├── epoch │ │ └── precompute │ │ │ └── precompute_test.go │ ├── electra │ │ └── export_test.go │ ├── blocks │ │ ├── log.go │ │ ├── testdata │ │ │ ├── beaconfuzz_78_beacon.ssz │ │ │ ├── beaconfuzz_91_beacon.ssz │ │ │ ├── beaconfuzz_78_attestation.ssz │ │ │ └── beaconfuzz_91_proposer_slashing.ssz │ │ └── exports_test.go │ ├── transition │ │ ├── log.go │ │ └── interop │ │ │ └── log.go │ └── feed │ │ ├── block │ │ └── notifier.go │ │ ├── state │ │ └── notifier.go │ │ └── operation │ │ └── notifier.go ├── package │ └── postinst.sh ├── db │ ├── kv │ │ ├── log.go │ │ └── testdata │ │ │ ├── altona.genesis.ssz │ │ │ ├── capella_genesis.ssz │ │ │ └── mainnet.genesis.ssz │ ├── log.go │ ├── db_test.go │ ├── slasherkv │ │ ├── log.go │ │ └── slasherkv_test.go │ ├── filesystem │ │ └── log.go │ ├── filters │ │ └── errors.go │ └── iface │ │ └── errors.go ├── rpc │ ├── log.go │ ├── core │ │ └── log.go │ ├── eth │ │ ├── shared │ │ │ └── testing │ │ │ │ ├── json_minimal.go │ │ │ │ └── json_mainnet.go │ │ ├── beacon │ │ │ ├── log.go │ │ │ └── init_test.go │ │ ├── validator │ │ │ └── log.go │ │ ├── events │ │ │ └── log.go │ │ └── light-client │ │ │ └── server.go │ ├── prysm │ │ ├── v1alpha1 │ │ │ ├── beacon │ │ │ │ └── log.go │ │ │ └── validator │ │ │ │ └── log.go │ │ └── testing │ │ │ └── BUILD.bazel │ └── options │ │ └── BUILD.bazel ├── p2p │ └── peers │ │ └── log.go ├── builder │ └── log.go ├── slasher │ └── log.go ├── execution │ ├── log.go │ ├── testdata │ │ └── fuzz │ │ │ ├── FuzzExecutionBlock │ │ │ └── 8093511184ad3e258aa13b957e75ff26c7fae64672dae0c0bc0a9fa5b61a05e7 │ │ │ ├── FuzzForkChoiceResponse │ │ │ └── 2d0486b744e252db538db5a44bfd6e6e22ff2723 │ │ │ ├── FuzzExchangeTransitionConfiguration │ │ │ ├── 8093511184ad3e258aa13b957e75ff26c7fae64672dae0c0bc0a9fa5b61a05e7 │ │ │ └── fe012d83ce9f615dc9c351e781f97ed05d1118c6a363a8471f95ea97bbb9842f │ │ │ └── FuzzExecutionPayload │ │ │ └── 41784bc5bdb982cfc2d08e901aef27c3aff6604b506658bc52a25fade49b1f4e │ ├── execution_chain_test.go │ └── init_test.go ├── state │ ├── stategen │ │ ├── log.go │ │ └── init_test.go │ ├── state-native │ │ └── error.go │ ├── fieldtrie │ │ └── testdata │ │ │ └── fuzz │ │ │ └── FuzzFieldTrie │ │ │ └── c1898b8d556154d8a9d00cf2a64226dd5d76f33e27c373df2c409670db9b4877 │ ├── error.go │ └── stateutil │ │ └── reference_bench_test.go ├── verification │ ├── log.go │ └── verification_test.go ├── forkchoice │ ├── error.go │ └── doubly-linked-tree │ │ └── doc.go ├── cache │ ├── cache_test.go │ ├── doc.go │ └── proposer_indices_type.go ├── operations │ ├── slashings │ │ ├── log.go │ │ └── doc.go │ ├── attestations │ │ ├── log.go │ │ └── pool_test.go │ ├── synccommittee │ │ └── error.go │ └── voluntaryexits │ │ └── doc.go ├── blockchain │ ├── checktags_test.go │ ├── kzg │ │ └── trusted_setup_test.go │ ├── blockchain_test.go │ └── init_test.go └── monitor │ └── doc.go ├── config ├── proposer │ └── loader │ │ └── testdata │ │ ├── empty.json │ │ ├── someotherfile.json │ │ ├── default-only-proposer-config.json │ │ ├── bad-prepare-beacon-proposer-config.json │ │ └── proposer-config-only.json └── params │ ├── export_test.go │ ├── mainnet_config_export_test.go │ ├── checktags_test.go │ └── testnet_custom_network_config.go ├── third_party ├── BUILD.bazel ├── com_github_prysmaticlabs_ethereumapis-tags.patch ├── herumi │ ├── BUILD.bazel │ ├── mcl_darwin_arm64_base64.o │ └── bls.BUILD └── hid │ ├── README.md │ └── AUTHORS ├── changelog ├── manu-go-1.25.1.md ├── manu-peerdas-das.md ├── pvl-v6.0.4.md ├── tt_egg.md ├── kasey_unwedge-ethspecify.md ├── manu-peerdas-sync.md ├── potuz_change_error_message.md ├── pvl-go-1.24.6.md ├── tt_duty.md ├── manu-log-ms.md ├── pvl-go-1.24.5.md ├── syjn99_ssz-ql-list.md ├── tt_milk.md ├── manu-logs-datacolumns.md ├── potuz_fix_stater.md ├── potuz_update_spectest.md ├── tt_fish.md ├── tt_fugu_.md ├── ttsao_update-ssz-generated.md ├── bastin_refactor-lc-kv-tests.md ├── jihoonsong_support-fulu-genesis.md ├── manu-peerdas-metadata.md ├── manu-peerdas-node.md ├── manu-peerdas-reconstruction.md ├── potuz_update_gohashtree.md ├── potuz_update_quic_go.md ├── radek_update-github-bug-template.md ├── tt_45.md ├── potuz_eip_7917.md ├── pvl-erigon-agent.md ├── bastin_lc-fulu-spectest.md ├── kasey_fix-cache-panic.md ├── potuz_double_receive_block.md ├── potuz_start_from_justified.md ├── radek_redesign-pending-att-queue.md ├── syjn99_initialize-ssz-ql.md ├── ttsao_fix-gofmt-formatting.md ├── bastin_remove-unused.md ├── kasey_gzip-skip-sse.md ├── kasey_update-gossipsub.md ├── manu-bootnodes.md ├── manu-peerdas-beacon-api.md ├── potuz_fix_forkchoice_startup.md ├── potuz_fix_initialize_lookahead.md ├── pvl-fulu-StreamBlocksAltair.md ├── pvl_gcr_offchain.md ├── radek_agg-sc-messages.md ├── radek_reorganize-lc-processing.md ├── syjn99_save-state-efficient-fulu.md ├── tt_chicken.md ├── james-prysm_block-proposal-fulu.md ├── jtraglia_das-core-fixes.md ├── jtraglia_fix-blobs-bundle-v2-max-proofs.md ├── manu-peerdas-columns-by-root-handler.md ├── syjn99_refactor-htrutil.md ├── syjn99_ssz-ql-bitlist-bitvector.md ├── tt_beans.md ├── tt_onion.md ├── tt_sushi.md ├── 2025-08-25-docs-links.md ├── bastin_refine-lc-rpc-server.md ├── james-prysm_get-blob-fulu.md ├── jtraglia_dev-to-master.md ├── jtraglia_specrefs.md ├── jtraglia_various-renaming.md ├── manu-peerdas-columns-by-range-handler.md ├── muzry_fix_prysmctl_panics.md ├── muzry_fix_state_randao.md ├── potuz_remove_bls_broadcast.md ├── radek_state-fuzz-gc.md ├── sahil-4555-refactor-to-reflect-typefor.md ├── bastin_canonical-light-client-updates.md ├── bastin_refactor-lc-bootstrap-tests.md ├── bastin_refactor-lc-testutils.md ├── james-prysm_alpaha6-spec-tests.md ├── james-prysm_validator-duties-v2.md ├── james_prysm-fulu-general-spectests.md ├── jtraglia_move-reconstruction-lock.md ├── kaloyantanev_rework-dv-selection-proofs.md ├── kasey_isolate-committee-cache.md ├── manu-peer-ban-at-restart.md ├── manu-peerdas-builder.md ├── muzry_update_not_found_status.md ├── pop_fix-bug.md ├── potuz_event_happy_path.md ├── pvl-spectest-size.md ├── radek_duplicate-sync-aggregate.md ├── tt_opt-val-lookup.md ├── ttsao_fix-blinded-block-v2-endpoint.md ├── ttsao_set-fulu-fork-epochs.md ├── bastin_fix-lc-versioning.md ├── kasey_fusaka-nfd.md ├── kasey_invalid-digest-log.md ├── kasey_log-invalid-ee-root.md ├── kasey_omit-non-blob-fields.md ├── manu-TestHostIsResolved.md ├── manu-peerdas-various.md ├── nisdas_mv_slice_permanent.md ├── pvl-update-cc-debian11.md ├── radek_ssz-pending.md ├── ttsao_refactor-beacon-core-types.md ├── bastin_abstract-save-update.md ├── bastin_put-lc-store-behind-flag.md ├── bastin_save-updates-in-store.md ├── fix-fulu-bid-compatibility.md ├── james-prysm_debug-data-columns.md ├── james-prysm_remove-cononical-head.md ├── jtraglia_nits-dcsc-verification.md ├── manu-cgc.md ├── manu-fix-cgc-not-initialized.md ├── manu-wait.md ├── pvl-go-1.25.md ├── radek_do-not-compare-liveness.md ├── radek_fix-gzip.md ├── syjn99_ssz-ql-nested-list.md ├── tt_check_pending_att.md ├── james-prysm_fix-duties-v2-assignment.md ├── manu-from-disk-test.md ├── manu-retry-fetch-origin-columns.md ├── pvl-downscore-init-sync.md ├── tt_steak.md ├── ttsao_fix-attestation-cache-key.md ├── ttsao_implement-kzg-batch-verification.md ├── bastin_unify-lc-api-bootstrap.md ├── bastin_unify-lc-api-updates.md ├── fernantho_populate-variable-length-analyze-object.md ├── hyunchel_fix-misleading-log-msg.md ├── james-prysm_default-duties-v2.md ├── james-prysm_fix-da-metric.md ├── jtraglia_update-within-da-period.md ├── muzry_fix_get_block_attestation_v2.md ├── pvl-regression-15369.md ├── ttsao_add-fulu-fork-transition-tests.md ├── ttsao_simplify-golangci-config.md ├── bastin_abstract-update-validation.md ├── bastin_move-lc-package-out-of-core.md ├── bastin_version-to-fork-epoch.md ├── james-prysm_deprecate-publish-blos.md ├── manu-peerdas-dataColumnSidecarByRootRPCHandler.md ├── manu-subscriptions.md ├── pop_fix-subnet.md ├── radek_electra-committee-assertion.md ├── raulk_beacon-api-metadata.md ├── tt_state_root_debug.md ├── james-prysm_proposer-lookahead-api.md ├── muzry_fix_unremove_empty_dir.md ├── potuz_change_insertchain.md ├── pvl-fulu-prevent-datacolumns-oob.md ├── pvl-slasherkv-timeout.md ├── radek_consensus-value-unavailable.md ├── sahil-4555-refactor-to-use-atomic-types.md ├── sashass1315_fix-priority-queue-pop-lock-race.md ├── ttsao_fix-equivocation-block-field.md ├── kasey_decouple-proto-params.md ├── pvl-testing-context.md ├── ttsao_add-fulu-proposer-lookahead-tests.md ├── bastin_checkpoints-only-bootstraps.md ├── kasey_rename-backfill-flag.md ├── pvl-blst-go-repo.md ├── pvl-debug-log.md ├── syjn99_ssz-ql-tag-parser.md ├── kasey_refactor-fork-schedules.md ├── muzry_fix_submit_pool_sync_committee_signatures.md ├── potuz_next_epoch_proposer_duties.md ├── pvl-blob-cache-panic.md ├── pvl-p2p-colocation-whitelist.md ├── pvl-time.md ├── radek_fix-max-epoch-calculation-once.md ├── ttsao_move-cache-key-outside-locks.md ├── Galoretka_fix-leakybucket-test-duplicate.md ├── james-prysm_post-block-ssz.md ├── kasey_fix-e2e-panic.md ├── manu-peerdas-send-data-column-requests.md ├── ttsao_refactor-proto-beacon-blocks.md ├── ttsao_update-consensus-spec-alpha5.md ├── ttsao_update-consensus-spec-v160-alpha4.md ├── james-prysm_fix-justified-blocker.md ├── james-prysm_get-duties-v2.md ├── james-prysm_move-web-flag.md ├── kasey_init-genesis-asap.md ├── tt_post-fulu-mev-boost-protocol.md ├── bastin_read-updates-from-store-in-rpc.md ├── pvl-rm-eth1voting-tool.md ├── satushh-getblobsv2-retry.md ├── Alleysira-fix-meta-in-getPeers-resp.md ├── bastin_attestation-api-ssz.md ├── kasey_start-discovery-immediately.md ├── manu-peerdas-reconstruction-from-el.md ├── add-blob-schedule-to-config-spec-endpoint.md ├── kasey_fix-15607.md ├── muzry_fix_validator_client_committee_index.md ├── potuz_add_publishv2_metric.md ├── manu-broadcast.md ├── tt_formula_mlk.md ├── james_prysm-fix-blocker-notfound.md ├── manu-peerdas-reconstruction-delay.md ├── James-prysm_parallel-goodbyes.md ├── James-prysm_persistent-seq-number.md ├── fix-genesis-block-eip6110.md ├── manu-peerdas-get-blobs-V2.md ├── tt_noodles.md ├── james-prysm_fulu-web3signer.md ├── tomasandroil_replace_grpc_gateway_flag_name.md ├── kasey_reject-mismatched-schedules.md ├── DeVikingMark_fix-web3signer-test-error-handling.md ├── potuz_reorg_safe_vc.md ├── james-prysm_fix-builder-version-check.md ├── pvl-update-eth-clients.md ├── james-prysm_fix-find-peers.md ├── james-prysm_move-ticker.md ├── syjn99_persist-p2p-seqnum.md ├── james-prysm_remove-ssz-only-flag.md ├── james-prysm_ssz-validator-block.md ├── bastin_move_broadcast_to_store.md └── pvl-peerdas-peer-fanout.md ├── .github ├── FUNDING.yml ├── actions │ └── gomodtidy │ │ ├── Dockerfile │ │ └── action.yml └── CODEOWNERS ├── encoding └── ssz │ ├── export_test.go │ └── query │ └── testutil │ └── type.go ├── consensus-types ├── primitives │ ├── execution_address.go │ ├── payload_id.go │ ├── committee_bits_minimal.go │ └── committee_bits_mainnet.go └── interfaces │ └── validator.go ├── fuzzbuzz.yaml ├── service-account.json.enc ├── validator ├── db │ ├── log.go │ └── kv │ │ └── log.go ├── package │ └── postinst.sh ├── node │ └── log.go ├── rpc │ └── log.go ├── web │ ├── log.go │ └── doc.go ├── accounts │ ├── log.go │ ├── wallet │ │ └── log.go │ ├── testdata │ │ └── fuzz │ │ │ └── FuzzValidateMnemonic │ │ │ └── 0258716f94e00f9df0da869fd97f9e0d0c6ac83eb528677d918f0ac9be5f4b8d │ └── userprompt │ │ └── log.go ├── graffiti │ └── log.go ├── client │ └── beacon-api │ │ └── log.go ├── keymanager │ ├── local │ │ ├── log.go │ │ └── errors.go │ ├── derived │ │ └── log.go │ ├── remote-web3signer │ │ ├── log.go │ │ └── internal │ │ │ └── log.go │ └── constants.go ├── testing │ └── constants.go └── slashing-protection-history │ ├── doc.go │ └── format │ └── BUILD.bazel ├── genesis ├── log.go └── internal │ └── embedded │ └── mainnet.ssz.snappy ├── io ├── file │ └── log.go └── logs │ └── mock │ └── BUILD.bazel ├── api ├── client │ └── beacon │ │ ├── log.go │ │ └── doc.go ├── server │ └── httprest │ │ └── log.go ├── constants.go └── jwt_test.go ├── container └── trie │ └── testdata │ └── fuzz │ ├── FuzzSparseMerkleTrie_HashTreeRoot │ └── 5838cdfae7b16cde2707c04599b62223e7bade8dafdd8a1c53b8f881e8f79d99 │ ├── FuzzSparseMerkleTrie_MerkleProof │ └── ec4893c52de558dbac9a850e4266850e109a9e6bc6bab59953b2a30027f66a93 │ └── FuzzSparseMerkleTrie_Insert │ ├── d863478086b8f8e8c854ec74d4d5360ffbe979064b58f619eb3d5fddfdae64c8 │ └── fuzzbuzz-97663548a1e2280a081745e5fa25c289f7121c0b ├── time ├── slots │ ├── testing │ │ └── mock_test.go │ └── slotutil_test.go └── BUILD.bazel ├── .gitattributes ├── hack └── latest_version_tag.sh ├── monitoring └── journald │ └── journald.go ├── network ├── httputil │ └── errors.go └── authorization │ └── BUILD.bazel ├── async └── event │ └── interface.go └── runtime └── debug └── cgo_symbolizer.go /.bazelversion: -------------------------------------------------------------------------------- 1 | 7.4.1 2 | -------------------------------------------------------------------------------- /proto/prysm/BUILD.bazel: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/go/BUILD.bazel: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cmd/prysmctl/tosaccepted: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testing/spectypes/BUILD.bazel: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/cross-toolchain/BUILD.bazel: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | bazel-* 2 | .git 3 | -------------------------------------------------------------------------------- /crypto/bls/error.go: -------------------------------------------------------------------------------- 1 | package bls 2 | -------------------------------------------------------------------------------- /testing/endtoend/fork.go: -------------------------------------------------------------------------------- 1 | package endtoend 2 | -------------------------------------------------------------------------------- /beacon-chain/node/registration/log.go: -------------------------------------------------------------------------------- 1 | package registration 2 | -------------------------------------------------------------------------------- /config/proposer/loader/testdata/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /third_party/BUILD.bazel: -------------------------------------------------------------------------------- 1 | exports_files(glob(["*.patch"])) 2 | -------------------------------------------------------------------------------- /third_party/com_github_prysmaticlabs_ethereumapis-tags.patch: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/cross-toolchain/configs/cc/tools/cpp/empty.cc: -------------------------------------------------------------------------------- 1 | int main() {} -------------------------------------------------------------------------------- /changelog/manu-go-1.25.1.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Updated go.mod to v1.25.1 -------------------------------------------------------------------------------- /changelog/manu-peerdas-das.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - PeerDAS: Implement DAS. 3 | -------------------------------------------------------------------------------- /changelog/pvl-v6.0.4.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Added changelog for v6.0.4 4 | -------------------------------------------------------------------------------- /changelog/tt_egg.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fix blob metric name for peer count -------------------------------------------------------------------------------- /changelog/kasey_unwedge-ethspecify.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Unwedge ethspecify. 3 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-sync.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Data columns syncing for Fusaka. -------------------------------------------------------------------------------- /changelog/potuz_change_error_message.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Fix error message. 3 | -------------------------------------------------------------------------------- /changelog/pvl-go-1.24.6.md: -------------------------------------------------------------------------------- 1 | ### Security 2 | 3 | - Updated go to version 1.24.6 4 | -------------------------------------------------------------------------------- /changelog/tt_duty.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Beacon-api proposer duty fulu computation -------------------------------------------------------------------------------- /config/proposer/loader/testdata/someotherfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": "123441" 3 | } -------------------------------------------------------------------------------- /third_party/herumi/BUILD.bazel: -------------------------------------------------------------------------------- 1 | exports_files(["mcl_darwin_arm64_base64.o"]) 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: https://gitcoin.co/grants/24/prysm-by-prysmatic-labs 2 | -------------------------------------------------------------------------------- /changelog/manu-log-ms.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Add milliseconds to log timestamps. 3 | 4 | -------------------------------------------------------------------------------- /changelog/pvl-go-1.24.5.md: -------------------------------------------------------------------------------- 1 | ### Security 2 | 3 | - Updated go to version 1.24.5 4 | -------------------------------------------------------------------------------- /changelog/syjn99_ssz-ql-list.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Support `List` type for SSZ-QL. 4 | -------------------------------------------------------------------------------- /changelog/tt_milk.md: -------------------------------------------------------------------------------- 1 | ### Removed 2 | 3 | - Remove deposit count from sync new block log -------------------------------------------------------------------------------- /encoding/ssz/export_test.go: -------------------------------------------------------------------------------- 1 | package ssz 2 | 3 | var WithdrawalRoot = withdrawalRoot 4 | -------------------------------------------------------------------------------- /changelog/manu-logs-datacolumns.md: -------------------------------------------------------------------------------- 1 | ## Changed 2 | - Improve logging of data column sidecars -------------------------------------------------------------------------------- /changelog/potuz_fix_stater.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Fix the validateConsensus endpoint handler. 3 | -------------------------------------------------------------------------------- /changelog/potuz_update_spectest.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Update spectests to 1.6.0-beta.0 4 | -------------------------------------------------------------------------------- /changelog/tt_fish.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Data column support for beacon api event end point -------------------------------------------------------------------------------- /changelog/tt_fugu_.md: -------------------------------------------------------------------------------- 1 | ### Removed 2 | 3 | - Deneb and electra entries from blob schedule. -------------------------------------------------------------------------------- /changelog/ttsao_update-ssz-generated.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Updated SSZ generated files -------------------------------------------------------------------------------- /proto/prysm/v1alpha1/export_test.go: -------------------------------------------------------------------------------- 1 | package eth 2 | 3 | type Copier[T any] copier[T] 4 | -------------------------------------------------------------------------------- /changelog/bastin_refactor-lc-kv-tests.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Refactor light client kv tests. -------------------------------------------------------------------------------- /changelog/jihoonsong_support-fulu-genesis.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Support Fulu genesis block. 4 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-metadata.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - PeerDAS: Implement the new Fulu Metadata. 3 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-node.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - PeerDAS: Add `CustodyInfo` in `BeaconNode`. 3 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-reconstruction.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - PeerDAS: Implement reconstruction. 3 | -------------------------------------------------------------------------------- /changelog/potuz_update_gohashtree.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Update gohashtree to v0.0.5-beta. 4 | -------------------------------------------------------------------------------- /changelog/potuz_update_quic_go.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Updated quick-go to latest version. 4 | -------------------------------------------------------------------------------- /changelog/radek_update-github-bug-template.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Update Github bug template. -------------------------------------------------------------------------------- /changelog/tt_45.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Increase mainnet DefaultBuilderGasLimit from 36M to 45M -------------------------------------------------------------------------------- /changelog/potuz_eip_7917.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Implement EIP-7917: Stable proposer lookahead. 4 | -------------------------------------------------------------------------------- /changelog/pvl-erigon-agent.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added erigon/caplin to known p2p agent strings. 4 | -------------------------------------------------------------------------------- /config/params/export_test.go: -------------------------------------------------------------------------------- 1 | package params 2 | 3 | var ComputeForkDataRoot = computeForkDataRoot 4 | -------------------------------------------------------------------------------- /changelog/bastin_lc-fulu-spectest.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Fulu spec tests coverage for light client tests. -------------------------------------------------------------------------------- /changelog/kasey_fix-cache-panic.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - initialize data column storage in rpc handlers. 3 | -------------------------------------------------------------------------------- /changelog/potuz_double_receive_block.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Prevent a race on double `ReceiveBlock`. 4 | -------------------------------------------------------------------------------- /changelog/potuz_start_from_justified.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Start from justified checkpoint by default. 3 | -------------------------------------------------------------------------------- /changelog/radek_redesign-pending-att-queue.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Redesign the pending attestation queue. -------------------------------------------------------------------------------- /changelog/syjn99_initialize-ssz-ql.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Initialize package for SSZ Query Language. 4 | -------------------------------------------------------------------------------- /changelog/ttsao_fix-gofmt-formatting.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Fix Go formatting issues in test files 4 | -------------------------------------------------------------------------------- /changelog/bastin_remove-unused.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Remove unused parameter `currentSlot` from LC functions. -------------------------------------------------------------------------------- /changelog/kasey_gzip-skip-sse.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Do not apply the gzip middleware to the event stream API. 3 | -------------------------------------------------------------------------------- /changelog/kasey_update-gossipsub.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Upgraded gossipsub to v0.14.2 and libp2p to v0.39.1. 3 | -------------------------------------------------------------------------------- /changelog/manu-bootnodes.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - `--chain-config-file`: Do not use any more mainnet boot nodes. 3 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-beacon-api.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Implement beacon API blob sidecar enpoint for Fulu. 3 | -------------------------------------------------------------------------------- /changelog/potuz_fix_forkchoice_startup.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed an off-by-one in forkchoice startup. 4 | -------------------------------------------------------------------------------- /changelog/potuz_fix_initialize_lookahead.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Fixed lookahead initialization at the fulu fork. 3 | -------------------------------------------------------------------------------- /changelog/pvl-fulu-StreamBlocksAltair.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added fulu block support to StreamBlocksAltair 4 | -------------------------------------------------------------------------------- /changelog/pvl_gcr_offchain.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Updated docker images URL to gcr.io/offchainlabs/prysm 4 | -------------------------------------------------------------------------------- /changelog/radek_agg-sc-messages.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Aggregate and pack sync committee messages into blocks. -------------------------------------------------------------------------------- /changelog/radek_reorganize-lc-processing.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Reorganize processing of light client updates. -------------------------------------------------------------------------------- /changelog/syjn99_save-state-efficient-fulu.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add Fulu case for `saveStatesEfficientInternal` -------------------------------------------------------------------------------- /changelog/tt_chicken.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add log capitalization analyzer and apply changes across codebase. -------------------------------------------------------------------------------- /consensus-types/primitives/execution_address.go: -------------------------------------------------------------------------------- 1 | package primitives 2 | 3 | type ExecutionAddress [20]byte 4 | -------------------------------------------------------------------------------- /fuzzbuzz.yaml: -------------------------------------------------------------------------------- 1 | base: 2 | language: go 3 | version: 1.19 4 | build_tags: 5 | - fuzz 6 | - develop 7 | -------------------------------------------------------------------------------- /service-account.json.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/service-account.json.enc -------------------------------------------------------------------------------- /beacon-chain/sync/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package sync TODO(3147): Add details on how sync works. 3 | */ 4 | package sync 5 | -------------------------------------------------------------------------------- /changelog/james-prysm_block-proposal-fulu.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Fulu block proposal changes for beacon api and gRPC. -------------------------------------------------------------------------------- /changelog/jtraglia_das-core-fixes.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed variable names, links, and typos in das core code. 4 | -------------------------------------------------------------------------------- /changelog/jtraglia_fix-blobs-bundle-v2-max-proofs.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed the max proofs in `BlobsBundleV2`. 4 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-columns-by-root-handler.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Implement `dataColumnSidecarByRootRPCHandler`. 3 | -------------------------------------------------------------------------------- /changelog/syjn99_refactor-htrutil.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Refactor `htrutil.go` by removing redundant codes. 4 | -------------------------------------------------------------------------------- /changelog/syjn99_ssz-ql-bitlist-bitvector.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - SSZ-QL: Handle `Bitlist` and `Bitvector` types. 4 | -------------------------------------------------------------------------------- /changelog/tt_beans.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Slot aware cache for seen data column gossip p2p to reduce memory usages. -------------------------------------------------------------------------------- /changelog/tt_onion.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Move data col reconstruction log to a more accurate place in the code. -------------------------------------------------------------------------------- /changelog/tt_sushi.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Optimize proposer inclusion proof calcuation by pre caching subtries 4 | -------------------------------------------------------------------------------- /beacon-chain/core/altair/exports_test.go: -------------------------------------------------------------------------------- 1 | package altair 2 | 3 | var ProcessSyncAggregateEported = processSyncAggregate 4 | -------------------------------------------------------------------------------- /changelog/2025-08-25-docs-links.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Updated outdated documentation links for Web3Signer and Why Bazel. 3 | -------------------------------------------------------------------------------- /changelog/bastin_refine-lc-rpc-server.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Removed extra/unused fields of the LC Beacon API server. -------------------------------------------------------------------------------- /changelog/james-prysm_get-blob-fulu.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added new post fulu /eth/v1/beacon/blobs/{block_id} endpoint -------------------------------------------------------------------------------- /changelog/jtraglia_dev-to-master.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Update links to consensus-specs to point to `master` branch 4 | -------------------------------------------------------------------------------- /changelog/jtraglia_specrefs.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added specification references which map spec to implementation 4 | -------------------------------------------------------------------------------- /changelog/jtraglia_various-renaming.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Renamed various variables/functions to be more clear. 4 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-columns-by-range-handler.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Implement `dataColumnSidecarsByRangeRPCHandler`. 3 | -------------------------------------------------------------------------------- /changelog/muzry_fix_prysmctl_panics.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fix prysmctl panic when baseFee is not set in genesis.json 4 | -------------------------------------------------------------------------------- /changelog/muzry_fix_state_randao.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fix getStateRandao not returning historic RANDAO mix values 4 | -------------------------------------------------------------------------------- /changelog/potuz_remove_bls_broadcast.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Remove broadcast of BLS changes at the Capella fork. 4 | -------------------------------------------------------------------------------- /changelog/radek_state-fuzz-gc.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Reclaim memory manually in some tests that fuzz the beacon state. -------------------------------------------------------------------------------- /changelog/sahil-4555-refactor-to-reflect-typefor.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Replaced reflect.TypeOf with reflect.TypeFor 4 | -------------------------------------------------------------------------------- /changelog/bastin_canonical-light-client-updates.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Restrict best LC update collection to canonical blocks. -------------------------------------------------------------------------------- /changelog/bastin_refactor-lc-bootstrap-tests.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Refactor light client bootstrap tests in the RPC package. -------------------------------------------------------------------------------- /changelog/bastin_refactor-lc-testutils.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Refactor light client testing utils to use functional options. -------------------------------------------------------------------------------- /changelog/james-prysm_alpaha6-spec-tests.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Updated consensus spec from v1.6.0-alpha.5 to v1.6.0-alpha.6 -------------------------------------------------------------------------------- /changelog/james-prysm_validator-duties-v2.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added feature flag for validator client to use get duties v2. -------------------------------------------------------------------------------- /changelog/james_prysm-fulu-general-spectests.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Fulu spec tests coverage for covering the general package -------------------------------------------------------------------------------- /changelog/jtraglia_move-reconstruction-lock.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Moved reconstruction lock to prevent unnecessary work. 4 | -------------------------------------------------------------------------------- /changelog/kaloyantanev_rework-dv-selection-proofs.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - DV aggregations failing first slot of the epoch. 4 | -------------------------------------------------------------------------------- /changelog/kasey_isolate-committee-cache.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Committee cache moved from a package var to a service struct. 3 | -------------------------------------------------------------------------------- /changelog/manu-peer-ban-at-restart.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Fixed various reasons why a node is banned by its peers when it stops. -------------------------------------------------------------------------------- /changelog/manu-peerdas-builder.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Add support for parsing and handling `ExecutionPayloadAndBlobsBundleV2`. 3 | -------------------------------------------------------------------------------- /changelog/muzry_update_not_found_status.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Fixed endpoint response to return 404 or 400 after isOptimistic check -------------------------------------------------------------------------------- /changelog/pop_fix-bug.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Fix bug where arguments of fillInForkChoiceMissingBlocks were incorrectly placed 3 | -------------------------------------------------------------------------------- /changelog/potuz_event_happy_path.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Trigger payload attribute event as soon as an early block is processed. 3 | -------------------------------------------------------------------------------- /changelog/pvl-spectest-size.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - CI: Changed test size for //testing/spectest/mainnet:go_default_test 4 | -------------------------------------------------------------------------------- /changelog/radek_duplicate-sync-aggregate.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Don't submit duplicate `SignedContributionAndProof` messages. -------------------------------------------------------------------------------- /changelog/tt_opt-val-lookup.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Beacon api optimize validator lookup for large batch request size. 4 | -------------------------------------------------------------------------------- /changelog/ttsao_fix-blinded-block-v2-endpoint.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Use v2 endpoint for blinded block submission post-Fulu 4 | -------------------------------------------------------------------------------- /changelog/ttsao_set-fulu-fork-epochs.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Set Fulu fork epochs for Holesky, Hoodi, and Sepolia testnets 4 | -------------------------------------------------------------------------------- /beacon-chain/core/epoch/precompute/precompute_test.go: -------------------------------------------------------------------------------- 1 | package precompute 2 | 3 | var ComputeCheckpoints = computeCheckpoints 4 | -------------------------------------------------------------------------------- /beacon-chain/package/postinst.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | chown prysm-beacon:prysm-beacon /etc/prysm/beacon-chain.yaml -------------------------------------------------------------------------------- /changelog/bastin_fix-lc-versioning.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed the versioning bug for light client data types in the Beacon API. -------------------------------------------------------------------------------- /changelog/kasey_fusaka-nfd.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Support for fusaka `nfd` enr field, and changes to the semantics of the eth2 field. 3 | -------------------------------------------------------------------------------- /changelog/kasey_invalid-digest-log.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - decrease log level for peer subscription failures using invalid digests. 3 | -------------------------------------------------------------------------------- /changelog/kasey_log-invalid-ee-root.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Adding context to logs around execution engine notification failures. 3 | -------------------------------------------------------------------------------- /changelog/kasey_omit-non-blob-fields.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - omits non-standard blob schedule entry struct fields from marshaling. 3 | -------------------------------------------------------------------------------- /changelog/manu-TestHostIsResolved.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Workaround `TestHostIsResolved` by using "more reliable" DNS resolver. 3 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-various.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Warm data columns storage cache at start. 3 | - Add `--data-column-path` flag. 4 | -------------------------------------------------------------------------------- /changelog/nisdas_mv_slice_permanent.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Makes the multivalue slice permanent in the state and removes old paths. -------------------------------------------------------------------------------- /changelog/pvl-update-cc-debian11.md: -------------------------------------------------------------------------------- 1 | ### Security 2 | 3 | - Updated distroless/cc-debian11 to latest to resolve CVE-2024-2961. 4 | -------------------------------------------------------------------------------- /changelog/radek_ssz-pending.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Allow SSZ requests for pending deposits, partial withdrawals and consolidations. -------------------------------------------------------------------------------- /changelog/ttsao_refactor-beacon-core-types.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Refactored beacon core types to in beacon_core_types.proto 4 | -------------------------------------------------------------------------------- /validator/db/log.go: -------------------------------------------------------------------------------- 1 | package db 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "db") 6 | -------------------------------------------------------------------------------- /validator/package/postinst.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | chown prysm-validator:prysm-validator /etc/prysm/validator.yaml -------------------------------------------------------------------------------- /beacon-chain/core/electra/export_test.go: -------------------------------------------------------------------------------- 1 | package electra 2 | 3 | var BatchProcessNewPendingDeposits = batchProcessNewPendingDeposits 4 | -------------------------------------------------------------------------------- /beacon-chain/db/kv/log.go: -------------------------------------------------------------------------------- 1 | package kv 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "db") 6 | -------------------------------------------------------------------------------- /beacon-chain/db/log.go: -------------------------------------------------------------------------------- 1 | package db 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "db") 6 | -------------------------------------------------------------------------------- /beacon-chain/rpc/log.go: -------------------------------------------------------------------------------- 1 | package rpc 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "rpc") 6 | -------------------------------------------------------------------------------- /changelog/bastin_abstract-save-update.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Moved the validation logic for saving LC updates to the store function. -------------------------------------------------------------------------------- /changelog/bastin_put-lc-store-behind-flag.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Put the initiation of LC Store behind the `enable-light-client` flag. -------------------------------------------------------------------------------- /changelog/bastin_save-updates-in-store.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Save light client finality and optimistic updates to the light client store. -------------------------------------------------------------------------------- /changelog/fix-fulu-bid-compatibility.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fix builder bid version compatibility to support Electra bids with Fulu blocks -------------------------------------------------------------------------------- /changelog/james-prysm_debug-data-columns.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Adding `/eth/v1/debug/beacon/data_column_sidecars/{block_id}` endpoint. -------------------------------------------------------------------------------- /changelog/james-prysm_remove-cononical-head.md: -------------------------------------------------------------------------------- 1 | ### Removed 2 | 3 | - Validator client will no longer need to call the canonical head api. -------------------------------------------------------------------------------- /changelog/jtraglia_nits-dcsc-verification.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Fix some nits associated with data column sidecar verification 4 | -------------------------------------------------------------------------------- /changelog/manu-cgc.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Update validator custody to the latest specification, including the new status message. 3 | 4 | -------------------------------------------------------------------------------- /changelog/manu-fix-cgc-not-initialized.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - In P2P service start, wait for the custody info to be correctly initialized. -------------------------------------------------------------------------------- /changelog/manu-wait.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - `createLocalNode`: Wait before retrying to retrieve the custody group count if not present. 3 | -------------------------------------------------------------------------------- /changelog/pvl-go-1.25.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Updated go to v1.25.1 4 | - Updated rules_go to v0.57.0 5 | - Updated protobuf to 28.3 6 | -------------------------------------------------------------------------------- /changelog/radek_do-not-compare-liveness.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Do not compare liveness response with LH in e2e Beacon API evaluator. -------------------------------------------------------------------------------- /changelog/radek_fix-gzip.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Write `Content-Encoding` header in the response properly when gzip encoding is requested. -------------------------------------------------------------------------------- /changelog/syjn99_ssz-ql-nested-list.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - SSZ-QL: Support nested `List` type (e.g., `ExecutionPayload.Transactions`) 4 | -------------------------------------------------------------------------------- /changelog/tt_check_pending_att.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Check pending block is in forkchoice before importing pending attestation. 4 | -------------------------------------------------------------------------------- /cmd/validator/web/log.go: -------------------------------------------------------------------------------- 1 | package web 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "web") 6 | -------------------------------------------------------------------------------- /genesis/log.go: -------------------------------------------------------------------------------- 1 | package genesis 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "genesis") 6 | -------------------------------------------------------------------------------- /io/file/log.go: -------------------------------------------------------------------------------- 1 | package file 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "fileutil") 6 | -------------------------------------------------------------------------------- /validator/db/kv/log.go: -------------------------------------------------------------------------------- 1 | package kv 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "db") 6 | -------------------------------------------------------------------------------- /validator/node/log.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "node") 6 | -------------------------------------------------------------------------------- /validator/rpc/log.go: -------------------------------------------------------------------------------- 1 | package rpc 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "rpc") 6 | -------------------------------------------------------------------------------- /validator/web/log.go: -------------------------------------------------------------------------------- 1 | package web 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "web") 6 | -------------------------------------------------------------------------------- /beacon-chain/node/log.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "node") 6 | -------------------------------------------------------------------------------- /beacon-chain/sync/log.go: -------------------------------------------------------------------------------- 1 | package sync 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "sync") 6 | -------------------------------------------------------------------------------- /changelog/james-prysm_fix-duties-v2-assignment.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fix panic on dutiesv2 when there is no committee assignment on the epoch -------------------------------------------------------------------------------- /changelog/manu-from-disk-test.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Add tests for `VerifiedROBlobFromDisk`. 3 | - Add tests for `VerifiedRODataColumnFromDisk`. -------------------------------------------------------------------------------- /changelog/manu-retry-fetch-origin-columns.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Retry to fetch origin data column sidecars when starting from a checkpoint. 3 | -------------------------------------------------------------------------------- /changelog/pvl-downscore-init-sync.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Prysm will now downscore peers that return invalid block_by_range responses. 4 | -------------------------------------------------------------------------------- /changelog/tt_steak.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Remove "invalid" from logs for incoming blob sidecar that is missing parent or out of range slot -------------------------------------------------------------------------------- /changelog/ttsao_fix-attestation-cache-key.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Improved sync unaggregated attestation cache key outside of lock path 4 | -------------------------------------------------------------------------------- /changelog/ttsao_implement-kzg-batch-verification.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - KZG proof batch verification for data column gossip validation 4 | -------------------------------------------------------------------------------- /cmd/beacon-chain/log.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "main") 6 | -------------------------------------------------------------------------------- /cmd/client-stats/log.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "main") 6 | -------------------------------------------------------------------------------- /.github/actions/gomodtidy/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.25.1-alpine 2 | 3 | COPY entrypoint.sh /entrypoint.sh 4 | 5 | ENTRYPOINT ["/entrypoint.sh"] 6 | -------------------------------------------------------------------------------- /api/client/beacon/log.go: -------------------------------------------------------------------------------- 1 | package beacon 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "beacon") 6 | -------------------------------------------------------------------------------- /beacon-chain/p2p/peers/log.go: -------------------------------------------------------------------------------- 1 | package peers 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "peers") 6 | -------------------------------------------------------------------------------- /beacon-chain/rpc/core/log.go: -------------------------------------------------------------------------------- 1 | package core 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "rpc/core") 6 | -------------------------------------------------------------------------------- /beacon-chain/rpc/eth/shared/testing/json_minimal.go: -------------------------------------------------------------------------------- 1 | //go:build minimal 2 | 3 | package testing 4 | 5 | const attestationCommitteeBits = "0x01" 6 | -------------------------------------------------------------------------------- /changelog/bastin_unify-lc-api-bootstrap.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Move setter/getter functions for LC Bootstrap into LcStore for a unified interface. -------------------------------------------------------------------------------- /changelog/bastin_unify-lc-api-updates.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Move setter/getter functions for LC Updates into LcStore for a unified interface. -------------------------------------------------------------------------------- /changelog/fernantho_populate-variable-length-analyze-object.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Populate sszInfo of variable-length fields in AnalyzeObjects 4 | -------------------------------------------------------------------------------- /changelog/hyunchel_fix-misleading-log-msg.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Clarified misleading log messages in beacon-chain/rpc/service gRPC module. 4 | -------------------------------------------------------------------------------- /changelog/james-prysm_default-duties-v2.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Changed `enable-duties-v2` to `disable-duties-v2` to default to using duties v2. -------------------------------------------------------------------------------- /changelog/james-prysm_fix-da-metric.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - da metric was not writing correctly because if statement on err was accidently flipped -------------------------------------------------------------------------------- /changelog/jtraglia_update-within-da-period.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Use `MinEpochsForDataColumnSidecarsRequest` in `WithinDAPeriod` when in Fulu 4 | -------------------------------------------------------------------------------- /changelog/muzry_fix_get_block_attestation_v2.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fix getBlockAttestationsV2 to return [] instead of null when data is empty 4 | -------------------------------------------------------------------------------- /changelog/pvl-regression-15369.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Added regression test for [PR 15369](https://github.com/OffchainLabs/prysm/pull/15369) 4 | -------------------------------------------------------------------------------- /changelog/ttsao_add-fulu-fork-transition-tests.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add Fulu fork transition tests for mainnet and minimal configurations 4 | -------------------------------------------------------------------------------- /changelog/ttsao_simplify-golangci-config.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Update golangci-lint config to enable only basic linters that currently pass 4 | -------------------------------------------------------------------------------- /cmd/beacon-chain/flags/log.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "flags") 6 | -------------------------------------------------------------------------------- /cmd/prysmctl/p2p/log.go: -------------------------------------------------------------------------------- 1 | package p2p 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "prysmctl-p2p") 6 | -------------------------------------------------------------------------------- /validator/web/doc.go: -------------------------------------------------------------------------------- 1 | // Package web is the service to serve the Prysm web UI. See https://github.com/prysmaticlabs/prysm-web-ui 2 | package web 3 | -------------------------------------------------------------------------------- /api/server/httprest/log.go: -------------------------------------------------------------------------------- 1 | package httprest 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "httprest") 6 | -------------------------------------------------------------------------------- /beacon-chain/builder/log.go: -------------------------------------------------------------------------------- 1 | package builder 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "builder") 6 | -------------------------------------------------------------------------------- /beacon-chain/core/blocks/log.go: -------------------------------------------------------------------------------- 1 | package blocks 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "blocks") 6 | -------------------------------------------------------------------------------- /beacon-chain/slasher/log.go: -------------------------------------------------------------------------------- 1 | package slasher 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "slasher") 6 | -------------------------------------------------------------------------------- /changelog/bastin_abstract-update-validation.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Moved the validation logic for saving LC finality/optimistic updates to the store. -------------------------------------------------------------------------------- /changelog/bastin_move-lc-package-out-of-core.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Moved light-client package out of `beacon-chain/core/` and into `beacon-chain/`. -------------------------------------------------------------------------------- /changelog/bastin_version-to-fork-epoch.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add method `VersionToForkEpochMap()` to the `BeaconChainConfig` in the `params` package. -------------------------------------------------------------------------------- /changelog/james-prysm_deprecate-publish-blos.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Deprecated and added error to /prysm/v1/beacon/blobs endpoint for post Fulu fork. -------------------------------------------------------------------------------- /changelog/manu-peerdas-dataColumnSidecarByRootRPCHandler.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Non deterministic output order of `dataColumnSidecarByRootRPCHandler`. 3 | -------------------------------------------------------------------------------- /changelog/manu-subscriptions.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Subnets subscription: Avoid dynamic subscribing blocking in case not enough peers per subnets are found. -------------------------------------------------------------------------------- /changelog/pop_fix-subnet.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Fix bug where stale computed value in closure excludes newly required (eg attestation) subscriptions. 3 | -------------------------------------------------------------------------------- /changelog/radek_electra-committee-assertion.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Guard against no attesters within committee in `VerifyAttestationNoVerifySignature`. -------------------------------------------------------------------------------- /changelog/raulk_beacon-api-metadata.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added new metadata fields (attnets,syncnets,custody_group_count) to `/eth/v1/node/identity`. -------------------------------------------------------------------------------- /changelog/tt_state_root_debug.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Include state root in StateNotFoundError for better debugging of consensus validation failures -------------------------------------------------------------------------------- /genesis/internal/embedded/mainnet.ssz.snappy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/genesis/internal/embedded/mainnet.ssz.snappy -------------------------------------------------------------------------------- /third_party/herumi/mcl_darwin_arm64_base64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/third_party/herumi/mcl_darwin_arm64_base64.o -------------------------------------------------------------------------------- /tools/analyzers/nopanic/testdata/init.go: -------------------------------------------------------------------------------- 1 | package testdata 2 | 3 | func init() { 4 | if false { 5 | panic("this should never happen") 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /validator/accounts/log.go: -------------------------------------------------------------------------------- 1 | package accounts 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "accounts") 6 | -------------------------------------------------------------------------------- /validator/accounts/wallet/log.go: -------------------------------------------------------------------------------- 1 | package wallet 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "wallet") 6 | -------------------------------------------------------------------------------- /validator/graffiti/log.go: -------------------------------------------------------------------------------- 1 | package graffiti 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "graffiti") 6 | -------------------------------------------------------------------------------- /beacon-chain/core/transition/log.go: -------------------------------------------------------------------------------- 1 | package transition 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "state") 6 | -------------------------------------------------------------------------------- /beacon-chain/db/db_test.go: -------------------------------------------------------------------------------- 1 | package db 2 | 3 | import "github.com/OffchainLabs/prysm/v6/beacon-chain/db/kv" 4 | 5 | var _ Database = (*kv.Store)(nil) 6 | -------------------------------------------------------------------------------- /beacon-chain/db/kv/testdata/altona.genesis.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/beacon-chain/db/kv/testdata/altona.genesis.ssz -------------------------------------------------------------------------------- /beacon-chain/db/kv/testdata/capella_genesis.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/beacon-chain/db/kv/testdata/capella_genesis.ssz -------------------------------------------------------------------------------- /beacon-chain/db/kv/testdata/mainnet.genesis.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/beacon-chain/db/kv/testdata/mainnet.genesis.ssz -------------------------------------------------------------------------------- /beacon-chain/db/slasherkv/log.go: -------------------------------------------------------------------------------- 1 | package slasherkv 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "slasherdb") 6 | -------------------------------------------------------------------------------- /beacon-chain/execution/log.go: -------------------------------------------------------------------------------- 1 | package execution 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "execution") 6 | -------------------------------------------------------------------------------- /beacon-chain/execution/testdata/fuzz/FuzzExecutionBlock/8093511184ad3e258aa13b957e75ff26c7fae64672dae0c0bc0a9fa5b61a05e7: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("{}") 3 | -------------------------------------------------------------------------------- /beacon-chain/sync/backfill/log.go: -------------------------------------------------------------------------------- 1 | package backfill 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "backfill") 6 | -------------------------------------------------------------------------------- /changelog/james-prysm_proposer-lookahead-api.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Implements the `/eth/v1/beacon/states/{state_id}/proposer_lookahead` beacon api endpoint. -------------------------------------------------------------------------------- /changelog/muzry_fix_unremove_empty_dir.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed the issue of empty dirs not being deleted when using –blob-storage-layout=by-epoch 4 | -------------------------------------------------------------------------------- /changelog/potuz_change_insertchain.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Change InsertChain to use be increasingly ordered and insert the last block of the chain. 4 | -------------------------------------------------------------------------------- /changelog/pvl-fulu-prevent-datacolumns-oob.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Safeguard against accidental out of bounds array access in dataColumnSidecars method. 4 | -------------------------------------------------------------------------------- /changelog/pvl-slasherkv-timeout.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Added a 1 minute timeout on PruneAttestationOnEpoch operations to prevent very large bolt transactions 3 | -------------------------------------------------------------------------------- /changelog/radek_consensus-value-unavailable.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Return zero value for `Eth-Consensus-Block-Value` on error to avoid missed block proposals. -------------------------------------------------------------------------------- /changelog/sahil-4555-refactor-to-use-atomic-types.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Changed old atomic functions to new atomic.Int for safer and clearer code. 4 | -------------------------------------------------------------------------------- /changelog/sashass1315_fix-priority-queue-pop-lock-race.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - fix race in PriorityQueue.Pop by checking emptiness under write lock. (#15726) 3 | -------------------------------------------------------------------------------- /changelog/ttsao_fix-equivocation-block-field.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed NewSignedBeaconBlock calls to use Block field for proper equivocation handling 4 | -------------------------------------------------------------------------------- /consensus-types/primitives/payload_id.go: -------------------------------------------------------------------------------- 1 | package primitives 2 | 3 | // PayloadID represents an execution engine Payload ID 4 | type PayloadID [8]byte 5 | -------------------------------------------------------------------------------- /third_party/herumi/bls.BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | exports_files(["src/bls_c384_256.cpp", "src/bls_c_impl.hpp"]) 4 | -------------------------------------------------------------------------------- /validator/accounts/testdata/fuzz/FuzzValidateMnemonic/0258716f94e00f9df0da869fd97f9e0d0c6ac83eb528677d918f0ac9be5f4b8d: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | string("0 ") 3 | -------------------------------------------------------------------------------- /beacon-chain/db/filesystem/log.go: -------------------------------------------------------------------------------- 1 | package filesystem 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "filesystem") 6 | -------------------------------------------------------------------------------- /beacon-chain/rpc/eth/beacon/log.go: -------------------------------------------------------------------------------- 1 | package beacon 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "rpc/beaconv1") 6 | -------------------------------------------------------------------------------- /beacon-chain/rpc/eth/shared/testing/json_mainnet.go: -------------------------------------------------------------------------------- 1 | //go:build !minimal 2 | 3 | package testing 4 | 5 | const attestationCommitteeBits = "0x0100000000000000" 6 | -------------------------------------------------------------------------------- /beacon-chain/rpc/prysm/v1alpha1/beacon/log.go: -------------------------------------------------------------------------------- 1 | package beacon 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "rpc") 6 | -------------------------------------------------------------------------------- /beacon-chain/state/stategen/log.go: -------------------------------------------------------------------------------- 1 | package stategen 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "state-gen") 6 | -------------------------------------------------------------------------------- /changelog/kasey_decouple-proto-params.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - remove usages of params from the proto package so that the params package can access proto types. 3 | -------------------------------------------------------------------------------- /changelog/pvl-testing-context.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Replaced context.Background, etc to use t.Context. This is only in test code and does not change much. 4 | -------------------------------------------------------------------------------- /changelog/ttsao_add-fulu-proposer-lookahead-tests.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Fulu proposer lookahead epoch processing tests for mainnet and minimal configurations 4 | -------------------------------------------------------------------------------- /cmd/beacon-chain/execution/log.go: -------------------------------------------------------------------------------- 1 | package execution 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "execution") 6 | -------------------------------------------------------------------------------- /consensus-types/interfaces/validator.go: -------------------------------------------------------------------------------- 1 | package interfaces 2 | 3 | type WithWithdrawalCredentials interface { 4 | GetWithdrawalCredentials() []byte 5 | } 6 | -------------------------------------------------------------------------------- /container/trie/testdata/fuzz/FuzzSparseMerkleTrie_HashTreeRoot/5838cdfae7b16cde2707c04599b62223e7bade8dafdd8a1c53b8f881e8f79d99: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("") 3 | -------------------------------------------------------------------------------- /tools/analyzers/gocognit/CognitiveComplexity.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/tools/analyzers/gocognit/CognitiveComplexity.pdf -------------------------------------------------------------------------------- /tools/cross-toolchain/configs/cc/WORKSPACE: -------------------------------------------------------------------------------- 1 | # DO NOT EDIT: automatically generated WORKSPACE file for cc_autoconf rule 2 | workspace(name = "local_config_cc") 3 | -------------------------------------------------------------------------------- /validator/client/beacon-api/log.go: -------------------------------------------------------------------------------- 1 | package beacon_api 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "beacon-api") 6 | -------------------------------------------------------------------------------- /validator/keymanager/local/log.go: -------------------------------------------------------------------------------- 1 | package local 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "local-keymanager") 6 | -------------------------------------------------------------------------------- /beacon-chain/rpc/eth/validator/log.go: -------------------------------------------------------------------------------- 1 | package validator 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "beacon-api") 6 | -------------------------------------------------------------------------------- /beacon-chain/sync/checkpoint/log.go: -------------------------------------------------------------------------------- 1 | package checkpoint 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "checkpoint-sync") 6 | -------------------------------------------------------------------------------- /beacon-chain/verification/log.go: -------------------------------------------------------------------------------- 1 | package verification 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "verification") 6 | -------------------------------------------------------------------------------- /changelog/bastin_checkpoints-only-bootstraps.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Change LC Bootstrap logic to only save bootstraps on finalized checkpoints instead of every block. -------------------------------------------------------------------------------- /changelog/kasey_rename-backfill-flag.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Renamed the `--enable-experimental-backfill` flag to `--enable-backfill` to signal that it is more mature. 3 | -------------------------------------------------------------------------------- /changelog/pvl-blst-go-repo.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Changed blst dependency from `http_archive` to `go_repository` so that gazelle can keep it in sync with go.mod. 4 | -------------------------------------------------------------------------------- /changelog/pvl-debug-log.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added more metadata for debug logs when initial sync requests fail for "invalid data returned from peer" errors 4 | -------------------------------------------------------------------------------- /changelog/syjn99_ssz-ql-tag-parser.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - SSZ-QL: Add element information for `Vector` type. 4 | - SSZ-QL: Support multi-dimensional tag parsing. 5 | -------------------------------------------------------------------------------- /cmd/validator/slashing-protection/log.go: -------------------------------------------------------------------------------- 1 | package historycmd 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "historycmd") 6 | -------------------------------------------------------------------------------- /proto/eth/v1/testdata/invalid-offset.attestation.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/proto/eth/v1/testdata/invalid-offset.attestation.ssz -------------------------------------------------------------------------------- /validator/accounts/userprompt/log.go: -------------------------------------------------------------------------------- 1 | package userprompt 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "userprompt") 6 | -------------------------------------------------------------------------------- /validator/keymanager/derived/log.go: -------------------------------------------------------------------------------- 1 | package derived 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "derived-keymanager") 6 | -------------------------------------------------------------------------------- /beacon-chain/execution/testdata/fuzz/FuzzForkChoiceResponse/2d0486b744e252db538db5a44bfd6e6e22ff2723: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("{\"0000000000000\":{},\"pAYloAdId\":\"\"}") -------------------------------------------------------------------------------- /beacon-chain/forkchoice/error.go: -------------------------------------------------------------------------------- 1 | package forkchoice 2 | 3 | import "github.com/pkg/errors" 4 | 5 | var ErrUnknownCommonAncestor = errors.New("unknown common ancestor") 6 | -------------------------------------------------------------------------------- /beacon-chain/state/state-native/error.go: -------------------------------------------------------------------------------- 1 | package state_native 2 | 3 | import "errors" 4 | 5 | var ErrNilParticipation = errors.New("nil epoch participation in state") 6 | -------------------------------------------------------------------------------- /changelog/kasey_refactor-fork-schedules.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Refactor of fork schedule code to remove alternate methods of doing the same thing and support BPO digests. 3 | -------------------------------------------------------------------------------- /changelog/muzry_fix_submit_pool_sync_committee_signatures.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed align submitPoolSyncCommitteeSignatures response with Beacon API specification 4 | -------------------------------------------------------------------------------- /changelog/potuz_next_epoch_proposer_duties.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fix next epoch proposer duties in Fulu by advancing the state to the beginning of the current epoch. 4 | -------------------------------------------------------------------------------- /changelog/pvl-blob-cache-panic.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed a condition where the blob cache could panic when there were less than or no sidecars in the cache entry. 4 | -------------------------------------------------------------------------------- /changelog/pvl-p2p-colocation-whitelist.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Added flag `--p2p-colocation-whitelist` to accept CIDRs which will bypass the p2p colocation restrictions. 4 | -------------------------------------------------------------------------------- /changelog/pvl-time.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Changed `uint64` genesis time to use `time.Time`. Also did some refactoring and cleanup that was enabled by these changes. 4 | -------------------------------------------------------------------------------- /changelog/radek_fix-max-epoch-calculation-once.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Pre-calculate exit epoch, churn and active balance before processing slashings to reduce CPU load. -------------------------------------------------------------------------------- /changelog/ttsao_move-cache-key-outside-locks.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Move aggregated attestation cache key generation outside of critical locks to improve performance 4 | -------------------------------------------------------------------------------- /cmd/beacon-chain/pprof.beacon-chain.samples.cpu.pb.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/cmd/beacon-chain/pprof.beacon-chain.samples.cpu.pb.gz -------------------------------------------------------------------------------- /container/trie/testdata/fuzz/FuzzSparseMerkleTrie_MerkleProof/ec4893c52de558dbac9a850e4266850e109a9e6bc6bab59953b2a30027f66a93: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("") 3 | int(63) 4 | -------------------------------------------------------------------------------- /beacon-chain/cache/cache_test.go: -------------------------------------------------------------------------------- 1 | package cache 2 | 3 | import ( 4 | "os" 5 | "testing" 6 | ) 7 | 8 | func TestMain(m *testing.M) { 9 | os.Exit(m.Run()) 10 | } 11 | -------------------------------------------------------------------------------- /beacon-chain/execution/testdata/fuzz/FuzzExchangeTransitionConfiguration/8093511184ad3e258aa13b957e75ff26c7fae64672dae0c0bc0a9fa5b61a05e7: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("{}") 3 | -------------------------------------------------------------------------------- /beacon-chain/rpc/prysm/v1alpha1/validator/log.go: -------------------------------------------------------------------------------- 1 | package validator 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "rpc/validator") 6 | -------------------------------------------------------------------------------- /changelog/Galoretka_fix-leakybucket-test-duplicate.md: -------------------------------------------------------------------------------- 1 | ## Ignored 2 | - Remove duplicate test case in `container/leaky-bucket/collector_test.go` to reduce redundancy. (#15672) 3 | -------------------------------------------------------------------------------- /changelog/james-prysm_post-block-ssz.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Switching default of validator client rest call for submit block from JSON to SSZ. Fallback json will be attempted. -------------------------------------------------------------------------------- /changelog/kasey_fix-e2e-panic.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | - Fix a panic in e2e that is caused by poor context management leading to error assertions being called after test cleanup. 3 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-send-data-column-requests.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Implement `SendDataColumnSidecarsByRangeRequest`. 3 | - Implement `SendDataColumnSidecarsByRootRequest`. 4 | -------------------------------------------------------------------------------- /changelog/ttsao_refactor-proto-beacon-blocks.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Refactored proto definitions by extracting common beacon block types and components into separate files 4 | -------------------------------------------------------------------------------- /changelog/ttsao_update-consensus-spec-alpha5.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Updated consensus spec from v1.6.0-alpha.4 to v1.6.0-alpha.5 with adjusted minimal config parameters 4 | -------------------------------------------------------------------------------- /changelog/ttsao_update-consensus-spec-v160-alpha4.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Update consensus spec to v1.6.0-alpha.4 and implement data column support for forkchoice spectests 4 | -------------------------------------------------------------------------------- /testing/README.md: -------------------------------------------------------------------------------- 1 | # Prysm Testing 2 | 3 | Special bazel tags: 4 | 5 | - `"CI_race_detection"`: Apply this tag to test targets that want to run with race detection in CI. 6 | -------------------------------------------------------------------------------- /testing/spectest/shared/altair/sanity/block_processing.yaml.go: -------------------------------------------------------------------------------- 1 | package sanity 2 | 3 | // Config -- 4 | type Config struct { 5 | BlocksCount int `json:"blocks_count"` 6 | } 7 | -------------------------------------------------------------------------------- /testing/spectest/shared/capella/sanity/block_processing.yaml.go: -------------------------------------------------------------------------------- 1 | package sanity 2 | 3 | // Config -- 4 | type Config struct { 5 | BlocksCount int `json:"blocks_count"` 6 | } 7 | -------------------------------------------------------------------------------- /testing/spectest/shared/deneb/sanity/block_processing.yaml.go: -------------------------------------------------------------------------------- 1 | package sanity 2 | 3 | // Config -- 4 | type Config struct { 5 | BlocksCount int `json:"blocks_count"` 6 | } 7 | -------------------------------------------------------------------------------- /testing/spectest/shared/electra/sanity/block_processing.yaml.go: -------------------------------------------------------------------------------- 1 | package sanity 2 | 3 | // Config -- 4 | type Config struct { 5 | BlocksCount int `json:"blocks_count"` 6 | } 7 | -------------------------------------------------------------------------------- /testing/spectest/shared/fulu/sanity/block_processing.yaml.go: -------------------------------------------------------------------------------- 1 | package sanity 2 | 3 | // Config -- 4 | type Config struct { 5 | BlocksCount int `json:"blocks_count"` 6 | } 7 | -------------------------------------------------------------------------------- /testing/spectest/shared/phase0/sanity/block_processing.yaml.go: -------------------------------------------------------------------------------- 1 | package sanity 2 | 3 | // Config -- 4 | type Config struct { 5 | BlocksCount int `json:"blocks_count"` 6 | } 7 | -------------------------------------------------------------------------------- /time/slots/testing/mock_test.go: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/time/slots" 5 | ) 6 | 7 | var _ slots.Ticker = (*MockTicker)(nil) 8 | -------------------------------------------------------------------------------- /tools/nogo_config/hack.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | _ "honnef.co/go/tools/staticcheck" // Hack to keep go mod tidy happy. This dep is needed by bazel tooling. 5 | ) 6 | -------------------------------------------------------------------------------- /beacon-chain/core/blocks/testdata/beaconfuzz_78_beacon.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/beacon-chain/core/blocks/testdata/beaconfuzz_78_beacon.ssz -------------------------------------------------------------------------------- /beacon-chain/core/blocks/testdata/beaconfuzz_91_beacon.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/beacon-chain/core/blocks/testdata/beaconfuzz_91_beacon.ssz -------------------------------------------------------------------------------- /beacon-chain/sync/initial-sync/log.go: -------------------------------------------------------------------------------- 1 | package initialsync 2 | 3 | import ( 4 | "github.com/sirupsen/logrus" 5 | ) 6 | 7 | var log = logrus.WithField("prefix", "initial-sync") 8 | -------------------------------------------------------------------------------- /changelog/james-prysm_fix-justified-blocker.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed 'justified' block support missing on blocker.Block and optimized logic between blocker.Block and blocker.Blob. -------------------------------------------------------------------------------- /changelog/james-prysm_get-duties-v2.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - GetDutiesV2 gRPC function, removes committee list from duties, replaced with committee length, validator committee index. -------------------------------------------------------------------------------- /changelog/james-prysm_move-web-flag.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Code cleanup by moving the web flag as a feature flag so that we don't need to pass a variable throughout the code base. -------------------------------------------------------------------------------- /changelog/kasey_init-genesis-asap.md: -------------------------------------------------------------------------------- 1 | ## Fixed 2 | 3 | - Genesis state, timestamp and validators root now ubiquitously available at node startup, supporting tech debt cleanup. 4 | -------------------------------------------------------------------------------- /changelog/tt_post-fulu-mev-boost-protocol.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Implement post-Fulu MEV-boost protocol changes where relays only return status codes for blinded block submissions. -------------------------------------------------------------------------------- /proto/engine/v1/blobs_bundle.go: -------------------------------------------------------------------------------- 1 | package enginev1 2 | 3 | type BlobsBundler interface { 4 | GetKzgCommitments() [][]byte 5 | GetProofs() [][]byte 6 | GetBlobs() [][]byte 7 | } 8 | -------------------------------------------------------------------------------- /testing/endtoend/lighthouse.BUILD: -------------------------------------------------------------------------------- 1 | sh_binary( 2 | name = "lighthouse_bin", 3 | srcs = [ 4 | "lighthouse", 5 | ], 6 | visibility = ["//visibility:public"], 7 | ) -------------------------------------------------------------------------------- /testing/spectest/shared/bellatrix/sanity/block_processing.yaml.go: -------------------------------------------------------------------------------- 1 | package sanity 2 | 3 | // Config -- 4 | type Config struct { 5 | BlocksCount int `json:"blocks_count"` 6 | } 7 | -------------------------------------------------------------------------------- /beacon-chain/execution/testdata/fuzz/FuzzExecutionPayload/41784bc5bdb982cfc2d08e901aef27c3aff6604b506658bc52a25fade49b1f4e: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("{\"BAseFeePerGAs\":\"0X0\"}") 3 | -------------------------------------------------------------------------------- /beacon-chain/operations/slashings/log.go: -------------------------------------------------------------------------------- 1 | package slashings 2 | 3 | import ( 4 | "github.com/sirupsen/logrus" 5 | ) 6 | 7 | var log = logrus.WithField("prefix", "pool/slashings") 8 | -------------------------------------------------------------------------------- /changelog/bastin_read-updates-from-store-in-rpc.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Read light client optimistic and finality updates from LCStore instead of computing them in the beacon API handlers. -------------------------------------------------------------------------------- /changelog/pvl-rm-eth1voting-tool.md: -------------------------------------------------------------------------------- 1 | ### Removed 2 | 3 | - Removed //tools/eth1voting tool. This is no longer needed as the beacon chain no longer uses eth1data voting since Electra. 4 | -------------------------------------------------------------------------------- /changelog/satushh-getblobsv2-retry.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Add retry logic when GetBlobsV2 is called. 3 | - Call GetBlobsV2 as soon as we receive the first data column sidecar or block 4 | -------------------------------------------------------------------------------- /container/trie/testdata/fuzz/FuzzSparseMerkleTrie_Insert/d863478086b8f8e8c854ec74d4d5360ffbe979064b58f619eb3d5fddfdae64c8: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("") 3 | []byte("0") 4 | int(41) 5 | -------------------------------------------------------------------------------- /proto/prysm/v1alpha1/log.go: -------------------------------------------------------------------------------- 1 | package eth 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var logger = logrus.StandardLogger() 6 | var log = logger.WithField("prefix", "protobuf") 7 | -------------------------------------------------------------------------------- /testing/endtoend/web3signer.BUILD: -------------------------------------------------------------------------------- 1 | sh_binary( 2 | name = "web3signer", 3 | srcs = [ 4 | "bin/web3signer", 5 | ], 6 | visibility = ["//visibility:public"], 7 | ) 8 | -------------------------------------------------------------------------------- /validator/keymanager/remote-web3signer/log.go: -------------------------------------------------------------------------------- 1 | package remote_web3signer 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var log = logrus.WithField("prefix", "remote-keymanager") 6 | -------------------------------------------------------------------------------- /.github/actions/gomodtidy/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Go mod tidy checker' 2 | description: 'Checks that `go mod tidy` has been applied.' 3 | runs: 4 | using: 'docker' 5 | image: 'Dockerfile' 6 | -------------------------------------------------------------------------------- /beacon-chain/core/blocks/testdata/beaconfuzz_78_attestation.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/beacon-chain/core/blocks/testdata/beaconfuzz_78_attestation.ssz -------------------------------------------------------------------------------- /beacon-chain/operations/attestations/log.go: -------------------------------------------------------------------------------- 1 | package attestations 2 | 3 | import ( 4 | "github.com/sirupsen/logrus" 5 | ) 6 | 7 | var log = logrus.WithField("prefix", "pool/attestations") 8 | -------------------------------------------------------------------------------- /changelog/Alleysira-fix-meta-in-getPeers-resp.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Added missing `meta` field to the response of the endpoint `/eth/v1/node/peers` to align with the Beacon API spec (#15370) -------------------------------------------------------------------------------- /changelog/bastin_attestation-api-ssz.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add SSZ support for two attestation APIs: `/eth/v1/validator/attestation_data` and 4 | `/eth/v2/validator/aggregate_attestation`. -------------------------------------------------------------------------------- /changelog/kasey_start-discovery-immediately.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - Start topic-based peer discovery before initial sync completes so that we have coverage of needed columns when range syncing. 3 | -------------------------------------------------------------------------------- /changelog/manu-peerdas-reconstruction-from-el.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Implement data column sidecars reconstruction with data retrieved from the execution client when receiving a block via gossip. -------------------------------------------------------------------------------- /testing/benchmark/benchmark_files/fullBlock-128Atts-16384Vals.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/testing/benchmark/benchmark_files/fullBlock-128Atts-16384Vals.ssz -------------------------------------------------------------------------------- /validator/keymanager/constants.go: -------------------------------------------------------------------------------- 1 | package keymanager 2 | 3 | // KeysReloaded is a "key reloaded" message. 4 | const ( 5 | KeysReloaded = "Reloaded validator keys into keymanager" 6 | ) 7 | -------------------------------------------------------------------------------- /beacon-chain/rpc/eth/events/log.go: -------------------------------------------------------------------------------- 1 | package events 2 | 3 | import "github.com/sirupsen/logrus" 4 | 5 | var logger = logrus.StandardLogger() 6 | var log = logger.WithField("prefix", "events") 7 | -------------------------------------------------------------------------------- /beacon-chain/state/fieldtrie/testdata/fuzz/FuzzFieldTrie/c1898b8d556154d8a9d00cf2a64226dd5d76f33e27c373df2c409670db9b4877: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | int(5) 3 | int(0) 4 | []byte("") 5 | uint64(8234) 6 | -------------------------------------------------------------------------------- /changelog/add-blob-schedule-to-config-spec-endpoint.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add BLOB_SCHEDULE field to `/eth/v1/config/spec` endpoint response to expose blob scheduling configuration for networks. -------------------------------------------------------------------------------- /changelog/kasey_fix-15607.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | - mitigate potential supernode clustering due to libp2p ConnManager pruning of non-supernodes, see https://github.com/OffchainLabs/prysm/issues/15607. 3 | -------------------------------------------------------------------------------- /changelog/muzry_fix_validator_client_committee_index.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed incorrect attestation data request where the assigned committee index was used after Electra, instead of 0. 4 | -------------------------------------------------------------------------------- /changelog/potuz_add_publishv2_metric.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add timing metric `publish_block_v2_duration_milliseconds` to measure processing duration of the `PublishBlockV2` beacon API endpoint. -------------------------------------------------------------------------------- /beacon-chain/core/blocks/testdata/beaconfuzz_91_proposer_slashing.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/beacon-chain/core/blocks/testdata/beaconfuzz_91_proposer_slashing.ssz -------------------------------------------------------------------------------- /changelog/manu-broadcast.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Broadcast block then sidecars, instead block and sidecars concurrently 3 | - Broadcast and receive sidecars in concurrently, instead sequentially 4 | 5 | -------------------------------------------------------------------------------- /testing/benchmark/benchmark_files/bState1Epoch-128Atts-16384Vals.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/testing/benchmark/benchmark_files/bState1Epoch-128Atts-16384Vals.ssz -------------------------------------------------------------------------------- /testing/benchmark/benchmark_files/bState2Epochs-128Atts-16384Vals.ssz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lahomafonseca/guardian-gate/HEAD/testing/benchmark/benchmark_files/bState2Epochs-128Atts-16384Vals.ssz -------------------------------------------------------------------------------- /beacon-chain/execution/testdata/fuzz/FuzzExchangeTransitionConfiguration/fe012d83ce9f615dc9c351e781f97ed05d1118c6a363a8471f95ea97bbb9842f: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("{\"terminAlTotAlDiffiCultY\":\"0\"}") 3 | -------------------------------------------------------------------------------- /changelog/tt_formula_mlk.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Attest timely is now default. `attest-timely` flag is now deprecated. 4 | 5 | ### Added 6 | 7 | - `disable-attest-timely` flag to disable attest timely. -------------------------------------------------------------------------------- /beacon-chain/forkchoice/doubly-linked-tree/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package doublylinkedtree implements eth2 LMD GHOST fork choice using the doubly linked proto array node structure. 3 | */ 4 | package doublylinkedtree 5 | -------------------------------------------------------------------------------- /validator/keymanager/remote-web3signer/internal/log.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | import ( 4 | "github.com/sirupsen/logrus" 5 | ) 6 | 7 | var log = logrus.WithField("prefix", "remote-web3signer-internal") 8 | -------------------------------------------------------------------------------- /beacon-chain/blockchain/checktags_test.go: -------------------------------------------------------------------------------- 1 | //go:build !develop 2 | 3 | package blockchain 4 | 5 | func init() { 6 | log.Fatal("Tests in this package require extra build tag: re-run with `-tags develop`") 7 | } 8 | -------------------------------------------------------------------------------- /config/params/mainnet_config_export_test.go: -------------------------------------------------------------------------------- 1 | package params 2 | 3 | // Re-exports for blackbox testing. 4 | const MainnetDenebForkEpoch = mainnetDenebForkEpoch 5 | 6 | var MainnetBeaconConfig = mainnetBeaconConfig 7 | -------------------------------------------------------------------------------- /config/proposer/loader/testdata/default-only-proposer-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "default_config": { 3 | "fee_recipient": "0xAe967917c465db8578ca9024c205720b1a3651A9", 4 | "builder": {"enabled": true} 5 | } 6 | } -------------------------------------------------------------------------------- /proto/README.md: -------------------------------------------------------------------------------- 1 | # Prysm Protocol Buffers 2 | 3 | This package defines common protobuf messages and services used by Prysm. For now, we are checking in all generated code to support native go dependency management. 4 | -------------------------------------------------------------------------------- /beacon-chain/operations/attestations/pool_test.go: -------------------------------------------------------------------------------- 1 | package attestations 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/beacon-chain/operations/attestations/kv" 5 | ) 6 | 7 | var _ Pool = (*kv.AttCaches)(nil) 8 | -------------------------------------------------------------------------------- /config/proposer/loader/testdata/bad-prepare-beacon-proposer-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "proposer_config": { 3 | "0xa057816155ad77931185101128655c0191bd0214c201ca48ed887f6c4c6adf334070efcd75140eada5ac83a92506dd7a": { 4 | 5 | -------------------------------------------------------------------------------- /tools/analyzers/nopanic/testdata/pkg.go: -------------------------------------------------------------------------------- 1 | // package testdata 2 | // 3 | // lint:nopanic -- This package is so safe that you can trust it... 4 | package testdata 5 | 6 | func dive() { 7 | panic("BELLY FLOP!!!!") 8 | } 9 | -------------------------------------------------------------------------------- /changelog/james_prysm-fix-blocker-notfound.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - fixed regression introduced in PR #15715 , blocker now returns an error for not found, and error handling correctly handles error and returns 404 instead of 500 -------------------------------------------------------------------------------- /changelog/manu-peerdas-reconstruction-delay.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - PeerDAS: Wait for a random delay, then reconstruct data column sidecars and immediately reseed instead of immediately reconstructing, waiting and then reseeding. -------------------------------------------------------------------------------- /proto/prysm/v1alpha1/validator-client/interface.go: -------------------------------------------------------------------------------- 1 | package validatorpb 2 | 3 | // SignRequestObject exports the private isSignRequest_Object interface. 4 | type SignRequestObject interface { 5 | isSignRequest_Object 6 | } 7 | -------------------------------------------------------------------------------- /changelog/James-prysm_parallel-goodbyes.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - when shutting down the sync service we now send p2p goodbye messages in parallel to maxmimize changes of propogating goodbyes to all peers before an unsafe shutdown. -------------------------------------------------------------------------------- /changelog/James-prysm_persistent-seq-number.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - changed from in-memory to persistent discv5 db to keep local node information persistent for the key to keep the ENR sequence number deterministic when restarting. -------------------------------------------------------------------------------- /changelog/fix-genesis-block-eip6110.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Skip genesis block retrieval when EIP-6110 deposit requests have started to prevent "pruned history unavailable" errors with execution clients that have pruned pre-merge data -------------------------------------------------------------------------------- /changelog/manu-peerdas-get-blobs-V2.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | - Implement engine method `GetBlobsV2` 3 | - Implement execution `ReconstructDataColumnSidecars`, which reconstruct data column sidecars from data fetched from the execution layer. 4 | -------------------------------------------------------------------------------- /proto/testing/gocast.go: -------------------------------------------------------------------------------- 1 | //go:build tools 2 | 3 | package testing 4 | 5 | // Trick go mod into requiring protoc-gen-go-cast and therefore Gazelle won't prune it. 6 | import ( 7 | _ "github.com/prysmaticlabs/protoc-gen-go-cast" 8 | ) 9 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | *.sol linguist-language=Solidity 4 | 5 | # Ignore diff on generated code 6 | *.pb.go linguist-generated=true 7 | *_mock.go linguist-generated=true 8 | -------------------------------------------------------------------------------- /beacon-chain/core/blocks/exports_test.go: -------------------------------------------------------------------------------- 1 | package blocks 2 | 3 | var ProcessBLSToExecutionChange = processBLSToExecutionChange 4 | var ErrInvalidBLSPrefix = errInvalidBLSPrefix 5 | var VerifyBlobCommitmentCount = verifyBlobCommitmentCount 6 | -------------------------------------------------------------------------------- /changelog/tt_noodles.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - new `--batch-verifier-limit` flag to configure max number of signatures to batch verify on gossip 4 | 5 | ### Changed 6 | 7 | - default batch signature verification limit increased from 50 to 1000 -------------------------------------------------------------------------------- /hack/latest_version_tag.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | # Prints the latest git version tag, like "v2.12.8" 5 | git tag -l 'v*' --sort=creatordate | 6 | perl -nle 'if (/^v\d+\.\d+\.\d+$/) { print $_ }' | 7 | tail -n1 8 | 9 | -------------------------------------------------------------------------------- /changelog/james-prysm_fulu-web3signer.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Adding Fulu types for web3signer. 4 | 5 | ### Changed 6 | 7 | - changed validatorpb.SignRequest_AggregateAttestationAndProof signing type to use AggregateAttestationAndProofV2 on web3signer. -------------------------------------------------------------------------------- /changelog/tomasandroil_replace_grpc_gateway_flag_name.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Replaced hardcoded `grpc-gateway-port` with `flags.HTTPServerPort.Name` in `testing/endtoend/components/validator.go`, resolving an inline TODO for improved flag consistency. 3 | -------------------------------------------------------------------------------- /testing/endtoend/components/log.go: -------------------------------------------------------------------------------- 1 | package components 2 | 3 | import ( 4 | "github.com/sirupsen/logrus" 5 | ) 6 | 7 | var log = logrus.WithField("prefix", "components") 8 | 9 | func init() { 10 | logrus.SetReportCaller(true) 11 | } 12 | -------------------------------------------------------------------------------- /api/client/beacon/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package beacon provides a client for interacting with the standard Eth Beacon Node API. 3 | Interactive swagger documentation for the API is available here: https://ethereum.github.io/beacon-APIs/ 4 | */ 5 | package beacon 6 | -------------------------------------------------------------------------------- /changelog/kasey_reject-mismatched-schedules.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | - Reject incoming connections when the fork schedule of the connecting peer (parsed from their ENR) has a matching next_fork_epoch, but mismatched next_fork_version or nfd (next fork digest). 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Automatically require code review from core-team. 2 | * @prysmaticlabs/core-team 3 | 4 | # Starlark code owners 5 | *.bzl @prestonvanloon 6 | 7 | # Anyone on prylabs team can approve dependency updates. 8 | deps.bzl @prysmaticlabs/core-team -------------------------------------------------------------------------------- /changelog/DeVikingMark_fix-web3signer-test-error-handling.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Replace fmt.Printf with proper test error handling in web3signer keymanager tests, using require.NoError(t, err) instead of t.Fatalf for better error handling and debugging. 4 | -------------------------------------------------------------------------------- /container/trie/testdata/fuzz/FuzzSparseMerkleTrie_Insert/fuzzbuzz-97663548a1e2280a081745e5fa25c289f7121c0b: -------------------------------------------------------------------------------- 1 | go test fuzz v1 2 | []byte("\b\x03\x12\"2 00000000000000000000000000000000\x12\"2 00000000000000000000000000000000\x12\x00") 3 | []byte("") 4 | int(0) 5 | -------------------------------------------------------------------------------- /validator/testing/constants.go: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | // TestMnemonic -- 4 | const TestMnemonic = "tumble turn jewel sudden social great water general cabin jacket bounce dry flip monster advance problem social half flee inform century chicken hard reason" 5 | -------------------------------------------------------------------------------- /changelog/potuz_reorg_safe_vc.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Add a feature flag `--disable-duties-polling` to disable duties polling according to the dependent root. 4 | ### Fixed 5 | 6 | - Make the validator reorg resistant using dependent root on epoch boundaries. 7 | -------------------------------------------------------------------------------- /time/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["utils.go"], 6 | importpath = "github.com/OffchainLabs/prysm/v6/time", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /changelog/james-prysm_fix-builder-version-check.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - builder version check was using head block version instead of current fork's version based on slot, fixes e2e from https://github.com/OffchainLabs/prysm/commit/57e27199bdb9b3ef1af14c3374999aba5e0788a3. -------------------------------------------------------------------------------- /encoding/ssz/query/testutil/type.go: -------------------------------------------------------------------------------- 1 | package testutil 2 | 3 | type PathTest struct { 4 | Path string 5 | Expected any 6 | } 7 | 8 | type TestSpec struct { 9 | Name string 10 | Type any 11 | Instance any 12 | PathTests []PathTest 13 | } 14 | -------------------------------------------------------------------------------- /tools/cross-toolchain/common_osxcross.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | OSXCROSS_REPO=tpoechtrager/osxcross 5 | OSXCROSS_SHA1=17bb5e2d0a46533c1dd525cf4e9a80d88bd9f00e 6 | OSX_SDK=MacOSX12.3.sdk 7 | OSX_SDK_SUM=ae92043c991873bbecd716f8a3ea1d1623698dc556843d590d7ca9be76f28414 -------------------------------------------------------------------------------- /api/constants.go: -------------------------------------------------------------------------------- 1 | package api 2 | 3 | const ( 4 | WebUrlPrefix = "/v2/validator/" 5 | WebApiUrlPrefix = "/api/v2/validator/" 6 | KeymanagerApiPrefix = "/eth/v1" 7 | SystemLogsPrefix = "health/logs" 8 | AuthTokenFileName = "auth-token" 9 | ) 10 | -------------------------------------------------------------------------------- /beacon-chain/operations/synccommittee/error.go: -------------------------------------------------------------------------------- 1 | package synccommittee 2 | 3 | import "github.com/pkg/errors" 4 | 5 | var ( 6 | errNilMessage = errors.New("sync committee message is nil") 7 | errNilContribution = errors.New("sync committee contribution is nil") 8 | ) 9 | -------------------------------------------------------------------------------- /changelog/pvl-update-eth-clients.md: -------------------------------------------------------------------------------- 1 | ### Ignored 2 | 3 | - Updated pinned commit for eth-clients/holesky 4 | - Updated pinned commit for eth-clients/hoodi 5 | - Updated pinned commit for eth-clients/sepolia 6 | - Removed deprecated dependency for eth-clients/eth2-networks 7 | -------------------------------------------------------------------------------- /consensus-types/primitives/committee_bits_minimal.go: -------------------------------------------------------------------------------- 1 | //go:build minimal 2 | 3 | package primitives 4 | 5 | import "github.com/prysmaticlabs/go-bitfield" 6 | 7 | func NewAttestationCommitteeBits() bitfield.Bitvector4 { 8 | return bitfield.NewBitvector4() 9 | } 10 | -------------------------------------------------------------------------------- /testing/bls/aggregate_test.yaml.go: -------------------------------------------------------------------------------- 1 | // Code generated by yaml_to_go. DO NOT EDIT. 2 | // source: aggregate.yaml 3 | 4 | package bls 5 | 6 | type AggregateTest struct { 7 | Input []string `json:"input"` 8 | Output string `json:"output" ssz:"size=96"` 9 | } 10 | -------------------------------------------------------------------------------- /testing/endtoend/static-files/eth1/BUILD.bazel: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "eth1data", 3 | srcs = [ 4 | "UTC--2021-12-22T19-14-08.590377700Z--878705ba3f8bc32fcf7f4caa1a35e72af65cf766", 5 | ], 6 | visibility = ["//testing/endtoend:__subpackages__"], 7 | ) 8 | -------------------------------------------------------------------------------- /changelog/james-prysm_fix-find-peers.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed regression in find peer functions introduced in PR#15471, where nodes with equal sequence numbers were incorrectly skipped and the peer count was incorrectly reduced when replacing nodes with higher sequence numbers. -------------------------------------------------------------------------------- /changelog/james-prysm_move-ticker.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixes edge case starting validator client with new validator keys starts the slot ticker too early resulting in replayed slots in the main runner loop. Fixes edge case of replayed slots when waiting for account acivations. -------------------------------------------------------------------------------- /config/params/checktags_test.go: -------------------------------------------------------------------------------- 1 | //go:build !develop 2 | 3 | package params_test 4 | 5 | import ( 6 | log "github.com/sirupsen/logrus" 7 | ) 8 | 9 | func init() { 10 | log.Fatal("Tests in this package require extra build tag: re-run with `-tags develop`") 11 | } 12 | -------------------------------------------------------------------------------- /config/params/testnet_custom_network_config.go: -------------------------------------------------------------------------------- 1 | package params 2 | 3 | func UseCustomNetworkConfig() { 4 | cfg := BeaconNetworkConfig().Copy() 5 | cfg.ContractDeploymentBlock = 0 6 | cfg.BootstrapNodes = []string{} 7 | 8 | OverrideBeaconNetworkConfig(cfg) 9 | } 10 | -------------------------------------------------------------------------------- /consensus-types/primitives/committee_bits_mainnet.go: -------------------------------------------------------------------------------- 1 | //go:build !minimal 2 | 3 | package primitives 4 | 5 | import "github.com/prysmaticlabs/go-bitfield" 6 | 7 | func NewAttestationCommitteeBits() bitfield.Bitvector64 { 8 | return bitfield.NewBitvector64() 9 | } 10 | -------------------------------------------------------------------------------- /crypto/bls/constants.go: -------------------------------------------------------------------------------- 1 | package bls 2 | 3 | // DomainByteLength length of domain byte array. 4 | const DomainByteLength = 4 5 | 6 | // CurveOrder for the BLS12-381 curve. 7 | const CurveOrder = "52435875175126190479447740508185965837690552500527637822603658699938581184513" 8 | -------------------------------------------------------------------------------- /testing/fuzz/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["fuzz.go"], 6 | importpath = "github.com/OffchainLabs/prysm/v6/testing/fuzz", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /third_party/hid/README.md: -------------------------------------------------------------------------------- 1 | # usb 2 | 3 | This is a copy of github.com/karalabe/usb, except that it is fully disabled. 4 | 5 | The current karalabe/usb library requires a bit of handwritten cc_library targets. 6 | This library isn't used in Prysm anyway, so it is disabled for now. -------------------------------------------------------------------------------- /monitoring/journald/journald.go: -------------------------------------------------------------------------------- 1 | //go:build !linux 2 | 3 | package journald 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | // Enable returns an error on non-Linux systems 10 | func Enable() error { 11 | return fmt.Errorf("journald is not supported in this platform") 12 | } 13 | -------------------------------------------------------------------------------- /validator/keymanager/local/errors.go: -------------------------------------------------------------------------------- 1 | package local 2 | 3 | import "errors" 4 | 5 | var ( 6 | ErrNoPasswords = errors.New("no passwords provided for keystores") 7 | ErrMismatchedNumPasswords = errors.New("number of passwords does not match number of keystores") 8 | ) 9 | -------------------------------------------------------------------------------- /beacon-chain/blockchain/kzg/trusted_setup_test.go: -------------------------------------------------------------------------------- 1 | package kzg 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/require" 7 | ) 8 | 9 | func TestStart(t *testing.T) { 10 | require.NoError(t, Start()) 11 | require.NotNil(t, kzgContext) 12 | } 13 | -------------------------------------------------------------------------------- /changelog/syjn99_persist-p2p-seqnum.md: -------------------------------------------------------------------------------- 1 | ### Fixed 2 | 3 | - Fixed [#15544](https://github.com/OffchainLabs/prysm/issues/15544): Persist metadata sequence number if it is needed (e.g., use static peer ID option or Fulu enabled). 4 | 5 | ### Deprecated 6 | 7 | - Deprecated `p2p-metadata` flag. -------------------------------------------------------------------------------- /beacon-chain/core/feed/block/notifier.go: -------------------------------------------------------------------------------- 1 | package block 2 | 3 | import "github.com/OffchainLabs/prysm/v6/async/event" 4 | 5 | // Notifier interface defines the methods of the service that provides block updates to consumers. 6 | type Notifier interface { 7 | BlockFeed() *event.Feed 8 | } 9 | -------------------------------------------------------------------------------- /cmd/prysmctl/validator/error.go: -------------------------------------------------------------------------------- 1 | package validator 2 | 3 | import "fmt" 4 | 5 | // ErrNoFlag takes a flag name and returns a formatted error representing no flag was provided. 6 | func errNoFlag(flagName string) error { 7 | return fmt.Errorf("no --%s flag value was provided", flagName) 8 | } 9 | -------------------------------------------------------------------------------- /config/proposer/loader/testdata/proposer-config-only.json: -------------------------------------------------------------------------------- 1 | { 2 | "proposer_config": { 3 | "0xa057816155ad77931185101128655c0191bd0214c201ca48ed887f6c4c6adf334070efcd75140eada5ac83a92506dd7a": { 4 | "fee_recipient": "0x50155530FCE8a85ec7055A5F8b2bE214B3DaeFd3" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tools/build_settings.bzl: -------------------------------------------------------------------------------- 1 | BaseImageProvider = provider(fields = ["type"]) 2 | 3 | def _impl(ctx): 4 | return BaseImageProvider(type = ctx.build_setting_value) 5 | 6 | base_image = rule( 7 | implementation = _impl, 8 | build_setting = config.string(flag = True), 9 | ) 10 | -------------------------------------------------------------------------------- /network/httputil/errors.go: -------------------------------------------------------------------------------- 1 | package httputil 2 | 3 | import ( 4 | "net/http" 5 | ) 6 | 7 | func HandleError(w http.ResponseWriter, message string, code int) { 8 | errJson := &DefaultJsonError{ 9 | Message: message, 10 | Code: code, 11 | } 12 | WriteError(w, errJson) 13 | } 14 | -------------------------------------------------------------------------------- /tools/cross-toolchain/cpp_env_clang.json: -------------------------------------------------------------------------------- 1 | { 2 | "BAZEL_COMPILER": "clang", 3 | "BAZEL_LINKLIBS": "-l%:libstdc++.a", 4 | "BAZEL_LINKOPTS": "-lm:-static-libgcc", 5 | "BAZEL_USE_LLVM_NATIVE_COVERAGE": "1", 6 | "GCOV": "llvm-profdata", 7 | "CC": "clang", 8 | "CXX": "clang++" 9 | } -------------------------------------------------------------------------------- /beacon-chain/cache/doc.go: -------------------------------------------------------------------------------- 1 | // Package cache includes all important caches for the runtime 2 | // of an Ethereum Beacon Node, ensuring the node does not spend 3 | // resources computing duplicate operations such as committee 4 | // calculations for validators during the same epoch, etc. 5 | package cache 6 | -------------------------------------------------------------------------------- /beacon-chain/core/feed/state/notifier.go: -------------------------------------------------------------------------------- 1 | package state 2 | 3 | import "github.com/OffchainLabs/prysm/v6/async/event" 4 | 5 | // Notifier interface defines the methods of the service that provides state updates to consumers. 6 | type Notifier interface { 7 | StateFeed() event.SubscriberSender 8 | } 9 | -------------------------------------------------------------------------------- /beacon-chain/monitor/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package monitor defines a runtime service which receives 3 | notifications triggered by events related to performance of tracked 4 | validating keys. It then logs and emits metrics for a user to keep finely 5 | detailed performance measures. 6 | */ 7 | package monitor 8 | -------------------------------------------------------------------------------- /beacon-chain/operations/slashings/doc.go: -------------------------------------------------------------------------------- 1 | // Package slashings defines an in-memory pool of received 2 | // slashing events by the beacon node, handling their lifecycle 3 | // and performing integrity checks before serving them as objects 4 | // for validators to include in blocks. 5 | package slashings 6 | -------------------------------------------------------------------------------- /testing/benchmark/benchmark_files/BUILD.bazel: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "benchmark_data", 3 | srcs = glob([ 4 | "*.ssz", 5 | ]), 6 | visibility = [ 7 | "//beacon-chain/core/transition:__pkg__", 8 | "//testing/benchmark:__subpackages__", 9 | ], 10 | ) 11 | -------------------------------------------------------------------------------- /time/slots/slotutil_test.go: -------------------------------------------------------------------------------- 1 | package slots 2 | 3 | import ( 4 | "io" 5 | "os" 6 | "testing" 7 | 8 | "github.com/sirupsen/logrus" 9 | ) 10 | 11 | func TestMain(m *testing.M) { 12 | logrus.SetLevel(logrus.DebugLevel) 13 | logrus.SetOutput(io.Discard) 14 | 15 | os.Exit(m.Run()) 16 | } 17 | -------------------------------------------------------------------------------- /beacon-chain/db/filters/errors.go: -------------------------------------------------------------------------------- 1 | package filters 2 | 3 | import "errors" 4 | 5 | var ( 6 | ErrIncompatibleFilters = errors.New("combination of filters is not valid") 7 | ErrNotSet = errors.New("filter was not set") 8 | ErrInvalidQuery = errors.New("invalid query") 9 | ) 10 | -------------------------------------------------------------------------------- /beacon-chain/rpc/options/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["options.go"], 6 | importpath = "github.com/OffchainLabs/prysm/v6/beacon-chain/rpc/options", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__fork__upgrade_to_fulu_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/fork" 7 | ) 8 | 9 | func TestMainnet_UpgradeToFulu(t *testing.T) { 10 | fork.RunUpgradeToFulu(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__fork__upgrade_to_fulu_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/fork" 7 | ) 8 | 9 | func TestMinimal_UpgradeToFulu(t *testing.T) { 10 | fork.RunUpgradeToFulu(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /third_party/hid/AUTHORS: -------------------------------------------------------------------------------- 1 | Felix Lange 2 | Guillaume Ballet 3 | Jakob Weisblat 4 | Martin Holst Swende 5 | Mateusz Mikołajczyk 6 | Péter Szilágyi 7 | Rosen Penev 8 | -------------------------------------------------------------------------------- /changelog/james-prysm_remove-ssz-only-flag.md: -------------------------------------------------------------------------------- 1 | ### Removed 2 | 3 | - Partially reverting pr #15390 removing the `ssz-only` debug flag until there is a real usecase for the flag 4 | 5 | ### Added 6 | 7 | - Added new PRYSM_API_OVERRIDE_ACCEPT environment variable to override ssz accept header as a replacement to flag -------------------------------------------------------------------------------- /network/authorization/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["authorization_method.go"], 6 | importpath = "github.com/OffchainLabs/prysm/v6/network/authorization", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/finality" 7 | ) 8 | 9 | func TestMainnet_Fulu_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__fork__upgrade_to_deneb_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/fork" 7 | ) 8 | 9 | func TestMinimal_UpgradeToDeneb(t *testing.T) { 10 | fork.RunUpgradeToDeneb(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/finality" 7 | ) 8 | 9 | func TestMinimal_Fulu_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /beacon-chain/db/slasherkv/slasherkv_test.go: -------------------------------------------------------------------------------- 1 | package slasherkv 2 | 3 | import ( 4 | "io" 5 | "os" 6 | "testing" 7 | 8 | "github.com/sirupsen/logrus" 9 | ) 10 | 11 | func TestMain(m *testing.M) { 12 | logrus.SetLevel(logrus.DebugLevel) 13 | logrus.SetOutput(io.Discard) 14 | os.Exit(m.Run()) 15 | } 16 | -------------------------------------------------------------------------------- /beacon-chain/state/error.go: -------------------------------------------------------------------------------- 1 | package state 2 | 3 | import "errors" 4 | 5 | var ( 6 | // ErrNilValidatorsInState returns when accessing validators in the state while the state has a 7 | // nil slice for the validators field. 8 | ErrNilValidatorsInState = errors.New("state has nil validator slice") 9 | ) 10 | -------------------------------------------------------------------------------- /testing/bls/deserialization_G1_test.yaml.go: -------------------------------------------------------------------------------- 1 | // Code generated by yaml_to_go. DO NOT EDIT. 2 | // source: hash_to_G2.yaml 3 | 4 | package bls 5 | 6 | type DeserializationG1Test struct { 7 | Input struct { 8 | Pubkey string `json:"pubkey"` 9 | } `json:"input"` 10 | Output bool `json:"output"` 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/finality" 7 | ) 8 | 9 | func TestMainnet_Altair_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/finality" 7 | ) 8 | 9 | func TestMainnet_Deneb_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/sanity" 7 | ) 8 | 9 | func TestMainnet_Deneb_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/sanity" 7 | ) 8 | 9 | func TestMainnet_Fulu_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/finality" 7 | ) 8 | 9 | func TestMainnet_Phase0_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/finality" 7 | ) 8 | 9 | func TestMinimal_Altair_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/finality" 7 | ) 8 | 9 | func TestMinimal_Deneb_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/sanity" 7 | ) 8 | 9 | func TestMinimal_Deneb_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/sanity" 7 | ) 8 | 9 | func TestMinimal_Fulu_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/finality" 7 | ) 8 | 9 | func TestMinimal_Phase0_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /async/event/interface.go: -------------------------------------------------------------------------------- 1 | package event 2 | 3 | // SubscriberSender is an abstract representation of an *event.Feed 4 | // to use in describing types that accept or return an *event.Feed. 5 | type SubscriberSender interface { 6 | Subscribe(channel interface{}) Subscription 7 | Send(value interface{}) (nsent int) 8 | } 9 | -------------------------------------------------------------------------------- /beacon-chain/blockchain/blockchain_test.go: -------------------------------------------------------------------------------- 1 | package blockchain 2 | 3 | import ( 4 | "io" 5 | "os" 6 | "testing" 7 | 8 | "github.com/sirupsen/logrus" 9 | ) 10 | 11 | func TestMain(m *testing.M) { 12 | logrus.SetLevel(logrus.DebugLevel) 13 | logrus.SetOutput(io.Discard) 14 | 15 | os.Exit(m.Run()) 16 | } 17 | -------------------------------------------------------------------------------- /beacon-chain/operations/voluntaryexits/doc.go: -------------------------------------------------------------------------------- 1 | // Package voluntaryexits defines an in-memory pool of received 2 | // voluntary exit events by the beacon node, handling their lifecycle 3 | // and performing integrity checks before serving them as objects 4 | // for validators to include in blocks. 5 | package voluntaryexits 6 | -------------------------------------------------------------------------------- /beacon-chain/state/stateutil/reference_bench_test.go: -------------------------------------------------------------------------------- 1 | package stateutil 2 | 3 | import ( 4 | "math" 5 | "testing" 6 | ) 7 | 8 | func BenchmarkReference_MinusRef(b *testing.B) { 9 | ref := &Reference{ 10 | refs: math.MaxUint64, 11 | } 12 | for i := 0; i < b.N; i++ { 13 | ref.MinusRef() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /changelog/james-prysm_ssz-validator-block.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - New ssz-only flag for validator client to enable calling rest apis in SSZ, starting with get block endpoint. 4 | 5 | ### Changed 6 | 7 | - when REST api is enabled the get Block api defaults to requesting and receiving SSZ instead of JSON, JSON is the fallback. -------------------------------------------------------------------------------- /testing/bls/deserialization_G2_test.yaml.go: -------------------------------------------------------------------------------- 1 | // Code generated by yaml_to_go. DO NOT EDIT. 2 | // source: hash_to_G2.yaml 3 | 4 | package bls 5 | 6 | type DeserializationG2Test struct { 7 | Input struct { 8 | Signature string `json:"signature"` 9 | } `json:"input"` 10 | Output bool `json:"output"` 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/sanity" 7 | ) 8 | 9 | func TestMainnet_Altair_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/finality" 7 | ) 8 | 9 | func TestMainnet_Capella_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/sanity" 7 | ) 8 | 9 | func TestMainnet_Capella_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__fork_helper__upgrade_to_deneb_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/fork" 7 | ) 8 | 9 | func TestMainnet_UpgradeToDeneb(t *testing.T) { 10 | fork.RunUpgradeToDeneb(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/finality" 7 | ) 8 | 9 | func TestMainnet_Electra_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/sanity" 7 | ) 8 | 9 | func TestMainnet_Electra_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/fork" 7 | ) 8 | 9 | func TestMainnet_Fulu_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/ssz_static" 7 | ) 8 | 9 | func TestMainnet_Fulu_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/sanity" 7 | ) 8 | 9 | func TestMainnet_Phase0_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/sanity" 7 | ) 8 | 9 | func TestMinimal_Altair_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/finality" 7 | ) 8 | 9 | func TestMinimal_Capella_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/sanity" 7 | ) 8 | 9 | func TestMinimal_Capella_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/finality" 7 | ) 8 | 9 | func TestMinimal_Electra_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__fork__upgrade_to_electra_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/fork" 7 | ) 8 | 9 | func TestMinimal_UpgradeToElectra(t *testing.T) { 10 | fork.RunUpgradeToElectra(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/sanity" 7 | ) 8 | 9 | func TestMinimal_Electra_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/fork" 7 | ) 8 | 9 | func TestMinimal_Fulu_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/ssz_static" 7 | ) 8 | 9 | func TestMinimal_Fulu_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/sanity" 7 | ) 8 | 9 | func TestMinimal_Phase0_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /api/jwt_test.go: -------------------------------------------------------------------------------- 1 | package api 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/require" 7 | ) 8 | 9 | func TestGenerateRandomHexString(t *testing.T) { 10 | token, err := GenerateRandomHexString() 11 | require.NoError(t, err) 12 | require.NoError(t, ValidateAuthToken(token)) 13 | } 14 | -------------------------------------------------------------------------------- /beacon-chain/execution/execution_chain_test.go: -------------------------------------------------------------------------------- 1 | package execution 2 | 3 | import ( 4 | "io" 5 | "os" 6 | "testing" 7 | 8 | "github.com/sirupsen/logrus" 9 | ) 10 | 11 | func TestMain(m *testing.M) { 12 | logrus.SetLevel(logrus.DebugLevel) 13 | logrus.SetOutput(io.Discard) 14 | 15 | os.Exit(m.Run()) 16 | } 17 | -------------------------------------------------------------------------------- /beacon-chain/verification/verification_test.go: -------------------------------------------------------------------------------- 1 | package verification 2 | 3 | import ( 4 | "os" 5 | "testing" 6 | 7 | "github.com/OffchainLabs/prysm/v6/beacon-chain/blockchain/kzg" 8 | ) 9 | 10 | func TestMain(t *testing.M) { 11 | if err := kzg.Start(); err != nil { 12 | os.Exit(1) 13 | } 14 | t.Run() 15 | } 16 | -------------------------------------------------------------------------------- /cmd/prysmctl/db/cmd.go: -------------------------------------------------------------------------------- 1 | package db 2 | 3 | import "github.com/urfave/cli/v2" 4 | 5 | var Commands = []*cli.Command{ 6 | { 7 | Name: "db", 8 | Usage: "commands to work with the prysm beacon db", 9 | Subcommands: []*cli.Command{ 10 | queryCmd, 11 | bucketsCmd, 12 | spanCmd, 13 | }, 14 | }, 15 | } 16 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/fork" 7 | ) 8 | 9 | func TestMainnet_Altair_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/finality" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/fork" 7 | ) 8 | 9 | func TestMainnet_Deneb_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/ssz_static" 7 | ) 8 | 9 | func TestMainnet_Deneb_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__fork__upgrade_to_altair_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/fork" 7 | ) 8 | 9 | func TestMinimal_Altair_UpgradeToAltair(t *testing.T) { 10 | fork.RunUpgradeToAltair(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/fork" 7 | ) 8 | 9 | func TestMinimal_Altair_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__finality__finality_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/finality" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Finality(t *testing.T) { 10 | finality.RunFinalityTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/fork" 7 | ) 8 | 9 | func TestMinimal_Deneb_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/ssz_static" 7 | ) 8 | 9 | func TestMinimal_Deneb_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMinimal_Fulu_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /beacon-chain/core/feed/operation/notifier.go: -------------------------------------------------------------------------------- 1 | package operation 2 | 3 | import "github.com/OffchainLabs/prysm/v6/async/event" 4 | 5 | // Notifier interface defines the methods of the service that provides beacon block operation updates to consumers. 6 | type Notifier interface { 7 | OperationFeed() event.SubscriberSender 8 | } 9 | -------------------------------------------------------------------------------- /changelog/bastin_move_broadcast_to_store.md: -------------------------------------------------------------------------------- 1 | ### Changed 2 | 3 | - Moved the broadcast and event notifier logic for saving LC updates to the store function. 4 | - Fixed the issue with broadcasting more than twice per LC Finality update, and the if-case bug. 5 | - Separated the finality update validation rules for saving and broadcasting. -------------------------------------------------------------------------------- /testing/bls/sign_test.yaml.go: -------------------------------------------------------------------------------- 1 | // Code generated by yaml_to_go. DO NOT EDIT. 2 | // source: sign_msg.yaml 3 | 4 | package bls 5 | 6 | type SignMsgTest struct { 7 | Input struct { 8 | Privkey string `json:"privkey"` 9 | Message string `json:"message"` 10 | } `json:"input"` 11 | Output string `json:"output"` 12 | } 13 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__fork_helper__upgrade_to_altair_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/fork" 7 | ) 8 | 9 | func TestMainnet_Altair_UpgradeToAltair(t *testing.T) { 10 | fork.RunUpgradeToAltair(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMainnet_Altair_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/ssz_static" 7 | ) 8 | 9 | func TestMainnet_Altair_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/sanity" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/fork" 7 | ) 8 | 9 | func TestMainnet_Capella_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/ssz_static" 7 | ) 8 | 9 | func TestMainnet_Capella_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/rewards" 7 | ) 8 | 9 | func TestMainnet_Deneb_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__fork_helper__upgrade_to_electra_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/fork" 7 | ) 8 | 9 | func TestMainnet_UpgradeToElectra(t *testing.T) { 10 | fork.RunUpgradeToElectra(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/fork" 7 | ) 8 | 9 | func TestMainnet_Electra_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/ssz_static" 7 | ) 8 | 9 | func TestMainnet_Electra_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/rewards" 7 | ) 8 | 9 | func TestMainnet_Fulu_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMainnet_Phase0_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/ssz_static" 7 | ) 8 | 9 | func TestMainnet_Phase0_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMinimal_Altair_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/ssz_static" 7 | ) 8 | 9 | func TestMinimal_Altair_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__sanity__slots_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/sanity" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Sanity_Slots(t *testing.T) { 10 | sanity.RunSlotProcessingTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__fork__upgrade_to_capella_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/fork" 7 | ) 8 | 9 | func TestMinimal_Capella_UpgradeToCapella(t *testing.T) { 10 | fork.RunUpgradeToCapella(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/fork" 7 | ) 8 | 9 | func TestMinimal_Capella_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/ssz_static" 7 | ) 8 | 9 | func TestMinimal_Capella_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMinimal_Deneb_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/rewards" 7 | ) 8 | 9 | func TestMinimal_Deneb_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/fork" 7 | ) 8 | 9 | func TestMinimal_Electra_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/ssz_static" 7 | ) 8 | 9 | func TestMinimal_Electra_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/rewards" 7 | ) 8 | 9 | func TestMinimal_Fulu_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMinimal_Phase0_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/ssz_static" 7 | ) 8 | 9 | func TestMinimal_Phase0_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /cmd/prysmctl/testnet/testnet.go: -------------------------------------------------------------------------------- 1 | package testnet 2 | 3 | import "github.com/urfave/cli/v2" 4 | 5 | var Commands = []*cli.Command{ 6 | { 7 | Name: "testnet", 8 | Usage: "commands for dealing with Ethereum beacon chain testnets", 9 | Subcommands: []*cli.Command{ 10 | generateGenesisStateCmd, 11 | }, 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/rewards" 7 | ) 8 | 9 | func TestMainnet_Altair_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/fork" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/ssz_static" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__fork_helper__upgrade_to_capella_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/fork" 7 | ) 8 | 9 | func TestMainnet_Capella_UpgradeToCapella(t *testing.T) { 10 | fork.RunUpgradeToCapella(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMainnet_Capella_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/rewards" 7 | ) 8 | 9 | func TestMainnet_Capella_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__merkle_proof__merkle_proof_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/merkle_proof" 7 | ) 8 | 9 | func TestMainnet_Deneb_MerkleProof(t *testing.T) { 10 | merkle_proof.RunMerkleProofTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMainnet_Electra_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/rewards" 7 | ) 8 | 9 | func TestMainnet_Electra_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__merkle_proof__merkle_proof_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/merkle_proof" 7 | ) 8 | 9 | func TestMainnet_Fulu_MerkleProof(t *testing.T) { 10 | merkle_proof.RunMerkleProofTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/rewards" 7 | ) 8 | 9 | func TestMainnet_Phase0_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/rewards" 7 | ) 8 | 9 | func TestMinimal_Altair_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__fork_transition__transition_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/fork" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Transition(t *testing.T) { 10 | fork.RunForkTransitionTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__ssz_static__ssz_static_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/ssz_static" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_SSZStatic(t *testing.T) { 10 | ssz_static.RunSSZStaticTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMinimal_Capella_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/rewards" 7 | ) 8 | 9 | func TestMinimal_Capella_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__merkle_proof__merkle_proof_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/merkle_proof" 7 | ) 8 | 9 | func TestMainnet_Deneb_MerkleProof(t *testing.T) { 10 | merkle_proof.RunMerkleProofTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMinimal_Electra_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/rewards" 7 | ) 8 | 9 | func TestMinimal_Electra_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__merkle_proof__merkle_proof_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/merkle_proof" 7 | ) 8 | 9 | func TestMinimal_Fulu_MerkleProof(t *testing.T) { 10 | merkle_proof.RunMerkleProofTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMinimal_Fulu_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMinimal_Fulu_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/rewards" 7 | ) 8 | 9 | func TestMinimal_Phase0_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/operations" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__random__random_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/sanity" 7 | ) 8 | 9 | func TestMainnet_Deneb_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__random__random_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/sanity" 7 | ) 8 | 9 | func TestMainnet_Fulu_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__fork__upgrade_to_altair_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/fork" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_UpgradeToBellatrix(t *testing.T) { 10 | fork.RunUpgradeToBellatrix(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__operations__deposit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/operations" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Operations_Deposit(t *testing.T) { 10 | operations.RunDepositTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMinimal_Deneb_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMinimal_Deneb_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMinimal_Deneb_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__random__random_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/sanity" 7 | ) 8 | 9 | func TestMinimal_Deneb_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMinimal_Fulu_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__random__random_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/sanity" 7 | ) 8 | 9 | func TestMinimal_Fulu_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /beacon-chain/db/iface/errors.go: -------------------------------------------------------------------------------- 1 | package iface 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | var ( 8 | // ErrExistingGenesisState is an error when the user attempts to save a different genesis state 9 | // when one already exists in a database. 10 | ErrExistingGenesisState = errors.New("genesis state exists already in the DB") 11 | ) 12 | -------------------------------------------------------------------------------- /beacon-chain/execution/init_test.go: -------------------------------------------------------------------------------- 1 | package execution 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/config/params" 5 | ) 6 | 7 | func init() { 8 | // Override network name so that hardcoded genesis files are not loaded. 9 | if err := params.SetActive(params.MainnetTestConfig()); err != nil { 10 | panic(err) 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /crypto/bls/blst/doc.go: -------------------------------------------------------------------------------- 1 | // Package blst implements a go-wrapper around a library implementing the 2 | // BLS12-381 curve and signature scheme. This package exposes a public API for 3 | // verifying and aggregating BLS signatures used by Ethereum. 4 | // 5 | // This implementation uses the library written by Supranational, blst. 6 | package blst 7 | -------------------------------------------------------------------------------- /io/logs/mock/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["mock_stream.go"], 6 | importpath = "github.com/OffchainLabs/prysm/v6/io/logs/mock", 7 | visibility = ["//visibility:public"], 8 | deps = ["//async/event:go_default_library"], 9 | ) 10 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMainnet_Altair_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMainnet_Altair_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__random__random_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/sanity" 7 | ) 8 | 9 | func TestMainnet_Altair_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__fork_helper__upgrade_to_altair_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/fork" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_UpgradeToBellatrix(t *testing.T) { 10 | fork.RunUpgradeToBellatrix(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/rewards" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMainnet_Capella_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMainnet_Capella_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMainnet_Capella_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__random__random_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/sanity" 7 | ) 8 | 9 | func TestMainnet_Capella_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__merkle_proof__merkle_proof_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/merkle_proof" 7 | ) 8 | 9 | func TestMainnet_Electra_MerkleProof(t *testing.T) { 10 | merkle_proof.RunMerkleProofTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMainnet_Electra_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMainnet_Electra_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMainnet_Electra_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__random__random_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/sanity" 7 | ) 8 | 9 | func TestMainnet_Electra_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__consolidation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_Consolidation(t *testing.T) { 10 | operations.RunConsolidationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/sanity" 7 | ) 8 | 9 | func TestMainnet_Fulu_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMainnet_Phase0_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMainnet_Phase0_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__random__random_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/sanity" 7 | ) 8 | 9 | func TestMainnet_Phase0_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMinimal_Altair_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMinimal_Altair_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__random__random_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/sanity" 7 | ) 8 | 9 | func TestMinimal_Altair_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__rewards__rewards_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/rewards" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Rewards(t *testing.T) { 10 | rewards.RunPrecomputeRewardsAndPenaltiesTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMinimal_Capella_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMinimal_Capella_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMinimal_Capella_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__random__random_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/sanity" 7 | ) 8 | 9 | func TestMinimal_Capella_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMinimal_Deneb_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMinimal_Deneb_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__merkle_proof__merkle_proof_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/merkle_proof" 7 | ) 8 | 9 | func TestMinimal_Electra_MerkleProof(t *testing.T) { 10 | merkle_proof.RunMerkleProofTests(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMinimal_Electra_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMinimal_Electra_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__operations__withdrawals_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMinimal_Electra_Operations_Withdrawals(t *testing.T) { 10 | operations.RunWithdrawalsTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__random__random_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/sanity" 7 | ) 8 | 9 | func TestMinimal_Electra_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__consolidation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMinimal_Fulu_Operations_Consolidation(t *testing.T) { 10 | operations.RunConsolidationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMinimal_Fulu_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMinimal_Fulu_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/sanity" 7 | ) 8 | 9 | func TestMinimal_Fulu_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMinimal_Phase0_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMinimal_Phase0_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__random__random_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/sanity" 7 | ) 8 | 9 | func TestMinimal_Phase0_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /validator/slashing-protection-history/doc.go: -------------------------------------------------------------------------------- 1 | // Package history defines methods to parse, import, and export slashing protection data 2 | // from a standard JSON file according to EIP-3076 https://eips.ethereum.org/EIPS/eip-3076. This format 3 | // is critical to allow safe interoperability between Ethereum consensus clients. 4 | package history 5 | -------------------------------------------------------------------------------- /validator/slashing-protection-history/format/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["format.go"], 6 | importpath = "github.com/OffchainLabs/prysm/v6/validator/slashing-protection-history/format", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /beacon-chain/blockchain/init_test.go: -------------------------------------------------------------------------------- 1 | package blockchain 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/config/params" 5 | ) 6 | 7 | func init() { 8 | // Override network name so that hardcoded genesis files are not loaded. 9 | if err := params.SetActive(params.MainnetTestConfig()); err != nil { 10 | panic(err) 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /beacon-chain/rpc/eth/beacon/init_test.go: -------------------------------------------------------------------------------- 1 | package beacon 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/config/params" 5 | ) 6 | 7 | func init() { 8 | // Override network name so that hardcoded genesis files are not loaded. 9 | if err := params.SetActive(params.MainnetTestConfig()); err != nil { 10 | panic(err) 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /beacon-chain/rpc/eth/light-client/server.go: -------------------------------------------------------------------------------- 1 | package lightclient 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/beacon-chain/blockchain" 5 | lightClient "github.com/OffchainLabs/prysm/v6/beacon-chain/light-client" 6 | ) 7 | 8 | type Server struct { 9 | LCStore *lightClient.Store 10 | HeadFetcher blockchain.HeadFetcher 11 | } 12 | -------------------------------------------------------------------------------- /beacon-chain/rpc/prysm/testing/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | testonly = True, 6 | srcs = ["json.go"], 7 | importpath = "github.com/OffchainLabs/prysm/v6/beacon-chain/rpc/prysm/testing", 8 | visibility = ["//visibility:public"], 9 | ) 10 | -------------------------------------------------------------------------------- /beacon-chain/state/stategen/init_test.go: -------------------------------------------------------------------------------- 1 | package stategen 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/config/params" 5 | ) 6 | 7 | func init() { 8 | // Override network name so that hardcoded genesis files are not loaded. 9 | if err := params.SetActive(params.MainnetTestConfig()); err != nil { 10 | panic(err) 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /changelog/pvl-peerdas-peer-fanout.md: -------------------------------------------------------------------------------- 1 | ### Added 2 | 3 | - Configured the beacon node to seek peers when we have validator custody requirements. If one or more validators are connected to the beacon node, then the beacon node should seek a diverse set of peers such that broadcasting to all data column subnets for a block proposal is more efficient. 4 | -------------------------------------------------------------------------------- /cmd/flags/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@prysm//tools/go:def.bzl", "go_library") 2 | 3 | go_library( 4 | name = "go_default_library", 5 | srcs = ["enum.go"], 6 | importpath = "github.com/OffchainLabs/prysm/v6/cmd/flags", 7 | visibility = ["//visibility:public"], 8 | deps = ["@com_github_urfave_cli_v2//:go_default_library"], 9 | ) 10 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMainnet_Altair_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMainnet_Altair_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/altair__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/sanity" 7 | ) 8 | 9 | func TestMainnet_Altair_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/operations" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/sanity" 7 | ) 8 | 9 | func TestMainnet_Deneb_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__operations__consolidation_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMainnet_Electra_Operations_Consolidation(t *testing.T) { 10 | operations.RunConsolidationTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__deposit_requests_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_DepositRequests(t *testing.T) { 10 | operations.RunDepositRequestsTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMainnet_Phase0_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/phase0__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/sanity" 7 | ) 8 | 9 | func TestMainnet_Phase0_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMinimal_Altair_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/operations" 7 | ) 8 | 9 | func TestMinimal_Altair_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/altair__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/altair/sanity" 7 | ) 8 | 9 | func TestMinimal_Altair_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__operations__attestation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/operations" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Operations_Attestation(t *testing.T) { 10 | operations.RunAttestationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/deneb__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/sanity" 7 | ) 8 | 9 | func TestMinimal_Deneb_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/electra__operations__consolidation_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMinimal_Electra_Operations_Consolidation(t *testing.T) { 10 | operations.RunConsolidationTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/fulu__operations__deposit_requests_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_DepositRequests(t *testing.T) { 10 | operations.RunDepositRequestsTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/operations" 7 | ) 8 | 9 | func TestMinimal_Phase0_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/phase0__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/phase0/sanity" 7 | ) 8 | 9 | func TestMinimal_Phase0_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /beacon-chain/cache/proposer_indices_type.go: -------------------------------------------------------------------------------- 1 | package cache 2 | 3 | import ( 4 | "github.com/OffchainLabs/prysm/v6/consensus-types/primitives" 5 | ) 6 | 7 | // ProposerIndices defines the cached struct for proposer indices. 8 | type ProposerIndices struct { 9 | BlockRoot [32]byte 10 | ProposerIndices []primitives.ValidatorIndex 11 | } 12 | -------------------------------------------------------------------------------- /beacon-chain/core/transition/interop/log.go: -------------------------------------------------------------------------------- 1 | // Package interop contains useful utilities for persisting 2 | // ssz-encoded states and blocks to disk during each state 3 | // transition for development purposes. 4 | package interop 5 | 6 | import ( 7 | "github.com/sirupsen/logrus" 8 | ) 9 | 10 | var log = logrus.WithField("prefix", "interop") 11 | -------------------------------------------------------------------------------- /runtime/debug/cgo_symbolizer.go: -------------------------------------------------------------------------------- 1 | //go:build cgosymbolizer_enabled 2 | 3 | package debug 4 | 5 | import ( 6 | // Using this file with this imported library configures the process to 7 | // expose cgo symbols when possible. Use --config=cgo_symbolizer to make use of 8 | // this feature. 9 | _ "github.com/ianlancetaylor/cgosymbolizer" 10 | ) 11 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/operations" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/bellatrix__random__random_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/sanity" 7 | ) 8 | 9 | func TestMainnet_Bellatrix_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMainnet_Capella_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMainnet_Capella_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/capella__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/sanity" 7 | ) 8 | 9 | func TestMainnet_Capella_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__attester_slashing_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_AttesterSlashing(t *testing.T) { 10 | operations.RunAttesterSlashingTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__execution_payload_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_PayloadExecution(t *testing.T) { 10 | operations.RunExecutionPayloadTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/deneb__operations__proposer_slashing_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/deneb/operations" 7 | ) 8 | 9 | func TestMainnet_Deneb_Operations_ProposerSlashing(t *testing.T) { 10 | operations.RunProposerSlashingTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMainnet_Electra_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/operations" 7 | ) 8 | 9 | func TestMainnet_Electra_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/electra__sanity__blocks_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/electra/sanity" 7 | ) 8 | 9 | func TestMainnet_Electra_Sanity_Blocks(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "mainnet", "sanity/blocks/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__epoch_processing__slashings_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/epoch_processing" 7 | ) 8 | 9 | func TestMainnet_Fulu_EpochProcessing_Slashings(t *testing.T) { 10 | epoch_processing.RunSlashingsTests(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__attester_slashing_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_AttesterSlashing(t *testing.T) { 10 | operations.RunAttesterSlashingTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__execution_payload_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_PayloadExecution(t *testing.T) { 10 | operations.RunExecutionPayloadTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/mainnet/fulu__operations__proposer_slashing_test.go: -------------------------------------------------------------------------------- 1 | package mainnet 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/fulu/operations" 7 | ) 8 | 9 | func TestMainnet_Fulu_Operations_ProposerSlashing(t *testing.T) { 10 | operations.RunProposerSlashingTest(t, "mainnet") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__operations__block_header_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/operations" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Operations_BlockHeader(t *testing.T) { 10 | operations.RunBlockHeaderTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/bellatrix__random__random_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/bellatrix/sanity" 7 | ) 8 | 9 | func TestMinimal_Bellatrix_Random(t *testing.T) { 10 | sanity.RunBlockProcessingTest(t, "minimal", "random/random/pyspec_tests") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__operations__sync_committee_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMinimal_Capella_Operations_SyncCommittee(t *testing.T) { 10 | operations.RunSyncCommitteeTest(t, "minimal") 11 | } 12 | -------------------------------------------------------------------------------- /testing/spectest/minimal/capella__operations__voluntary_exit_test.go: -------------------------------------------------------------------------------- 1 | package minimal 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/OffchainLabs/prysm/v6/testing/spectest/shared/capella/operations" 7 | ) 8 | 9 | func TestMinimal_Capella_Operations_VoluntaryExit(t *testing.T) { 10 | operations.RunVoluntaryExitTest(t, "minimal") 11 | } 12 | --------------------------------------------------------------------------------