prysm-pulse/beacon-chain/rpc
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
..
apimiddleware Update Beacon API to v2.1.0 (#9797) 2021-10-18 18:55:18 +00:00
eth Ignore validators without committee assignment when fetching attester duties (#9780) 2021-10-19 17:41:12 +00:00
prysm/v1alpha1 Add errcheck and gosimple linters (#9729) 2021-10-22 17:40:03 -05:00
statefetcher Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
testutil State: move state interfaces into state package (#9268) 2021-07-23 16:11:21 +00:00
BUILD.bazel Deregister Remote Slashing Protection Until Further Notice (#9774) 2021-10-14 19:33:05 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
service_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
service.go Deregister Remote Slashing Protection Until Further Notice (#9774) 2021-10-14 19:33:05 +00:00