prysm-pulse/beacon-chain/sync
Nishant Das e2386cfb11
Fix Attester Slashing Validation In Gossip (#12295)
* fix slashing checks

* fix to make it more performant

* gaz

* fix up

* potuz's comment

* potuz's comment

* fix cache

* change index in test for better case

* gaz

---------

Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2023-04-17 15:35:38 +00:00
..
backfill Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
checkpoint Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
genesis Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
initial-sync Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
batch_verifier_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
batch_verifier.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
broadcast_bls_changes_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
broadcast_bls_changes.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
BUILD.bazel Fix Attester Slashing Validation In Gossip (#12295) 2023-04-17 15:35:38 +00:00
context_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
context.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
deadlines.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
decode_pubsub_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
decode_pubsub.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
doc.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
error_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
error.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
fork_watcher_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
fork_watcher.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
fuzz_exports.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
options.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
pending_attestations_queue_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
pending_attestations_queue.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
pending_blocks_queue_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
pending_blocks_queue.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rate_limiter_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rate_limiter.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_beacon_blocks_by_range_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_beacon_blocks_by_range.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_beacon_blocks_by_root_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_beacon_blocks_by_root.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_chunked_response_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_chunked_response.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_goodbye_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_goodbye.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_metadata_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_metadata.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_ping_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_ping.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_send_request_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_send_request.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_status_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_status.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
rpc.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
service_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
service.go lock forkchoice on calls to Ancestor (#12162) 2023-03-20 15:51:42 -03:00
subscriber_beacon_aggregate_proof_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_beacon_aggregate_proof.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_beacon_attestation.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_beacon_blocks_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_beacon_blocks.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_bls_to_execution_change.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_handlers.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_sync_committee_message.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_sync_contribution_proof.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscriber.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscription_topic_handler_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
subscription_topic_handler.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
sync_fuzz_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
sync_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
utils_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
utils.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_aggregate_proof_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_aggregate_proof.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_attester_slashing_test.go Fix Attester Slashing Validation In Gossip (#12295) 2023-04-17 15:35:38 +00:00
validate_attester_slashing.go Fix Attester Slashing Validation In Gossip (#12295) 2023-04-17 15:35:38 +00:00
validate_beacon_attestation_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_beacon_attestation.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_beacon_blocks_test.go Do not HTR the state when checking for optimistic mode (#12143) 2023-03-20 17:04:40 -03:00
validate_beacon_blocks.go Enable misspell linter & fix findings (#12272) 2023-04-14 10:03:11 +00:00
validate_bls_to_execution_change_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_bls_to_execution_change.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_proposer_slashing_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_proposer_slashing.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_sync_committee_message_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_sync_committee_message.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_sync_contribution_proof_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_sync_contribution_proof.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_voluntary_exit_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
validate_voluntary_exit.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00