prysm-pulse/beacon-chain/slasher
Preston Van Loon 943dec525c
Refactor mock test helpers (#10133)
* Delete deploy contract tool. Move mock to its own package as testonly with some helper functions

* gofmt contracts/deposit/mock/mock.go

* move stategen mock.go to its on testonly pkg

* move password_reader_mock.go to mock testonly package

* move mock keymanager to its own testonly package

* move attestations mock

* move voluntaryexits mock

* Move slashings mock to mock pkg

* move the slasher mock

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-26 14:48:20 +00:00
..
mock Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
types Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
BUILD.bazel Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00: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 Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
detect_attestations.go Slasher Significant Optimizations (#9833) 2021-12-06 21:45:38 +00:00
detect_blocks_test.go Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +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 Use signature length from fieldparams (#10019) 2021-12-15 15:14:30 -05:00
helpers.go Use signature length from fieldparams (#10019) 2021-12-15 15:14:30 -05: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
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 Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00: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 Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
service.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00