prysm-pulse/beacon-chain/core
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
..
altair Add errcheck and gosimple linters (#9729) 2021-10-22 17:40:03 -05:00
blocks Refactor rpc proposer into smaller files (#9796) 2021-10-18 11:35:32 -05:00
epoch Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
feed Slasher Simulator Code for Testing Optimized Slasher Behavior (#9695) 2021-09-29 02:27:21 +00:00
helpers [Service Config Revamp] - Blockchain Initialization (#9783) 2021-10-18 17:48:05 +00:00
signing Move slot epoch from core to time pkg (#9714) 2021-09-30 19:00:14 +00:00
time Cleanup slot helpers into intended locations (#9752) 2021-10-07 19:15:35 +00:00
transition Check participation flag offset length (#9784) 2021-10-21 15:01:09 +00:00
validators Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00