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
Raul Jordan
98fea2e94d
Slasher Significant Optimizations ( #9833 )
...
* optimizations to slasher runtime
* remove unnecessary code
* test for epoch update
* commentary
* Gaz
* fmt
* amend test
* better logging
* better logs
* log
* div 0
* more logging
* no log
* use map instead
* passing
* comments
* passing
* for select loop wait for init
* sub
* srv
* debug
* fix panic
* gaz
* builds
* sim gen
* ineff
* commentary
* data
* log
* base
* try
* rem logs
* sim logs
* fix wait for sync event
* ev
* init
* init
* Update beacon-chain/slasher/service.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* comments
* elapsed
* Update testing/slasher/simulator/simulator.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* timeout
* inner cancel
* ctx err everywhere
* Add context aware to several potentially long running db operations
* Fix missing param after updating with develop
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-12-06 21:45:38 +00:00
Raul Jordan
4f31ba6489
Changes to E2E for Optimized Slasher ( #9698 )
...
* remaining slasher e2e changes
* testing gaz
* slash e2e
* deepsource
* gaz
* viz
* revert wait group changes
* comment
* lock around reset cache
* add slashing reason
* revert changes
* is sync
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
2021-09-30 20:28:14 +00:00