mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-15 22:48:19 +00:00
d5f43a8214
35 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Preston Van Loon
|
eb2abbdd8b
|
libfuzz based tests (#5095)
* Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * use opt for fuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * use ubuntu as the default build image * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Move fuzz tests * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * making progress on p2p fuzz * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * use a single stream repeatedly * use a single stream repeatedly * use many streams * fixes * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Add basic test for ssz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Use a custom go_library to add libfuzzer * delete old corpus, fix rpc_status_fuzz * move fuzz.bzl * minor fixes * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * add c-shared library (doesnt work) * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * fix build * fixes * Merge refs/heads/master into go-1.14-libfuzz * lint * more lint * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * more lint * allow environment variable * Merge refs/heads/master into go-1.14-libfuzz * Add a fuzzit image with the beacon_states * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * lint * readme * lint * fix lint again i think * gaz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * breakup deps * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * don't panic on failure * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * panic if no beacon states to read * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * update rules_foreign_cc * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * remove c_shared target, manually tag tests * Add readme to fuzz package * delete a few comments * delete a few comments * lint * gaz * gaz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz |
||
Raul Jordan
|
3416962fc2
|
All Beacon Node Package-Level Godocs (#5677)
* package level godocs fixed * all beacon node godocs * comment and gaz Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
cb045dd0e3
|
Align code base to v0.11 (#5127)
* Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * add in new patch and workspace * update cloners * Handle rewards overflow (#5122) * Refactoring of initial sync (#5096) * implements blocks queue * refactors updateCounter method * fixes deadlock on stop w/o start * refactors updateSchedulerState * more tests on schduler * parseFetchResponse tests * wraps up tests for blocks queue * eod commit * fixes data race in round robin * revamps fetcher * fixes race conditions + livelocks + deadlocks * less verbose output * fixes data race, by isolating critical sections * minor refactoring: resolves blocking calls * implements init-sync queue * udpate fetch/send buffers in blocks fetcher * blockState enum-like type alias * refactors common code into releaseTicket() * better gc * linter * minor fix to round robin * moves original round robin into its own package * adds enableInitSyncQueue flag * fixes issue with init-sync service selection * Update beacon-chain/sync/initial-sync/round_robin.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * initsyncv1 -> initsyncold * adds span 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: terence tsao <terence@prysmaticlabs.com> * Handle rewards overflow * Revert "Refactoring of initial sync (#5096)" This reverts commit |
||
Victor Farazdagi
|
748d513c62
|
proper error checking and type assertions (#5424)
* proper error checking and type assertions |
||
terence tsao
|
e162d27634
|
Save init synced cached blocks to db (#5309) | ||
Preston Van Loon
|
a24546152b
|
HashProto: Use fastssz when available (#5218)
* Use fastssz when available * fix tests * fix most tests * Merge branch 'master' into faster-hash-proto * Merge refs/heads/master into faster-hash-proto * Merge refs/heads/master into faster-hash-proto * Merge refs/heads/master into faster-hash-proto * fix last test * Merge branch 'faster-hash-proto' of github.com:prysmaticlabs/prysm into faster-hash-proto-2 * lint * fix last test * fix again * Update beacon-chain/cache/checkpoint_state_test.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * Merge refs/heads/master into faster-hash-proto |
||
Preston Van Loon
|
6bc70e228f
|
Prevent panic for different size bitlists (#5233)
* Fix #5232 * Merge branch 'master' into bugfix-5232 |
||
Preston Van Loon
|
c4c9a8465a
|
Faster hashing for attestation pool (#5217)
* use faster hash proto * Merge branch 'master' into faster-att-pool * gaz * Merge branch 'faster-att-pool' of github.com:prysmaticlabs/prysm into faster-att-pool * nil checks and failing tests * Merge refs/heads/master into faster-att-pool * Merge refs/heads/master into faster-att-pool * Merge refs/heads/master into faster-att-pool * Merge refs/heads/master into faster-att-pool * Merge refs/heads/master into faster-att-pool * Fix * Merge branch 'faster-att-pool' of github.com:prysmaticlabs/prysm into faster-att-pool * Fix tests |
||
terence tsao
|
f17818b1c0
|
New state setter (#5100)
* setter.go * tests * fmt * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into new-state-setter * Merge refs/heads/master into new-state-setter |
||
Preston Van Loon
|
a0b142a26c
|
Update to go 1.14 (#4947)
* Update to go 1.14 * Update with fix from https://github.com/bazelbuild/rules_go/pull/2388 * Merge branch 'master' into go-1.14 * Merge refs/heads/master into go-1.14 * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14 * Update gRPC * Merge branch 'go-1.14' of github.com:prysmaticlabs/prysm into go-1.14 * Update golang.org/x/crypto * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Merge refs/heads/master into go-1.14 * Committing gc_goopts for issue repro * Fix race and msan builds * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14 * Merge refs/heads/master into go-1.14 * switch to LRU * Merge branch 'go-1.14' of github.com:prysmaticlabs/prysm into go-1.14 * Fixed, but dont feel good about this * Switch append ordering |
||
terence tsao
|
c20d9ccbb3
|
Better attestation pool with map instead of expiration cache (#5087)
* update aggregated * update block att * update forkchoice att * update unaggregated att * gazelle * Use copy * Locks * Genesis time * Fixed tests * Comments * Fixed tests |
||
shayzluf
|
59575bcac9
|
fuzz core/blocks package (#4907)
* fuzz core/blocks package * gaz goimports * fix test * terence feedback * terence feedback * add error to domain. halfway through * adding error to domain * goimports * added error handling to test * error instead of continue * terence and nishant feedback * domain error handling * domain error handling * handle nil validator in ReadOnlyValidator creation * goinmports * [4]byte domain type * [4]byte domain type * [4]byte domain type fix tests * fix tests Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com> |
||
terence tsao
|
15b649d760
|
Fix aggregated attestation pool grows large in size (#4932)
* Add metrics * Use it * Use it * Fixed exp time and tests * Update on save too * Expose getters * One epoch purge time * Fixed a timing issue * Clean up * Gazelle * Interface * Prune every epoch * Aggregate twice per slot * Revert attsToBeAggregated * Delete expired atts Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
2e56a59473
|
attestations in pool count metrics (#4930)
* Add metrics * Use it * Use it * Expose getters |
||
garyschulteog
|
27ec40f269
|
Remove remaining instances of proto.clone() (#4806)
* prysm-4757 remove proto.Clone() in favor of existing getters.Copy* methods * prysm-4757 added a bunch of copy methods, and broke some tests * squash commits fix tests and getter implementations remove usage of CopySignedBeaconBlock from ReceiveBlockNoVerify * correctly copy Deposit proof and remove proto.clone() again * Merge branch 'master' into prysm-4757-no-proto-clone * Merge branch 'master' into prysm-4757-no-proto-clone * Fix for comments, inline possible function calls * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into prysm-4757-no-proto-clone * Merge branch 'master' into prysm-4757-no-proto-clone * updated with feedback from review * Merge branch 'master' into prysm-4757-no-proto-clone * Merge branch 'master' into prysm-4757-no-proto-clone * Merge branch 'master' into prysm-4757-no-proto-clone |
||
Preston Van Loon
|
090d9627fe
|
Better block attestation inclusion (#4838)
* Fill blocks with unaggregated atts when possible, don't delete from pool until the block is submitted * Add back invalid atts removal * Don't delete attestations unless they can be aggregated * comment and test Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Preston Van Loon
|
0882908d2c
|
Improve attestation cache check from O(n) to O(1) access time (#4837)
* use O(1) method to access the blocks * Merge branch 'master' into better-has-aggregated-attestation |
||
Preston Van Loon
|
0ed8246e28
|
Release flag to aggregate attestations in fork choice. (#4820)
* Release flag to aggregate attestations in fork choice. * Merge refs/heads/master into aggregate-atts-in-fc * fix test * Merge branch 'aggregate-atts-in-fc' of github.com:prysmaticlabs/prysm into aggregate-atts-in-fc * Merge refs/heads/master into aggregate-atts-in-fc |
||
Preston Van Loon
|
015c8c4cd2
|
Use helper to aggregate attestations in pool (#4794)
* Aggregate attestations in pool * test * clarify test * fix test |
||
terence tsao
|
5b83dffbe4
|
Use proto array forkchoice as default (#4778)
* Starting * Removing feature flag * Minor touchups service.go * Conflict * Started fixing test * Init fork choice store for tests |
||
Preston Van Loon
|
bfa103317e
|
Disable forkchoice pre-processing of attestations (#4774)
* Disable forkchoice pre-processing of attestations * space * gaz |
||
Nishant Das
|
dc1432f8d8
|
Attestation Verification Improvements (#4753)
* add fixes for sig verify * minor fix * Merge branch 'master' into fixSigVerify * fmt * Merge branch 'fixSigVerify' of https://github.com/prysmaticlabs/geth-sharding into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * use custom att copy * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * Merge refs/heads/master into fixSigVerify * finnaly fixed all this * Merge branch 'fixSigVerify' of https://github.com/prysmaticlabs/geth-sharding into fixSigVerify |
||
terence tsao
|
7f07ad831e
|
Update seen for attestation pool (#4669)
* Use `contain` instead of `overlap` * Tests * Update seen * Merge branch 'master' into use-contain * Use OR to track all of the bits we have seen so far * Added one more test case * gofmt * Conflict * Picked up Preston's changes * Merge branch 'use-contain' of git+ssh://github.com/prysmaticlabs/prysm into use-contain |
||
Preston Van Loon
|
4960acb285 |
Fork choice: Ensure lengths are the same before checking overlap (#4663)
* Ensure lengths are the same before checking overlap |
||
terence tsao
|
6c4bf22723 |
Fix up attestation pool (#4493)
* Update aggregated methods * Update aggregated methods * Use improved HasAttestation to check caches * Add back some validations * There's no need to save unaggregated att * Fixed all the tests * remove TODO for now * Raul feedback Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
37459ee765 |
Forkchoice att seen cache consider bitfield overlaps (#4483)
* Aggregate with previous aggregated attestations * Update cache to bitfield as value * Remove fmt print |
||
terence tsao
|
e9d63e8dd3 | Aggregate with previous aggregated attestations (#4478) | ||
terence tsao
|
624c42421d
|
Add HasAggregatedAttestation getter for pool (#4451) | ||
terence tsao
|
6d2a2ebadf |
Update run time to v0.9.3 (#4154)
* Remove custody (#3986)
* Update proto fields
* Updated block operations
* Fixed all block operation tests
* Fixed tests part 1
* Fixed tests part 1
* All tests pass
* Clean up
* Skip spec test
* Fixed ssz test
* Skip ssz test
* Skip mainnet tests
* Update beacon-chain/operations/attestation.go
* Update beacon-chain/operations/attestation.go
* Decoy flip flop check (#3987)
* Bounce attack check (#3989)
* New store values
* Update process block
* Update process attestation
* Update tests
* Helper
* Fixed blockchain package tests
* Update beacon-chain/blockchain/forkchoice/process_block.go
* Conflict
* Unskip mainnet spec tests (#3998)
* Starting
* Fixed attestation mainnet test
* Unskip ssz static and block processing tests
* Fixed workspace
* fixed workspace
* fixed workspace
* Update beacon-chain/core/blocks/block_operations.go
* Unskip minimal spec tests (#3999)
* Starting
* Fixed attestation mainnet test
* Unskip ssz static and block processing tests
* Fixed workspace
* fixed workspace
* fixed workspace
* Update workspace
* Unskip all minimal spec tests
* Update workspace for general test
* Unskip test (#4001)
* Update minimal seconds per slot to 6 (#3978)
* Bounce attack tests (#3993)
* New store values
* Update process block
* Update process attestation
* Update tests
* Helper
* Fixed blockchain package tests
* Slots since epoch starts tests
* Update justified checkpt tests
* Conflict
* Fixed logic
* Update process_block.go
* Use helper
* Conflict
* Merge branch 'master' of https://github.com/prysmaticlabs/prysm into v0.9.1
* Conflict
* Fixed failed tests
* Lower MinGenesisActiveValidatorCount to 16384 (#4100)
* Fork choice beacon block checks (#4107)
* Prevent future blocks check and test
* Removed old code
* Update aggregation proto (#4121)
* Update def
* Update spec test
* Conflict
* Update workspace
* patch
* Resolve conflict
* Patch
* Change workspace
* Update ethereumapis to a forked branch at commit
|
||
terence tsao
|
0f4dabfad8
|
Fix cloning target state for check point state cache (#4288) | ||
terence tsao
|
8724dcd41b | Sort received atts by sig (#4287) | ||
Preston Van Loon
|
5757ce8894 |
Fix flaky TestKV_Aggregated_CanSaveRetrieve (#4253)
* Update aggregated_test.go |
||
terence tsao
|
f75a5a5df8 |
Implement Atts Pool Curl Methods (#4191)
* New pool * Better namings * Fmt * Gazelle * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into define-pool * Raul's feedback * Raul's feedback * Update to use go-cache * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into define-pool-1 * Update workspace * Update workspace * Update pool to use interface * Move kv init methods * Curd for aggregated * Curd for unaggregated * Gaz * Tests for aggregated * Fixed test * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into curd * Minor fixes * Typoe * pool test * Added deletions as well * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into curd * Update beacon-chain/operations/attestations/kv/aggregated.go * Update beacon-chain/operations/attestations/kv/aggregated.go * Update beacon-chain/operations/attestations/kv/unaggregated_test.go * Update beacon-chain/operations/attestations/kv/kv.go |
||
terence tsao
|
83781d0b74
|
Attestation pool to use go-cache (#4187) | ||
terence tsao
|
eeb8779cfc |
New attestation pool (#4185)
* New pool * Better namings * Fmt * Gazelle * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into define-pool * Raul's feedback * Raul's feedback |