prysm-pulse/beacon-chain/blockchain
Potuz e687fff922
Insert attestations on block (#11260)
* Insert attestations from blocks to forkchoice

* do not insert twice

* use OnAttestation instead

* Revert "use OnAttestation instead"

This reverts commit 577c37bbebf05bc6881a2a5b29c7079503d9ccd1.

* unit test

* fix test

* Update beacon-chain/blockchain/receive_block_test.go

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-08-19 17:02:17 +00:00
..
testing Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
blockchain_test.go Replace ioutil with io and os (#10541) 2022-04-18 20:42:07 +00:00
BUILD.bazel Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
chain_info_norace_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
chain_info_test.go Revert --enable-forkchoice-doubly-linked-tree (#11212) 2022-08-16 10:39:57 -03:00
chain_info.go Prysmctl Command to Request Beacon Nodes for Block Ranges Over P2P (#11035) 2022-08-17 06:38:57 +00:00
checktags_test.go Use go:build lines and remove obsolete +build lines (#10704) 2022-06-14 11:47:27 +00:00
error_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
error.go Set invalid roots for bad block (#10982) 2022-07-25 13:45:03 +00:00
execution_engine_test.go Revert --enable-forkchoice-doubly-linked-tree (#11212) 2022-08-16 10:39:57 -03:00
execution_engine.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
head_sync_committee_info_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
head_sync_committee_info.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
head_test.go Revert --enable-forkchoice-doubly-linked-tree (#11212) 2022-08-16 10:39:57 -03:00
head.go Better re-org log (#11253) 2022-08-18 16:53:17 +00:00
init_sync_process_block_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
init_sync_process_block.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
init_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
log_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
log.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
merge_ascii_art.go Merge ascii art banner (#10773) 2022-06-14 08:25:42 +00:00
metrics_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
metrics.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
mock_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
options.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
pow_block_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
pow_block.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
process_attestation_helpers.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
process_attestation_test.go Revert --enable-forkchoice-doubly-linked-tree (#11212) 2022-08-16 10:39:57 -03:00
process_attestation.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
process_block_helpers.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
process_block_test.go Insert attestations on block (#11260) 2022-08-19 17:02:17 +00:00
process_block.go Insert attestations on block (#11260) 2022-08-19 17:02:17 +00:00
receive_attestation_test.go Revert --enable-forkchoice-doubly-linked-tree (#11212) 2022-08-16 10:39:57 -03:00
receive_attestation.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
receive_block_test.go Insert attestations on block (#11260) 2022-08-19 17:02:17 +00:00
receive_block.go Insert attestations on block (#11260) 2022-08-19 17:02:17 +00:00
service_norace_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
service_test.go Remove Execution Client Fallback and Make Providing an Execution Client Required (#10921) 2022-08-16 17:22:34 +00:00
service.go Revert --enable-forkchoice-doubly-linked-tree (#11212) 2022-08-16 10:39:57 -03:00
state_balance_cache_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
state_balance_cache.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
weak_subjectivity_checks_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
weak_subjectivity_checks.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00