mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
386b69f473
51 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
terence tsao
|
c30ee6c166
|
Ran go import (#8528)
* Ran go import * Sort |
||
terence tsao
|
3edfa8cb88
|
Use Custom Type ValidatorIndex Across Prysm (#8478)
* Use ValidtorIndex across Prysm. Build ok * First take at fixing tests * Clean up e2e, fuzz... etc * Fix new lines * Update beacon-chain/cache/proposer_indices_test.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update beacon-chain/core/helpers/rewards_penalties.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update beacon-chain/core/helpers/shuffle.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/graffiti/parse_graffiti_test.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Raul's feedback * Fix downcast int -> uint64 * Victor's feedback Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Victor Farazdagi
|
b577869ed6
|
Fixes import aliases (#8497)
* Fixes import aliases * another fix * reset gw files Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
dc1bec79ed
|
Use Eth2 type CommitteeIndex (#8477)
* Use types.CommitteeIndex * Go fmt * Update validator pkg * Fix e2e * Happy fuzz tests * Sync with upstream ethereumapi * Go mod tidy Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> |
||
Victor Farazdagi
|
a069738c20
|
ETH2 Types: Slot (#8408)
* update shared/params * update eth2-types deps * update protobufs * update shared/* * fix testutil/state * update beacon-chain/state * update beacon-chain/db * update tests * fix test * update beacon-chain/core * update beacon-chain/blockchain * update beacon-chain/cache * beacon-chain/forkchoice * update beacon-chain/operations * update beacon-chain/p2p * update beacon-chain/rpc * update sync/initial-sync * update deps * update deps * go fmt * update beacon-chain/sync * update endtoend/ * bazel build //beacon-chain - works w/o issues * update slasher code * udpate tools/ * update validator/ * update fastssz * fix build * fix test building * update tests * update ethereumapis deps * fix tests * update state/stategen * fix build * fix test * add FarFutureSlot * go imports * Radek's suggestions * Ivan's suggestions * type conversions * Nishant's suggestions * add more tests to rpc_send_request * fix test * clean up * fix conflicts Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: nisdas <nishdas93@gmail.com> |
||
Victor Farazdagi
|
a8e501b3cf
|
ETH2 Types: Epoch (#8373)
* update deps * update deps * update protos/* * update deps * reset protos * update protos * update shared/params/config * update protos * update /shared * update shared/slotutil and shared/testutil * update beacon-chain/core/helpers * updates beacon-chain/state * update beacon-chain/forkchoice * update beacon-chain/blockchain * update beacon-chain/cache * update beacon-chain/core * update beacon-chain/db * update beacon-chain/node * update beacon-chain/p2p * update beacon-chain/rpc * update beacon-chain/sync * go mod tidy * make sure that beacon-chain build suceeds * go fmt * update e2e tests * update slasher * remove redundant alias * update validator * gazelle * fix build errors in unit tests * go fmt * update deps * update fuzz/BUILD.bazel * fix unit tests * more unit test fixes * fix blockchain UTs * more unit test fixes |
||
terence tsao
|
d5ec248691
|
Rename getter functions to be idiomatic (#8320)
* Rename getter functions * Rename new * Radek's feedback Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
b4437e6cec
|
Load graffiti from file (#8041)
* Pass graffati file and use it * Visibility * Parse test * More proposal tests * Gazelle * Add sequential functionality * fix length check * Update priorities. Specified -> random -> default * Log warn instead return err * Comment * E2e test * Comment Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> |
||
Radosław Kapka
|
dccf0992e5
|
Verify eth1data vote in E2E (#7551)
* add majority vote to e2e * extract policies to a separate package Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Radosław Kapka
|
0a007384c8
|
E2E cleanup (#7519)
* e2e cleanup * export EpochTicker Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Victor Farazdagi
|
a019a0db4c
|
Combines func params of the same type (#7500)
* combines func params * update leftovers Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Preston Van Loon
|
7cc32c4dda
|
Various code inspection resolutions (#7438)
* remove unused code * remove defer use in loop * Remove unused methods and constants * gofmt and gaz * nilness check * remove unused args * Add TODO for refactoring subscribeWithBase to remove unused arg. It seems too involved to include in this sweeping PR. https://github.com/prysmaticlabs/prysm/issues/7437 * replace empty slice declaration * Remove unnecessary type conversions * remove redundant type declaration * rename receivers to be consistent * Remove bootnode query tool. It is now obsolete by discv5 * Remove relay node. It is no longer used or supported * Revert "Remove relay node. It is no longer used or supported" This reverts commit 4bd7717334dad85ef4766ed9bc4da711fb5fa810. * Delete unused test directory * Delete unsupported gcp startup script * Delete old k8s script * build fixes * fix build * go mod tidy * revert slasher/db/kv/block_header.go * fix build * remove redundant nil check * combine func args Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Victor Farazdagi <simple.square@gmail.com> |
||
Ivan Martinez
|
7854b91ae0
|
E2E: Change metrics detection to use regex (#7145)
* Change metrics detection to use regex * Fixes, remove println * Forgot a println Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
492944db01
|
E2E: Add cpu profile and fix logs and sync time (#6872)
* Add cpu profile for beacon node to e2e * Fix * Fix again * Properly kill beacon nodes * Fix logs * Try 100% * Handle cp profile from pprof * Fix * Bring expected participation to 98% * Only enable pprof in non-local running * Modify sync time * Fix Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
22e2278812
|
Add heap file to E2E artifacts and fix miscalculation for deposit processing (#6657)
* Add heap file to e2e output * Add comment * Change to curl * Gaz * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-heap-e2e * Run heap at start and end * Reorder defers * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-heap-e2e * Fix * Fix * Change to logpath * Attempt * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-heap-e2e * Fix heap file * Fix * Add more beaocn nodes * Final fixes * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-heap-e2e * Fix slasher * Fixes * Fix * Fix comment * Merge branch 'master' into add-heap-e2e * Merge refs/heads/master into add-heap-e2e * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-heap-e2e * Fix comment * Merge branch 'master' into add-heap-e2e * Merge refs/heads/master into add-heap-e2e * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-heap-e2e * Fix * Change memusage to 2gb * Merge refs/heads/master into add-heap-e2e * Update endtoend/evaluators/metrics.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> |
||
Ivan Martinez
|
37343930dd
|
Change E2E config to test deposits in PR (#6824)
* Change config to allow deposit in PR e2e * Fix comment * Fix * Fix * Fix * Fix * Fix * Remove pid handling * Fix build.bazel Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
b052ab7087
|
Make E2E less flaky (#6536) | ||
Ivan Martinez
|
322998f7f1
|
Move subnet topics to global vars (#6525)
* Deduplicate subnet topic definitions * Move topics to global file * Gaz * Merge branch 'master' into move-topics * Fix * Merge refs/heads/master into move-topics * Bazel * Merge branch 'move-topics' of github.com:prysmaticlabs/prysm into move-topics * Fix tests * Fix * Undo e2e changes * Revert "Undo e2e changes" This reverts commit 3037bb35904ee3a2f54050e920ee8c75a4cb8036. * Fix * Fix * Merge refs/heads/master into move-topics * Merge refs/heads/master into move-topics * Merge refs/heads/master into move-topics * Comments * Merge refs/heads/master into move-topics * Merge refs/heads/master into move-topics |
||
Ivan Martinez
|
c69b3f568e
|
Move hard-coded constants to global consts (#6467)
* Move hard-coded constants to global consts * Fixes * Merge branch 'master' into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Comments * Merge refs/heads/master into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Merge refs/heads/master into remove-hard-constants * Merge branch 'master' of github.com:prysmaticlabs/prysm into remove-hard-constants |
||
Preston Van Loon
|
165cb0d7b4
|
E2E: Add a check for cold state storage (#6457)
* Add a check for cold state storage * amend comment * gaz * Merge branch 'master' into coldstate-e2e * Merge refs/heads/master into coldstate-e2e * Merge refs/heads/master into coldstate-e2e * PR feedback * Merge branch 'coldstate-e2e' of github.com:prysmaticlabs/prysm into coldstate-e2e * Update endtoend/evaluators/data.go * Merge refs/heads/master into coldstate-e2e * Merge refs/heads/master into coldstate-e2e * Merge refs/heads/master into coldstate-e2e |
||
Ivan Martinez
|
260847e92f
|
Fix long running E2E deposits testing (#6208)
* Fix long running e2e deposit processing * Merge branch 'master' of github.com:prysmaticlabs/prysm into fix-long-e2e * Remove logs * Uncomment * typing * Reorder * Add const for node count * Merge refs/heads/master into fix-long-e2e * Add trace logging * Merge branch 'fix-long-e2e' of github.com:prysmaticlabs/prysm into fix-long-e2e |
||
Nishant Das
|
d1a1043ef1
|
Update to v0.12 (#5614) | ||
Ivan Martinez
|
4e96cbeae7
|
E2E Improvements (#6091)
* Some fixes * Merge branch 'master' into e2e-fixes * Add another small delay * Merge branch 'e2e-fixes' of github.com:prysmaticlabs/prysm into e2e-fixes * Remove genesis test, make normal e2e run longer * Gaz * more fixes * Merge branch 'master' into e2e-fixes * Merge refs/heads/master into e2e-fixes * Fix comment * Merge refs/heads/master into e2e-fixes |
||
Ivan Martinez
|
213f8ef088
|
Fix long-running E2E (#6047)
* Fixes for long running E2E * Merge branch 'master' of github.com:prysmaticlabs/prysm into fix-e2e * Move metrics check up * Merge refs/heads/master into fix-e2e |
||
Ivan Martinez
|
0b64db5e21
|
Add voluntary exit processing to E2E (#6016)
* Add voluntary exit to E2E * Fix long urnning e2e * Fix for comments Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
29e4594783
|
Fix long running E2E after v0.12 changes (#6008)
* Fix deposits in long run e2e * Fix participation Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
0f7cf212a2
|
Prepare E2E for v0.12 (#5991)
* Prepare e2e for v0.12 * Fix e2e * Comments * Attempt 100% participation * Fixes * Fix * Update readme Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
4fb3307de3
|
Add Slasher double block detection to E2E (#5936)
* WIP double block slashings e2e * Add double block detection to E2E * Remove unused function * Respond to feedback * Remove unneeded util * Merge branch 'master' of github.com:prysmaticlabs/prysm into e2e-double-block * Add comments for clarity on conns |
||
Ivan Martinez
|
c82f2d5657
|
Fix test setup and change participation min back to 100% (#5791)
* Increase time for test to start * Try anothre fix * Set minimum participation back to 100% * Change bnode count to 2 * Give extra wiggle room for metrics * Remove comment |
||
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
|
546196a6fa
|
Other Package Godocs for Prysm (#5681)
* e2e docs * slasher docs * Merge branch 'other-package-godocs' of github.com:prysmaticlabs/prysm into other-package-godocs * all validator package comments * Merge branch 'master' into other-package-godocs * completed all other packages * Merge branch 'master' into other-package-godocs * Merge refs/heads/master into other-package-godocs |
||
Ivan Martinez
|
84e51a5236
|
Add prometheus metrics test into E2E (#5673)
* Progress on metrics tests * Progress on metrics test * Get metrics E2E working * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-metrics * Complete most of metrics tests * Change E2E polling to the middle of a slot, instead of at the start of the middle * Add metrics to all E2E * Remove extra types * Update endtoend/evaluators/metrics.go Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com> * Merge branch 'master' into e2e-metrics * Add more comments, address feedback * Merge branch 'e2e-metrics' of https://github.com/prysmaticlabs/prysm into e2e-metrics * Fix build * Remove unneeded comment * Set E2E_EPOCHS back * Improve sync testing reliability * Remove metrics check from slashing * Improve time allotted to sync * Remove possibly flaky sync test change |
||
Ivan Martinez
|
f70635a992
|
Add post-genesis deposit testing to long-running E2E (#5449)
* WIP add deposits * Modify validator component * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-add-depsoits * Fix e2e * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-add-depsoits * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-add-depsoits * Start running with extra deposits * Begin adding evluator for e2e deposit * Get deposit E2E working * Add more rigorous testing for deposits * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-add-depsoits * Improve policy for deposits * Fix build * Remove sync testing for long running e2e * Undo shard change * Undo unneeded changes * Adjust for comments * Merge branch 'master' into e2e-add-depsoits * Fix bug where long running E2E would always run * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-add-depsoits * Merge branch 'e2e-add-depsoits' of https://github.com/0xKiwi/Prysm into e2e-add-depsoits * Merge branch 'master' into e2e-add-depsoits |
||
Ivan Martinez
|
1480d2bfa8
|
Add hotfix for E2E (#5573)
* Hotfix for e2e * Add TODO * Merge branch 'master' into hotfix-e2e * Merge branch 'master' into hotfix-e2e |
||
Ivan Martinez
|
c70103bdb3
|
Add healthz check to E2E (#5426)
* Add healthz check to E2E * Log fixes * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-healthz * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into e2e-healthz * Merge branch 'master' into e2e-healthz * Merge branch 'master' into e2e-healthz * Merge branch 'master' into e2e-healthz * Merge branch 'master' into e2e-healthz |
||
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 |
||
Ivan Martinez
|
bc3d673ea4
|
Parallelize E2E Testing (#5168)
* Begin cleanup for E2E * Parellize testing * Add comments * Add comment |
||
Ivan Martinez
|
021d777b5e
|
Add Anti-Flake test for E2E (#5149)
* Add antiflake test * Respond to comments * Comment * Change issue num |
||
Ivan Martinez
|
8143cc36bc
|
Add Slasher to E2E (#5061)
* Start adding "inject slashing into pool" * Attempt at slashing * Remove unneded * Fix * Begin adding slasher client to e2e * Start slasher in e2e * Get slashing detection working * Get slashing evaluators working * Progress on e2e * Cleanup e2e * Fix slasher e2e! * lint * Comment * Fixes * Improve accuracy of balance check * REmove extra * Remove extra * Make more accurate |
||
Ivan Martinez
|
2e2cec3a61
|
Make E2E more resilient, check balance and participation every epoch (#4679) | ||
Ivan Martinez
|
ad01bfbcde |
Add sync test to E2E (#4654)
* Complete evaluator for chain consensus * Add sync e2e test * Cleanup * Rename * Add tad more offset for correct head * Change offset to middle of slot * Change head block root to head epoch * comment * Fix eth1 * Address comments * Gazelle * Change to use file * Change to use reader * Use fil |
||
Ivan Martinez
|
fa2acb3632 |
Improve E2E to be more consistent with timing, and allow for custom flags (#4620)
* Add committees helper, benchmark, results show 62ms for 8k validators which was previously 4 minutes * Add regression test with same data * fix epoch conversion * lint * undo and lint * Begin work on adding mainnet config benchmark * Try more to get mainnet e2e * Try to fix delay * Get past chainstart on e2e * Try to fix flaky * Get demo config working * Remove unneeded changes * Change how flags are enabled * Lower shard count * Temp skip * Fix e2e * Fix testing to run until last epoch * Fix * Add ending time log and remove att cache flag * Fix ordering * Reenable flag * Change ports from default * Add no log for if there are no err logs * Add block evaluator * Try to improve evaluators * Progress on attestation evaluator * Remove attestation evaluator * Fix e2e Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> |
||
terence tsao
|
89eedd2123 |
Efficient computation of epoch participation (#4430)
* 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
|
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
|
||
Ivan Martinez
|
6816337589 |
Make logs more helpful for E2E (#4198)
* Make logs more helpful for E2E * gofmt * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into helpful-logs * Add extra info * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into helpful-logs * gofmt and fix error output * Use errors * Gazelle * Revert "gofmt and fix error output" This reverts commit 9fc85f2dd2e87a64ab43d526cd711df6cba4ab86. * Formatting and fix * add f * Add more details to logs * Merge branch 'master' into helpful-logs * Change text a bit * Merge branch 'helpful-logs' of https://github.com/0xKiwi/Prysm into helpful-logs * Merge branch 'master' into helpful-logs |
||
Raul Jordan
|
81a83cf100 |
Implement Chain Head Stream & Naming Consistency (#4160)
* include stream chain head mock * uncomment test * stream chain head implemented * remove imports * chain head stream test * include stream test with mockgen * test now passes * checkin items * stream tests all passing * rem learn * fix up fork checker * add stream ctx * gaz, fix test * fix broken test * Merge branch 'master' into chain-head-stream * include context in chain head stream happy path test * Merge branch 'master' into chain-head-stream * Merge branch 'master' into chain-head-stream * Merge refs/heads/master into chain-head-stream * Merge refs/heads/master into chain-head-stream |
||
Raul Jordan
|
0326be86b5 |
Apply Patch Rules to Use EthereumAPIs Generated Protos in Prysm (#4112)
* starting on patch * finish determining all required patches * properly redefine the patch rules * new patch * rem double semicolon * fix patch file * Merge branch 'master' of github.com:prysmaticlabs/prysm into deprecate-eth-protos * building the deps * test target passes using ethereumapis * compile gateway * attempting to build everything * e2e use ethereumapis * more fixes for slasher * other item * getting closer to compiling slasher * build slasher package * Merge branch 'master' into deprecate-eth-protos * Merge branch 'master' into deprecate-eth-protos * fix benches * lint gazelle * Merge branch 'deprecate-eth-protos' of github.com:prysmaticlabs/prysm into deprecate-eth-protos * proper gateway * lint * Merge branch 'master' into deprecate-eth-protos * fix build * Merge branch 'deprecate-eth-protos' of github.com:prysmaticlabs/prysm into deprecate-eth-protos * use swag * resolve * ignore change * include new patch changes * fix test * builds * fix e2e * gaz |
||
Raul Jordan
|
858dbbf038
|
Update Ethereum APIs and Match Schemas (#4059)
* update workspace * include active filter * fix up latest changes to match naming * better comments, fix evaluators * latest master * Update proto/eth/v1alpha1/beacon_chain.proto |
||
terence tsao
|
7a22e98c0f |
Update ChainHead (#4053)
* Can build * All tests pass * Update beacon-chain/blockchain/chain_info.go * Fix context * Update chainhead * Tests * Tests * e2e * Update ordering * Typo * Use root to get slot * Division |
||
Nishant Das
|
53c4a26184 |
Optimize Processing Of Past Logs (#4015)
* add test and new code * fix failing test * better clean up * change back to debug * remove space |