mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
d53ab16004
38 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
terence tsao
|
8c8cc144f1
|
Archival RPC usages removal (#6453)
* Starting to delete archived rpc usages * Fixed rest of the tests * Gaz * Merge branch 'master' into deprecate-archival-rpc * Merge branch 'master' into deprecate-archival-rpc * Merge refs/heads/master into deprecate-archival-rpc * Merge refs/heads/master into deprecate-archival-rpc * Merge refs/heads/master into deprecate-archival-rpc |
||
Ivan Martinez
|
e7b24323e6
|
Move MaxRPCPageSize flag from beacon node to shared/cmd (#6297)
* Allow other clients to set MaxRPCPageSize * Fixes * Remove default * Add init * Fix default * Set default * Fix Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
d973c00c6c
|
Slasher detection improvements (#6432)
* Slashing fixes * Fixess * Change fatals to error Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
9a156bd73a
|
Best practice follow up - remove outdated todos (#6392)
* Addressed 30. * Remove outdated todos * Go fmt * Go fmt Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Victor Farazdagi
|
33b2636bf1
|
Enables new aggregation implementation (#6344)
* adds feature flag * aggregations/attestation package * better tests * bazel visibility issues * removes redundant code * Merge branch 'master' into aggregation-attestations-package * updates previous implementation * Merge branch 'master' into aggregation-enable-new-aggregation * resolve merge conflict * resolve merge conflict (more) * Merge branch 'master' into aggregation-enable-new-aggregation * force max_cover aggregation on --dev * Merge branch 'aggregation-enable-new-aggregation' of github.com:prysmaticlabs/prysm into aggregation-enable-new-aggregation * Merge branch 'master' into aggregation-enable-new-aggregation * Merge refs/heads/master into aggregation-enable-new-aggregation * Merge refs/heads/master into aggregation-enable-new-aggregation * Merge refs/heads/master into aggregation-enable-new-aggregation * Merge refs/heads/master into aggregation-enable-new-aggregation * Merge refs/heads/master into aggregation-enable-new-aggregation |
||
Ivan Martinez
|
a4f4ab2b1a
|
Use stateutil AttestationDataRoot instead of go-ssz (#6136)
* Change usages of ssz.HashTreeRoot(att.Data) to stateutil * Gaz * Tests * Imports * Merge branch 'master' into use-stateutil-attdata * Fix tests * Merge branch 'use-stateutil-attdata' of github.com:prysmaticlabs/prysm into use-stateutil-attdata * Merge refs/heads/master into use-stateutil-attdata * Merge refs/heads/master into use-stateutil-attdata |
||
Ivan Martinez
|
5afee4ba3a
|
Use SlotTickerWithOffset for StreamIndexedAttestations (#5999)
* Change streamindexed to slot ticker with offset * Make 2/3rds * Add test * Merge branch 'master' of github.com:prysmaticlabs/prysm into ticker-offset * Add check for offset * Merge branch 'master' of github.com:prysmaticlabs/prysm into ticker-offset * Fix test * Merge refs/heads/master into ticker-offset |
||
Ivan Martinez
|
ecea979b60
|
Change StreamIndexedAttestations to use target root for state regen (#5971) | ||
Ivan Martinez
|
b810243f41
|
Reverse historical detection flag for slasher (#5958)
* Reverse historical detection flag * Merge branch 'master' of github.com:prysmaticlabs/prysm into reverse-historical-flag * Merge branch 'master' of github.com:prysmaticlabs/prysm into reverse-historical-flag * Fix build * Merge refs/heads/master into reverse-historical-flag * Fix test * Merge branch 'reverse-historical-flag' of github.com:prysmaticlabs/prysm into reverse-historical-flag * Merge refs/heads/master into reverse-historical-flag |
||
Ivan Martinez
|
9fc6be8b74
|
Change ListIndexedAttestations to be more slasher friendly (#5930)
* Improve slasher beacon comms * Fixes * Add case for normal errors * remove baz * Merge branch 'master' into improve-slasher-beacon * Merge refs/heads/master into improve-slasher-beacon * Merge refs/heads/master into improve-slasher-beacon * Feedback * Merge branch 'improve-slasher-beacon' of github.com:prysmaticlabs/prysm into improve-slasher-beacon * Merge refs/heads/master into improve-slasher-beacon |
||
Ivan Martinez
|
aad1b93f70
|
Optimize slasher handling of duplicate attestations (#5886)
* Move data saving to listener service * Map result data to attestations to prevent duplicate DB reads * Gaz * Fix tests * Revert "Fix tests" This reverts commit 499b205a88ad632e02238d65adc6698725195e53. * Revert "Move data saving to listener service" This reverts commit fd52938dbaccb0c374f9d2405f8a61f4d17f8709. * Gaz * Undo changes * Imports * Reorder parameters * Fix error log * Add test for mapReusltsToAtts * Fix errorf * Change to safer crypto Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Shay Zluf
|
ffa08f5a85
|
Stream p2p agg attestation (#5809)
* stream aggreagted attestations from p2p network to indexed attestation stream * remove excessive log * fix test * handle nil attestation as well * Update beacon-chain/sync/subscriber_beacon_aggregate_proof.go * Update beacon-chain/sync/subscriber_beacon_aggregate_proof.go * Update beacon-chain/sync/subscriber_beacon_aggregate_proof_test.go * terence feedback * sort imports * sort imports * Change to received buffer * preston feedback * error log * raul feedback * more logging changes * fix duplicate package name Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com> |
||
Raul Jordan
|
578703fa05
|
Properly Divide SecondsPerSlot Into Milliseconds (#5821)
* use util for dividing slot durations * fix places with dividing slot duration * more dividers fixed * format import * fix formatting in validator test * fix slot test tolerance * nishant suggestions * imports * resolve e2e Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
cd1a4f18f4
|
Fix historical detection for the slasher (#5831)
* Fix historical detection for the slasher * More fixes * Fix * Run historical detection sequentially * Add context err handler * Add return * Fixes * Merge branch 'master' into slasher-fixes |
||
terence tsao
|
7b38e97e83
|
Invert --disable-new-state-mgmt to --enable-new-state-mgmt (#5567)
* Invert the flag * Merge branch 'master' into invert-disable-new-state-mgmt * Merge refs/heads/master into invert-disable-new-state-mgmt * Add new-state-mgmt to e2e flag * Merge branch 'invert-disable-new-state-mgmt' of github.com:prysmaticlabs/prysm into invert-disable-new-state-mgmt * Merge refs/heads/master into invert-disable-new-state-mgmt |
||
Ivan Martinez
|
19b879ec17
|
Change ListIndexedAttestations to convert attestations from target root (#5548) | ||
Shay Zluf
|
acd7dd137f
|
More efficient list indexed attestation endpoint (#5441)
* use state gen to retrieve state fo computing committees * gaz + goimports * remove duplicate * main net config * committee instead of committee * remove * handle feature config * Update beacon-chain/rpc/beacon/attestations.go Co-Authored-By: Victor Farazdagi <simple.square@gmail.com> * remove duplication * group attestations by block root * fix errors * fix test * ivan feedback * add test * return error if new state management is turned off * fix featureconfig handling * gaz * Update beacon-chain/rpc/beacon/attestations.go Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Victor Farazdagi <simple.square@gmail.com> Co-authored-by: terence tsao <terence@prysmaticlabs.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 |
||
Ivan Martinez
|
bdb80f4639
|
Change ListAttestations to get attestations from blocks (#5145)
* Start fixing api to get from blocks * Fix listatts tests * Fix slasher * Improve blocks * Change att grouping * Use faster att concat * Try to fix e2e * Change back time * tiny e2e fix Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> |
||
Preston Van Loon
|
d06b0e8a86
|
Refactor attestationutil.AttestingIndices (#5159)
* Refactor AttestingIndices to not return any error. Add tests. Add shortcut for fully attested attestation * attestationutil.ConvertToIndexed never returned error either * fix test * remove shortcut * revert test... |
||
Raul Jordan
|
c6acf0a28c
|
Use Target Epoch to Determine Indexed Attestations for Slasher (#5085)
* no more head fetchre * no need for head fetcher * nil checks |
||
Raul Jordan
|
0c9e99e04a
|
Aggregate Attestations Before Streaming to Slasher (#5029)
* rem slasher proto * Merge branch 'master' of github.com:prysmaticlabs/prysm * Merge branch 'master' of github.com:prysmaticlabs/prysm * Merge branch 'master' of github.com:prysmaticlabs/prysm * Merge branch 'master' of github.com:prysmaticlabs/prysm * Merge branch 'master' of github.com:prysmaticlabs/prysm * Merge branch 'master' of github.com:prysmaticlabs/prysm * aggregate before streaming * Merge branch 'agg-idx-atts' of github.com:prysmaticlabs/prysm into agg-idx-atts * collect atts and increase buffer size * fix test for func * Merge refs/heads/master into agg-idx-atts * Update beacon-chain/rpc/beacon/attestations.go * Merge refs/heads/master into agg-idx-atts * naming * Merge branch 'agg-idx-atts' of github.com:prysmaticlabs/prysm into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * comment terence feedback * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Merge refs/heads/master into agg-idx-atts * Fix tests |
||
Ivan Martinez
|
cc5fc0af1a
|
Plug-in double voting detection into detection service (#4960)
* Add double vote detection to spanner * Add documentation * Update slasher/detection/attestations/spanner.go * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into slasher-spanner-double * Merge branch 'slasher-spanner-double' of https://github.com/0xKiwi/Prysm into slasher-spanner-double * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into slasher-spanner-double * Gazelle * Add double vote detection func * Implement double voting detection * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into slasher-implement-double * Merge branch 'master' into slasher-implement-double * Merge branch 'slasher-implement-double' of https://github.com/0xKiwi/Prysm into slasher-implement-double * Fix typo * Remove filter, replace with slot + committee index * Change bloom filter to 2 sig bytes * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into slasher-change-filter * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into slasher-implement-double * Merge branch 'slasher-change-filter' of https://github.com/0xKiwi/Prysm into slasher-implement-double * Change detection to use prefix * Fix runtime * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into slasher-implement-double * Fix bug and comments * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into slasher-implement-double * Fix flaky test * Merge branch 'master' into slasher-implement-double * Improve logs * Merge branch 'slasher-implement-double' of https://github.com/0xKiwi/Prysm into slasher-implement-double * Add ok check * Fix test * Merge branch 'master' into slasher-implement-double |
||
Raul Jordan
|
14b3181e67
|
Plug-In Attester Slashing Detection Into Slasher Runtime (#4937)
* more spanner additions * implement iface * begin implement * wrapped up spanner functions * rem interface * added in necessary comments * comments on enums * begin adding tests * plug in surround vote detection * saved indexed db implementation * finally plugin slashing for historical data * Small fixes * add in all gazelle * save incoming new functions * resolve todo * fix broken test channel item * tests passing when fixing certain arguments and setups * Add comment and change unimplemented * find surround * added in gazelle * gazz * feedback from shay * fixed up naming * Update * Add tests for detectSurroundVotes * Remove logs * Fix slasher test * formatting * Remove unneeded condition * Test indices better * fixing broken build * pass tests * skip tests * imports * Update slasher/detection/attestations/attestations_test.go * Update slasher/beaconclient/historical_data_retrieval_test.go * Address comments * Rename function * Add comment for future optimization * Fix comment Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com> |
||
Raul Jordan
|
22bbed0059
|
Stream Indexed Attestations RPC Implementation (#4941)
* stream indexed attestations impl * mock regen * test for stream indexed * atts test * no bls * gaz * Merge refs/heads/master into implement-stream-indexed * use feed for atts instead * remove unused imports * Merge refs/heads/master into implement-stream-indexed * fix tests in beacon * properly use pointers * imports * import |
||
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 |
||
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 |
||
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> |
||
AgentJ-WR
|
e2faa391c3
|
Fix(Genesis): Api genesis block now returns properly (#4736)
* begin state service * begin on the state trie idea * created beacon state structure * add in the full clone getter * return by value instead * add all setters * new state setters are being completed * arrays roots exposed * close to finishing all these headerssss * functionality complete * added in proto benchmark test * test for compatibility * add test for compat * comments fixed * Merge branch 'master' into state-service * add clone * add clone * remove underlying copies * make it immutable * integrate it into chainservice * revert * wrap up comments for package * address all comments and godocs * address all comments * Merge branch 'master' into state-service * clone the pending attestation properly * Merge branch 'state-service' of github.com:prysmaticlabs/prysm into state-service * properly clone remaining items * tests pass fixed bug * begin using it instead of head state * prevent nil pointer exceptions * Merge branch 'state-service' into use-state-in-runtime * begin using new struct in db * integrated new type into db package * add proper nil checks * using new state in archiver * refactored much of core * editing all the precompute functions * done with most core refactor * fixed up some bugs in the clone comparisons * Merge branch 'state-service' into use-state-in-runtime * append current epoch atts * merged master * add missing setters * add new setters * fix other core methods * fix up transition * main service and forkchoice * fix rpc * integrated to powchain * some more changes * fix build * improve processing of deposits * fix error * prevent panic * comment * fix process att * gaz * fix up att process * resolve existing review comments * Merge branch 'master' into use-state-in-runtime * resolve another batch of gh comments * resolve broken cpt state * revise testutil to use the new state * begin updating the state transition func to pass in more compartmentalized args * finish editing transition function to return errors * block operations pretty much done with refactor * state transition fully refactored * got epoch processing completed * fix build in fork choice * fixing more of the build * fix up broken sync package * it builds nowww it buildssss * revert registry changes * Recompute on Read (#4627) * compute on read * fix up eth1 data votes * looking into slashings bug introduced in core/ * able to advance more slots * add logging * can now sync with testnet yay * remove the leaves algorithm and other merkle imports * expose initialize unsafe funcs * Update beacon-chain/db/kv/state.go * lint Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * include master * More Optimizations for New State (#4641) * map optimization * more optimizations * use a custom hasher * comment * block operations optimizations * Update beacon-chain/state/types.go Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com> * fixed up various operations to use the validator index map access Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * archiver tests pass * fixing cache tests * cache tests passing * edited validator tests * powchain tests passing * halfway thru sync tests * more sync test fixes * add in tests for state/ * working through rpc tests * assignments tests passed * almost done with rpc/beacon tests * resolved painful validator test * fixed up even more tests * resolve tests * fix build * reduce a randao mixes copy * fixes under //beacon-chain/blockchain/... * build //beacon-chain/core/... * fixes * Runtime Optimizations (#4648) * parallelize shuffling * clean up * lint * fix build * use callback to read from registry * fix array roots and size map * new improvements * reduce hash allocs * improved shuffling * terence's review * use different method * raul's comment * new array roots * remove clone in pre-compute * Update beacon-chain/state/types.go Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com> * raul's review * lint * fix build issues * fix visibility Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Merge branch 'use-state-in-runtime' of https://github.com/prysmaticlabs/geth-sharding into resolve-tests * fix visibility * build works for all * fix blockchain test * fix a few tests * fix more tests * resolve conf * sync * update validator in slashing * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * archiver passing * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * fixed rpc/validator * progress on core tests * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * resolve broken rpc tests * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * blockchain tests passed * fix up some tests in core * Merge branch 'master' of github.com:prysmaticlabs/prysm into resolve-tests * fix message diff * remove unnecessary save * Merge branch 'master' of github.com:prysmaticlabs/prysm into resolve-tests * Save validator after slashing * Update validators one by one * another update * fix everything * Merge branch 'resolve-tests' of https://github.com/prysmaticlabs/geth-sharding into resolve-tests * fix more precompute tests * fix blocks tests * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * more elegant fix * more helper fixes * Merge branch 'resolve-tests' of https://github.com/prysmaticlabs/geth-sharding into resolve-tests * change back ? * fix test * fix skip slot * fix test * reset caches * fix testutil * raceoff fixed * passing * Retrieve cached state in the beginning * lint * Merge branch 'master' of github.com:prysmaticlabs/prysm into resolve-tests * Fixed tests part 1 * Fixed rest of the tests * Merge branch 'master' into optimize-process-att * Minor changes to avoid copying, small refactor to reduce deplicated code * Merge branch 'master' into resolve-tests * Handle att req for slot 0 * New beacon state: Only populate merkle layers as needed, copy merkle layers on copy/clone. (#4689) * Only populate merkle layers as needed, copy merkle layers on copy/clone. * use custom copy * Make maps of correct size * slightly fast, doesn't wait for lock Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * Merge branch 'master' into resolve-tests * Target root can't be 0x00 * Merge refs/heads/master into resolve-tests * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * Don't use cache for current slot (may not be the right fix) * Merge branch 'resolve-tests' of git+ssh://github.com/prysmaticlabs/prysm into resolve-tests * Merge branch 'resolve-tests' of github.com:prysmaticlabs/prysm into resolve-tests * fixed up tests * Remove some copy for init sync. Not sure if it is safe enough for runtime though... testing... * Align with prev logic for process slots cachedState.Slot() < slot * Fix Initial Sync Flag (#4692) * fixes * fix up some test failures due to lack of nil checks * fix up some test failures due to lack of nil checks * fix up imports * revert some changes * imports Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Conflict * Conflict * resolve confs * resolving further conflicts * Better skip slot cache (#4694) * Return copy of skip slot cache state, disable skip slot cache on sync * fix * Fix pruning * Merge refs/heads/master into resolve-tests * Merge refs/heads/master into resolve-tests * copy on write method * gaz * fix confs * Merge refs/heads/resolve-tests into copy-on-write * fix tests * Merge branch 'copy-on-write' of github.com:prysmaticlabs/prysm into copy-on-write * fix up issues with broken tests * Merge refs/heads/resolve-tests into copy-on-write * Merge branch 'master' of github.com:prysmaticlabs/prysm into copy-on-write * remove extra update * remove debugging lines * gofmt * Merge refs/heads/master into copy-on-write * Merge refs/heads/master into copy-on-write * Merge refs/heads/master into copy-on-write * Merge branch 'master' of github.com:prysmaticlabs/prysm * Passing 1 to SetEndSlot * Better way to get genesis block * Merge branch 'master' of github.com:prysmaticlabs/prysm into bug/ApiGenesisBlock * Checking for nil genBlk * Testing conditional order * Reverting conditions, and no idea why build fails * Merge branch 'master' into bug/ApiGenesisBlock * Saving to genesis block root in tests * Merge branch 'bug/ApiGenesisBlock' of github.com:AgentJ-WR/prysm into bug/ApiGenesisBlock * Saving root * Merge branch 'master' of github.com:prysmaticlabs/prysm into bug/ApiGenesisBlock * Adding regression test * Updating regression test * Merge branch 'master' into bug/ApiGenesisBlock * Merge branch 'master' into bug/ApiGenesisBlock * Merge branch 'master' into bug/ApiGenesisBlock * Merge branch 'master' into bug/ApiGenesisBlock |
||
Raul Jordan
|
c6343cac3a |
Enable RPCMaxPageSize via Beacon Node Flag (#4539)
* add new flag * enforce max page size via flag * ensure exists in flag group * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * Merge refs/heads/master into custom-max-page * conflict with master * resolved broken tests * Update beacon-chain/flags/config.go * Merge refs/heads/master into custom-max-page |
||
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
|
||
Raul Jordan
|
2e9c3895f4 |
Bring Back Epoch Filtering for ListBlocks API (#4262)
* bring back the epochs! * fix up * Merge refs/heads/master into bring-back-epoch-filter * add in patch * Merge branch 'bring-back-epoch-filter' of github.com:prysmaticlabs/prysm into bring-back-epoch-filter * import spacing * lint * build * gaz * Merge refs/heads/master into bring-back-epoch-filter * gaz * Merge branch 'bring-back-epoch-filter' of github.com:prysmaticlabs/prysm into bring-back-epoch-filter * move back perf * update ethapis * fix build * Merge refs/heads/master into bring-back-epoch-filter |
||
Raul Jordan
|
c31f46d973 |
Update EthereumAPIs (#4186)
* include new patch targeting latest ethapis master * ensure project builds * Merge branch 'master' into update-all-api * fix up committees * Merge branch 'update-all-api' of github.com:prysmaticlabs/prysm into update-all-api * include latest eth apis * Merge branch 'master' into update-all-api * update block tests * Merge branch 'update-all-api' of github.com:prysmaticlabs/prysm into update-all-api * Merge branch 'master' into update-all-api * add todos |
||
Raul Jordan
|
3be4894b8a
|
Update Ethereum APIs, Allow Genesis Data Retrieval for Blocks + Attestations (#4150)
* update apis * include block filter genesis * genesis atts * add in workspace file * include proper diff targeting master of ethereum apis * genesis block fetching fixes * remove fmt * tests for genesis list blocks passing * fixed up container tests * tests now passing * fix up tests |
||
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
|
ab756ec094
|
Return Empty Results Instead of Pagination Error in RPC + Prevent Future Epoch Requests (#4030)
* return empty if no attestations * list balances proper response * standardize epoch error * future epoch error test * no results test * no results in list attestations * test for list blocks no results * cannot request future epoch for balances rpc * test for no results in balances * adding tests for get validator * cannot request future in participation * useless conditional * resolve old epoch test * completed failing tests * fix request bug |
||
Raul Jordan
|
cd6e3e8a09
|
Productionize RPC Server Error Codes (#3994)
* carefully return grpc status codes in attester server * import spacing * work on status codes * codes in validator * most changes done * gaz and imports * done * fix broken tests * tests fixed |
||
Raul Jordan
|
3332abbb5a
|
Restructure Beacon Chain RPC Servers Into Subpackages (#3975)
* Update seed domains (#3872) * Remove Transfers (#3870) * Remove active index roots and compact committee roots (#3869) * Update inclusion reward (#3886) * Alter proposer selection logic (#3884) * Fix early committee bias (#3888) * Remove shards and committees (#3896) * Epoch spec tests v0.9 (#3907) * Block spec test v0.9 (#3905) * rm'ed in protobuf * build proto * build proto * build proto * fix core package * Gazelle * Fixed all the tests * Fixed static test * Comment out spec test for now * One more skip * fix-roundRobinSync (#3862) * Starting but need new seed function * Revert initial sync * Updated Proposer Slashing * Fixed all tests * Lint * Update inclusion reward * Fill randao mixes with eth1 data hash * Test * Fixing test part1 * All tests passing * One last test * Updated config * Build proto * Proper skip message * Conflict and fmt * Removed crosslinks and shards. Built * Format and gazelle * Fixed all the block package tests * Fixed all the helper tests * All epoch package tests pass * All core package tests pass * Fixed operation tests * Started fixing rpc test * RPC tests passed! * Fixed all init sync tests * All tests pass * Fixed blockchain tests * Lint * Lint * Preston's feedback * Starting * Remove container * Fixed block spec tests * All passing except for block_processing test * Failing block processing test * Starting * Add AggregateAndProof * All mainnet test passes * Update deposit contract (#3906) * Proto spec tests v0.9 (#3908) * Starting * Add AggregateAndProof * Unskip block util tests (#3910) * rm'ed in protobuf * build proto * build proto * build proto * fix core package * Gazelle * Fixed all the tests * Fixed static test * Comment out spec test for now * One more skip * fix-roundRobinSync (#3862) * Starting but need new seed function * Revert initial sync * Updated Proposer Slashing * Fixed all tests * Lint * Update inclusion reward * Fill randao mixes with eth1 data hash * Test * Fixing test part1 * All tests passing * One last test * Updated config * Build proto * Proper skip message * Conflict and fmt * Removed crosslinks and shards. Built * Format and gazelle * Fixed all the block package tests * Fixed all the helper tests * All epoch package tests pass * All core package tests pass * Fixed operation tests * Started fixing rpc test * RPC tests passed! * Fixed all init sync tests * All tests pass * Fixed blockchain tests * Lint * Lint * Preston's feedback * Starting * Remove container * Fixed block spec tests * All passing except for block_processing test * Failing block processing test * Starting * Add AggregateAndProof * All mainnet test passes * Unskip block util tests * Slot processing spec test V0.9 (#3912) * Starting * Add AggregateAndProof * Unskip slot processing mainnet test * Unskip minimal spec test for finalization (#3920) * Remove outdated interop tests (#3922) * Rm outdated interop tests * Rm test runner * Gazelle * Update validator to use proposer slot (#3919) * Fix committee assignment (#3931) * Replace shard with committee index (#3930) * Conflict * Clean up (#3933) * Remove shard filter in db (#3936) * Remove lightouse compatibility test (#3939) * Update Committee Cache for v0.9 (#3948) * Updated committee cache * Removed shuffled indices cache * Started testing run time * Lint * Fixed test * Safeguard against nil head state * address edge case * add test * Fixed TestRoundRobinSync by doubling the epochs * Unskip TestProtoCompatability (#3958) * Unskip TestProtoCompatability * Update WORKSPACE * Fix minimal config (#3959) * fix minimal configs * fix hardcoded value in test * Simplify verify att time (#3961) * update readme for deposit contract, regen bindings for vyper 0.1.0b12 (#3963) * update readme for deposit contract, regen bindings * medium * Check nil base state (#3964) * Copy Block When Receiving it From Sync (#3966) * copy block * clone for other service methods too * Change logging of Bitfield (#3956) * change logging of bits * preston's review * Unskip Beacon Server Test (#3962) * run test till the end * fix up proto message types * fmt * resolve broken tests * better error handling * fixing new logic to use archived proposer info * fix up logic * clip using the max effective balance * broken build fix with num arg mismatch * amend archive * archival logic changed * rename test * archive both proposer and attester seeds * page size 100 * further experiments * further experimentation, archivedProposerIndex seems wrong * test passes * rem log * fix broken test * fix test * gaz * fix imports * ethapis * attester server split into subpackage * attester impl split up successfully * validator cleaned up * all packages isolated * include proposer * proper naming * test fix * proper viz * naming * resolved timeout due to config values * init use minimal * added all subfiles * subfile split and gazelle * shards * validator folder * cleanup val * shay feedback |