prysm-pulse/beacon-chain/sync
kasey a1a12243be
Sync from finalized (#10723)
* checkpoint sync use finalized state+block

instead of finding the block at the beginning of the weak subjectivity
epoch.

* happy path test for sync-from-finalized

* gofmt

* functional opts for the minimal e2e

* add TestCheckpointSync option

* wip: pushing for CI

* include conn index in log for debugging

* lint

* block until regular sync test finishes

* restore TestSync->testDoppelGangerProtection link

* update bazel deps for all the test targets

* updating to match current checksum from github

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-05-25 22:52:43 +00:00
..
backfill Move BeaconBlockNil Checker Function to Consensus-Types/Wrapper Package (#10731) 2022-05-20 23:29:16 +00:00
checkpoint Sync from finalized (#10723) 2022-05-25 22:52:43 +00:00
genesis refactor genesis state flag handling, support url (#10449) 2022-03-30 22:23:34 +00:00
initial-sync Chain info: Return err if checkpoint is nil (#10729) 2022-05-20 18:41:33 +00:00
batch_verifier_test.go Rename To Signature Batch (#9926) 2021-11-23 17:57:06 +01:00
batch_verifier.go Update Batch Verification Routine (#10127) 2022-05-04 04:47:53 +00:00
BUILD.bazel More selective on marking block as bad (#10681) 2022-05-20 17:05:39 +00:00
context_test.go Update libp2p to latest release (#10423) 2022-04-19 12:53:58 +00:00
context.go Update libp2p to latest release (#10423) 2022-04-19 12:53:58 +00:00
deadlines.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
decode_pubsub_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
decode_pubsub.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
doc.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
error_test.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
error.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
fork_watcher_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
fork_watcher.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
fuzz_exports.go Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing (#10065) 2022-01-20 04:51:02 +00:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go Update Batch Verification Routine (#10127) 2022-05-04 04:47:53 +00:00
options.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
pending_attestations_queue_test.go Refactor and use has_block getter (#10592) 2022-05-04 00:17:40 +00:00
pending_attestations_queue.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
pending_blocks_queue_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
pending_blocks_queue.go Move BeaconBlockNil Checker Function to Consensus-Types/Wrapper Package (#10731) 2022-05-20 23:29:16 +00:00
rate_limiter_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rate_limiter.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
rpc_beacon_blocks_by_range_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_beacon_blocks_by_range.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_beacon_blocks_by_root_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_beacon_blocks_by_root.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_chunked_response_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_chunked_response.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_goodbye_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
rpc_goodbye.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
rpc_metadata_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
rpc_metadata.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_ping_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_ping.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
rpc_send_request_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_send_request.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_status_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_status.go Chain info: Return err if checkpoint is nil (#10729) 2022-05-20 18:41:33 +00:00
rpc_test.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
service_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
service.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
subscriber_beacon_aggregate_proof_test.go Use signature length from fieldparams (#10019) 2021-12-15 15:14:30 -05:00
subscriber_beacon_aggregate_proof.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_beacon_attestation.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
subscriber_beacon_blocks_test.go Fix error.Is ordering (#10685) 2022-05-12 22:43:34 +00:00
subscriber_beacon_blocks.go Move BeaconBlockNil Checker Function to Consensus-Types/Wrapper Package (#10731) 2022-05-20 23:29:16 +00:00
subscriber_handlers.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_sync_committee_message.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_sync_contribution_proof.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
subscriber.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
subscription_topic_handler_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
subscription_topic_handler.go Various clean up before v2 (#9672) 2021-09-24 17:42:16 +00:00
sync_fuzz_test.go add more fuzz targets (#10682) 2022-05-12 10:47:29 -04:00
sync_test.go Replace ioutil with io and os (#10541) 2022-04-18 20:42:07 +00:00
utils_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
utils.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
validate_aggregate_proof_test.go Refactor and use has_block getter (#10592) 2022-05-04 00:17:40 +00:00
validate_aggregate_proof.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_attester_slashing_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_attester_slashing.go Insert over-the-wire slashing to forkchoice (#10615) 2022-05-07 15:56:34 +00:00
validate_beacon_attestation_test.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_beacon_attestation.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_beacon_blocks_test.go Fix Tests in sync/validate_beacon_blocks.go to Pass for the Right Reasons (#10711) 2022-05-19 03:45:45 +00:00
validate_beacon_blocks.go Move BeaconBlockNil Checker Function to Consensus-Types/Wrapper Package (#10731) 2022-05-20 23:29:16 +00:00
validate_proposer_slashing_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_proposer_slashing.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_sync_committee_message_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_sync_committee_message.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_sync_contribution_proof_test.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_sync_contribution_proof.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_voluntary_exit_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_voluntary_exit.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00