prysm-pulse/beacon-chain/slasher
Radosław Kapka 5569a68452
Code cleanup (#9992)
* Value assigned to a variable is never read before being overwritten

* The result of append is not used anywhere

* Suspicious assignment of range-loop vars detected

* Unused method receiver detected

* Revert "Auxiliary commit to revert individual files from 54edcb445484a2e5d79612e19af8e949b8861253"

This reverts commit bbd1e1beabf7b0c5cfc4f514dcc820062ad6c063.

* Method modifies receiver

* Fix test

* Duplicate imports detected

* Incorrectly formatted error string

* Types of function parameters can be combined

* One more "Unused method receiver detected"

* Unused parameter detected in function
2021-12-07 17:52:39 +00:00
..
types Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
BUILD.bazel Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
chunks_test.go Slasher Min/Max Chunk Logic (#9673) 2021-09-28 02:04:32 +00:00
chunks.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
detect_attestations_test.go Slasher Significant Optimizations (#9833) 2021-12-06 21:45:38 +00:00
detect_attestations.go Slasher Significant Optimizations (#9833) 2021-12-06 21:45:38 +00:00
detect_blocks_test.go Remaining Slasher Beacon Node Changes (#9701) 2021-09-29 18:17:37 +00:00
detect_blocks.go Detect Slashable Blocks in Optimized Slasher (#9693) 2021-09-28 19:33:45 +00:00
doc.go Optimized Slasher Docs and Helpers (#9578) 2021-09-24 13:38:13 -05:00
helpers_test.go Detect Slashable Attestations in Optimized Slasher (#9694) 2021-09-28 20:54:17 +00:00
helpers.go Include Slasher Receiving Methods (#9692) 2021-09-28 18:13:16 +00:00
log.go Slasher Simulator Code for Testing Optimized Slasher Behavior (#9695) 2021-09-29 02:27:21 +00:00
metrics.go Slasher Min/Max Chunk Logic (#9673) 2021-09-28 02:04:32 +00:00
mock_slashing_checker.go Cleanup From Deepsource (#9961) 2021-12-01 18:56:07 +00:00
params_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
params.go Optimized Slasher Parameters (#9361) 2021-08-13 16:53:04 +00:00
process_slashings_test.go Process Slashings for Newly Optimized Slasher (#9687) 2021-09-28 10:27:40 -05:00
process_slashings.go Process Slashings for Newly Optimized Slasher (#9687) 2021-09-28 10:27:40 -05:00
queue_test.go Include Slasher Receiving Methods (#9692) 2021-09-28 18:13:16 +00:00
queue.go Include Slasher Receiving Methods (#9692) 2021-09-28 18:13:16 +00:00
receive_test.go Slasher Significant Optimizations (#9833) 2021-12-06 21:45:38 +00:00
receive.go Display Num Pruned Items in Slasher Only When Actually Prunes (#9989) 2021-12-07 14:38:19 +00:00
rpc_test.go Slasher Significant Optimizations (#9833) 2021-12-06 21:45:38 +00:00
rpc.go Slasher Significant Optimizations (#9833) 2021-12-06 21:45:38 +00:00
service_test.go Slasher Significant Optimizations (#9833) 2021-12-06 21:45:38 +00:00
service.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00