prysm-pulse/beacon-chain/sync
Håvard Anda Estensen 7f3ec4221f
Add errcheck and gosimple linters (#9729)
* Add errcheck linter

* Check unchecked error

* Add gosimple linter

* Remove type assertion to same type

* Omit nil check

len() for nil slices is defined as zero

* Revert "Remove type assertion to same type"

This reverts commit af69ca1ac8a4f0243a5ccaf5042dbebad6d2cf1c.

* Revert "Revert "Remove type assertion to same type""

This reverts commit 5fe8931504fa22347d04d3d06558e5f478f5bf50.

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-10-22 17:40:03 -05:00
..
initial-sync Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
batch_verifier_test.go Return Error For Batch Verifier (#9766) 2021-10-13 23:52:22 +00:00
batch_verifier.go Add errcheck and gosimple linters (#9729) 2021-10-22 17:40:03 -05:00
BUILD.bazel Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
context_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
context.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
deadlines.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
decode_pubsub_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
decode_pubsub.go Add Remaining Gossip Changes (#9553) 2021-09-10 02:36:31 +00:00
doc.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
error_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
error.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
fork_watcher_test.go Various clean up before v2 (#9672) 2021-09-24 17:42:16 +00:00
fork_watcher.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
fuzz_exports.go Wrap Gossip Validators With Error (#9660) 2021-09-25 18:06:48 -07:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
pending_attestations_queue_test.go Use BLS signature length config value (#9746) 2021-10-07 10:37:53 -05:00
pending_attestations_queue.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
pending_blocks_queue_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
pending_blocks_queue.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rate_limiter_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rate_limiter.go add remaining rpc methods (#9551) 2021-09-09 10:12:49 -05:00
rpc_beacon_blocks_by_range_test.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rpc_beacon_blocks_by_range.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
rpc_beacon_blocks_by_root_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rpc_beacon_blocks_by_root.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
rpc_chunked_response_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
rpc_chunked_response.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
rpc_goodbye_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rpc_goodbye.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rpc_metadata_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
rpc_metadata.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rpc_ping_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rpc_ping.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rpc_send_request_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rpc_send_request.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rpc_status_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rpc_status.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rpc_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rpc.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
service_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
service.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
subscriber_beacon_aggregate_proof_test.go Use BLS signature length config value (#9746) 2021-10-07 10:37:53 -05:00
subscriber_beacon_aggregate_proof.go Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
subscriber_beacon_attestation.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
subscriber_beacon_blocks_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
subscriber_beacon_blocks.go Create config package for Shared/featureconfig (#9593) 2021-09-15 01:18:39 +00:00
subscriber_handlers.go Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
subscriber_sync_committee_message.go Add Remaining Gossip Changes (#9553) 2021-09-10 02:36:31 +00:00
subscriber_sync_contribution_proof.go Add Sync Subnets Subscribers (#9539) 2021-09-09 03:25:02 +00:00
subscriber_test.go Use BLS signature length config value (#9746) 2021-10-07 10:37:53 -05:00
subscriber.go Log out Gossip Handling Errors (#9765) 2021-10-12 07:44:47 +00: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_test.go Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
utils_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
utils.go Eliminate Proto V2 Namespace (#9297) 2021-07-28 21:23:44 +00:00
validate_aggregate_proof_test.go Use BLS signature length config value (#9746) 2021-10-07 10:37:53 -05:00
validate_aggregate_proof.go Return Error For Batch Verifier (#9766) 2021-10-13 23:52:22 +00:00
validate_attester_slashing_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
validate_attester_slashing.go Wrap Gossip Validators With Error (#9660) 2021-09-25 18:06:48 -07:00
validate_beacon_attestation_test.go Remaining Slasher Beacon Node Changes (#9701) 2021-09-29 18:17:37 +00:00
validate_beacon_attestation.go Return Error For Batch Verifier (#9766) 2021-10-13 23:52:22 +00:00
validate_beacon_blocks_test.go Use BLS signature length config value (#9746) 2021-10-07 10:37:53 -05:00
validate_beacon_blocks.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
validate_proposer_slashing_test.go Move slot epoch from core to time pkg (#9714) 2021-09-30 19:00:14 +00:00
validate_proposer_slashing.go Wrap Gossip Validators With Error (#9660) 2021-09-25 18:06:48 -07:00
validate_sync_committee_message_test.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
validate_sync_committee_message.go Return Error For Batch Verifier (#9766) 2021-10-13 23:52:22 +00:00
validate_sync_contribution_proof_test.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
validate_sync_contribution_proof.go Return Error For Batch Verifier (#9766) 2021-10-13 23:52:22 +00:00
validate_voluntary_exit_test.go Move slot epoch from core to time pkg (#9714) 2021-09-30 19:00:14 +00:00
validate_voluntary_exit.go Wrap Gossip Validators With Error (#9660) 2021-09-25 18:06:48 -07:00