shayzluf
25308ef9fa
fuzzing core/state package without skip slot cache ( #4883 )
...
* fuzzing core/state package
* named error msg
* err comment
* terence feedback
* preston feedback
* preston feedback
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-02-18 10:38:15 +05:30
Raul Jordan
5db8c5ad0c
Implement ListIndexedAttestations Endpoint in Prysm ( #4892 )
...
* update patch and workspace
* stub methods
* implementation of indexed attestations list
* include latest ethereumapis
* update request type
* compute committee pure function
* use compute committee helper
* add test into list indexed attestations
* regenerate mock
* imports and out of range check
* test passing for archived epoch
* add comment
* comment
* better comment on func
* throw in continue instead
2020-02-17 15:57:13 -06:00
Raul Jordan
549b0f66fa
Include Slashing Submission Endpoints + Slashing Pool in Beacon Node ( #4858 )
...
* add to workspace
* impl
* include tests for func
* fix broken build
* test passing, found 2 bugs
* add errors package
* added in mockgen
* we check for insertion into the pool based on attester slashings
* test passing
* proper test
* Update beacon-chain/rpc/beacon/slashings.go
* Update beacon-chain/rpc/beacon/slashings_test.go
2020-02-13 22:20:45 -06:00
terence tsao
16fef1c658
Better attesting summary reporting ( #4845 )
2020-02-12 13:38:19 -08:00
Raul Jordan
297247d915
Add Paginated Attestation Pool to Prysm ( #4827 )
...
* added pagination to atts
* tests pass for atts
* add mock
* fix
* add to val
* fix
* add in proper mock
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-02-11 13:18:30 -06:00
shayzluf
02b6d7706f
Slasher committees cache ( #4812 )
...
* add committees cache
* committees cache usage
* fix test
* fix log
* goimports
* Merge branch 'master' of github.com:prysmaticlabs/prysm into slasher_committees_cache
# Conflicts:
# slasher/service/data_update.go
* fix imports
* fix comment
* fix comment
* Merge refs/heads/master into slasher_committees_cache
* Merge refs/heads/master into slasher_committees_cache
* Update slasher/cache/BUILD.bazel
Co-Authored-By: Ivan Martinez <ivanthegreatdev@gmail.com>
* Merge refs/heads/master into slasher_committees_cache
* Merge refs/heads/master into slasher_committees_cache
* Merge refs/heads/master into slasher_committees_cache
* added in the service context
* baz
* Merge refs/heads/master into slasher_committees_cache
* Merge refs/heads/master into slasher_committees_cache
2020-02-10 20:09:14 +00:00
Raul Jordan
32b5b8fa69
Include Latest Ethereum APIs Definitions in Prysm ( #4759 )
...
* include latest ethereumapis and implement streams
* add comments and error unimpl
* Merge branch 'master' into blocks-stream
* add strm
* Merge refs/heads/master into blocks-stream
* Merge refs/heads/master into blocks-stream
* Merge refs/heads/master into blocks-stream
* add in mocks
* Merge branch 'blocks-stream' of github.com:prysmaticlabs/prysm into blocks-stream
* use right mock
* gaz
* ptypes
* gaz
* gomock dep
* Merge refs/heads/master into blocks-stream
2020-02-05 23:43:36 +00:00
Jim McDonald
ad7d9ab1da
Validator status updates ( #4675 )
...
* Update ValidatorStatus to match Ethereum APIs
* Tidy up status calculation
* Merge branch 'master' into validator-status-updates
* Merge branch 'master' into validator-status-updates
* Update beacon-chain/rpc/beacon/config.go
Co-Authored-By: Ivan Martinez <ivanthegreatdev@gmail.com>
* Update test names
2020-01-30 19:46:37 +00:00
shayzluf
ade61717a4
Slasher data update from archive ( #4563 )
...
* first version
* cli context
* fix service
* starting change to ccache
* ristretto cache
* added test
* test on evict
* remove evict test
* test onevict
* comment for exported flag
* update all span maps on load
* fix setup db
* span cache added to help flags
* start save cache on exit
* save cache to db before close
* comment fix
* fix flags
* setup db new
* data update from archive node
* gaz
* slashing detection on old attestations
* un-export
* rename
* nishant feedback
* workspace cr
* lint fix
* fix calls
* start db
* fix test
* Update slasher/db/db.go
Co-Authored-By: Nishant Das <nishdas93@gmail.com>
* add flag
* fix fail to start beacon client
* mock beacon service
* fix imports
* gaz
* goimports
* add clear db flag
* print finalized epoch
* better msg
* Update slasher/db/attester_slashings.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* raul feedback
* raul feedback
* raul feedback
* raul feedback
* raul feedback
* add detection in runtime
* fix tests
* raul feedbacks
* raul feedback
* raul feedback
* goimports
* Update beacon-chain/blockchain/process_attestation_helpers.go
* Update beacon-chain/blockchain/receive_block.go
* Update beacon-chain/core/blocks/block_operations_test.go
* Update beacon-chain/core/blocks/block_operations.go
* Update beacon-chain/core/epoch/epoch_processing.go
* Update beacon-chain/sync/validate_aggregate_proof_test.go
* Update shared/testutil/block.go
* Update slasher/service/data_update.go
* Update tools/blocktree/main.go
* Update slasher/service/service.go
* Update beacon-chain/core/epoch/precompute/attestation_test.go
* Update beacon-chain/core/helpers/committee_test.go
* Update beacon-chain/core/state/transition_test.go
* Update beacon-chain/rpc/aggregator/server_test.go
* Update beacon-chain/sync/validate_aggregate_proof.go
* Update beacon-chain/rpc/validator/proposer_test.go
* Update beacon-chain/blockchain/forkchoice/process_attestation.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/db/indexed_attestations.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update slasher/service/data_update.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* terence feedback
* terence feedback
* goimports
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Nishant Das <nish1993@hotmail.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2020-01-29 07:14:51 +05:30