prysm-pulse/beacon-chain/blockchain
Potuz 9c2c665e92
Remove optimistic sync candidate check (#11453)
* Remove optimistic sync candidate check

Since we know we have merged and the chain has advanced 128 slots,
there's no possible forkchoice Poissoning attack anymore, removing the
check and allowing any block to be imported optimistically.

* fix test

* fix test

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-16 16:05:30 +00:00
..
testing Fixed size arrays in block interfaces and structs (#11375) 2022-09-06 14:30:16 +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 Remove optimistic sync candidate check (#11453) 2022-09-16 16:05:30 +00:00
execution_engine.go Remove optimistic sync candidate check (#11453) 2022-09-16 16:05:30 +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 Fixed size arrays in block interfaces and structs (#11375) 2022-09-06 14:30:16 +00:00
head.go Release headLock on error (#11412) 2022-09-14 11:44:38 +02: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 Fixed size arrays in block interfaces and structs (#11375) 2022-09-06 14:30:16 +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 Metrics: capture reorg distances and depths (#11435) 2022-09-12 15:06:52 +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 Fixed size arrays in block interfaces and structs (#11375) 2022-09-06 14:30:16 +00:00
process_block_test.go Remove optimistic sync candidate check (#11453) 2022-09-16 16:05:30 +00:00
process_block.go Fixed size arrays in block interfaces and structs (#11375) 2022-09-06 14:30:16 +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 new metrics (#11374) 2022-08-31 18:05:50 -04: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 move forkchoice init back to node (#11344) 2022-09-02 13:56:50 -05:00
service.go move forkchoice init back to node (#11344) 2022-09-02 13:56:50 -05: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 less ominous --weak-subjectivity-checkpoint warning (#11362) 2022-09-01 01:56:56 +00:00