terence tsao
b38b0186b8
Use signature length from fieldparams
( #10019 )
...
* Use bls sig length from fieldparams
* fmt
* fix tests
* fix tests
* fix tests
* Update tags_test.go
* fix tests
* Update BUILD.bazel
2021-12-15 15:14:30 -05:00
terence tsao
c21e43e4c5
Refactor: move functions beacon-chain/core/time
-> time/slots
( #9719 )
...
* Move necessary functions beacon-chain/core/time -> time/slots
* Fix fuzz
* Fix build
* Update slot_epoch.go
2021-10-01 15:17:57 -05:00
terence tsao
8219af46e4
Move slot epoch from core to time pkg ( #9714 )
...
* Move slot epoch from core to time pkg
* Fix fuzz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-30 19:00:14 +00:00
Raul Jordan
df33ce3309
Remaining Slasher Beacon Node Changes ( #9701 )
...
* slasher beacon node changes
* remaining beacon node items
* moar changes
* gaz
* flag fix
* rem slashable
* builds
* imports
* fix up
* pruning faster test
* deepsource
* fix wrong item
* node node feature flags
* broken test
* preston review
* more preston comments
* comment
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-29 18:17:37 +00:00
Raul Jordan
9edba29f64
Slasher Simulator Code for Testing Optimized Slasher Behavior ( #9695 )
...
* slashing simulator
* add in necessary items for slasher sim
* sim item
* fix up
* fixed build
* rev
* slasher sim in testing
* testonly
* gaz
* gaz
* fix viz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
2021-09-29 02:27:21 +00:00
Raul Jordan
2a2239d937
Detect Slashable Attestations in Optimized Slasher ( #9694 )
...
* detect slashable attestations
* Update beacon-chain/slasher/detect_attestations.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-09-28 20:54:17 +00:00
Raul Jordan
1816906bc7
Detect Slashable Blocks in Optimized Slasher ( #9693 )
...
* pass
* Update beacon-chain/slasher/detect_blocks.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update beacon-chain/slasher/detect_blocks.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-28 19:33:45 +00:00
Raul Jordan
57f965df50
Include Slasher Receiving Methods ( #9692 )
...
* first
* add receive details
* ensure most builds
* add slasherkv changes
* db iface additions
* build
* gaz
* proper todo comment
* terence comments
* sig check
* bad sig checks
* proper lock issue
* fix test
* fix up tests
2021-09-28 18:13:16 +00:00
Raul Jordan
6d79f61fda
Process Slashings for Newly Optimized Slasher ( #9687 )
...
* add process slashings
* verify sig
* add method
* add test
* add in process slashings functionality
* target state for aggregate
* comment
* Radek comments
2021-09-28 10:27:40 -05:00
Raul Jordan
f2840c9ffa
Slasher Min/Max Chunk Logic ( #9673 )
...
* slasher chunks code
* slasher chunks code
* avoid using shared
* testing helper
* slasher gaz
* radek comments
* preston feedback
2021-09-28 02:04:32 +00:00
Raul Jordan
75936853af
Optimized Slasher Docs and Helpers ( #9578 )
...
* bring over helpers
* slasher helpers pass tests
* fix dead link
* rem eth2
* gaz
* params
* gaz
* builds
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-09-24 13:38:13 -05:00
Raul Jordan
a9a4bb9163
Move Shared/Testutil into Testing ( #9659 )
...
* move testutil
* util pkg
* build
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-23 18:53:46 +00:00
Raul Jordan
b42465a7dd
Optimized Slasher Parameters ( #9361 )
...
* add in parameters and helpers files
* add in small set of changes
* build file
* viz
2021-08-13 16:53:04 +00:00