mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
ec4de10001
36 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Michael Huang
|
62b617fa9a
|
Command to fetch validator statuses + MultipleValidatorStatus (#5784)
* Add method to fetch account statuses * Add status command * gofmt * Add comment about sorting * Close conneciton when finished * Fix error * Refactor FetchAccountStatuses * Add status_test.go * Move sorting out of FetchAccountStatuses * Remove unnecessary casting * Expect ValidatorStatus to be called * Wrap long comment * Comment out sorting * Add all necessary dial options * Close connection before evaluating error from fetch * Small changes * Fix lint issues * Merge branch 'master' into validator-client-account-statuses * Update dependencies for docker images * Rename multipleValidatorStatus to activationStatus * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Update commit hash for ethereumapis * Implement MultipleValidatorStatus * Tests for MultipleValidatorStatus * Fix bugs * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Add export comment for MultipleValidatorStatus * Run `go fmt` in prysm (#5815) * go fmt * Add fix for nil state in InitializeFromProto (#5817) * Add nil check and tests * Add unsafe test * Update tools/genesis-state-gen/main.go * Undo genesis state gen changes * Merge branch 'proto-fuzz-fix' of github.com:prysmaticlabs/prysm into proto-fuzz-fix * gaz * Fix * Add export comment for MultipleValidatorStatus * Clean up comments * Update mock files for beacon_node_validator_service * Merge branch 'validator-client-account-statuses' of https://github.com/michaelhly/prysm into validator-client-account-statuses * Run gazelle * Fix mock issues * Fetch statuses in batches * Simplify public key generation for status_test * Sort validator statuses by status type * Format validator statuses and print to console * Fix lint issues * Delimit with commas * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Rename otheropts to extraopts * Merge branch 'master' into validator-client-account-statuses * Merge branch 'validator-client-account-statuses' of https://github.com/michaelhly/prysm into validator-client-account-statuses * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Clean up MultipleValidatorStatus tests * Add sync checker to MultipleValidatorStatus * Update formatting * Prepend 0x to validator keys * Check number of status blocks recieved in status_test * Move sorting to goroutine * Capitalize constants * Fix typo * Use mock reponses in sort test * Remove byteutils * Fix ugly format * Add comment on MultipleValidatorStatus test * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Create entrypoint to run status command, and make unexported functions internal * Move merge step into FetchAccountStatuses * Revert service.go * Remove responseToSortedMetadata * Simplify mergeTwo * Replace fmt output with logrus * Fix typo * Merge branch 'master' into validator-client-account-statuses * Update comment * Merge branch 'validator-client-account-statuses' of https://github.com/michaelhly/prysm into validator-client-account-statuses * Return error on bad credentials * Merge branch 'master' into validator-client-account-statuses * Merge branch 'master' into validator-client-account-statuses * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Skip merge step on error * Fix conflicts * Fix mock paths * Add comments * Convert some sprintfs to wrapfs * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Rename ExtractPublicKeys to ExtractPublicKeysFromKeyStore and move to account.go * Add support for keymanager * Add supported flags to flags list * Log warning on intermediary errors * Update output * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Merge branch 'master' into validator-client-account-statuses * Fix conflicts * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-client-account-statuses * Merge branch 'validator-client-account-statuses' of https://github.com/michaelhly/prysm into validator-client-account-statuses * Set context timeout for FetchAccountStatuses * Remove deprecated grpc.WithTimeout * gofmt * Remove getters * Remove parallel stuff * Move grpc dialing out of status.go * Update logging based on feedback * Update validator/accounts/status.go |
||
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> |
||
Preston Van Loon
|
258d0412c1
|
GetBlock: Refactor attestation packing (#5632)
* Refactor attestation packing slightly to reduce the skip slot / HTR of process slots * Merge branch 'master' into refactor-attestation-packing * gofmt * Merge branch 'refactor-attestation-packing' of github.com:prysmaticlabs/prysm into refactor-attestation-packing |
||
terence tsao
|
2f2124973b
|
Add HeadGenesisValidatorRoot for DomainData (#5582)
* Provide getters * Using it in DomainData * Fixed test * Tests Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
1224e75ba1
|
Add WaitForSynced to beacon node for validator startup (#5366)
* Add WaitForSynced to beacon-chain * Fix build issues * Fix comment * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into simplify-validator * Fix tests * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into simplify-validator * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into simplify-validator * Merge branch 'master' into simplify-validator * Merge branch 'master' into simplify-validator * Merge branch 'master' into simplify-validator |
||
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 |
||
Preston Van Loon
|
d5ddd012bc
|
Enforce error handling and checking type assertions (#5403)
* Enforce error handling and checking type assertions * Reference issue #5404 in the TODO message * doc description * Merge branch 'master' into errcheck * fix tests and address @nisdas feedbacK * gaz * fix docker image |
||
Preston Van Loon
|
8c9ae8e3bf
|
Use state validator index map (#5383)
* remove validator index tracking from DB * Builds production code path * tests build * fix tests Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Nishant Das
|
29f43190fc
|
Revert "Validator client improvements" (#5388)
* Revert "Validator client improvements (#5300)"
This reverts commit
|
||
Ivan Martinez
|
06db5f6471
|
Validator client improvements (#5300)
* Look into what makes the validator client slow * Comment * Refactor status function to be cleaner * Use timings from params * Improve coverage * Remove unneeded lock in chainstart * Reorganize validator logging * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into optimize-validator * cleanup * Fix bug * Undo depositbypukey changes * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into optimize-validator * Fix deposit cache * Fix multiple status test * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into optimize-validator * Remove logs * Remove unused import * Add comment * comment * Remove comments * Merge branch 'master' into optimize-validator * Undo time change for activation * Merge branch 'optimize-validator' of https://github.com/0xKiwi/Prysm into optimize-validator * Fix check for sync * Change value back to half slot * comment * Rephrase logs * Merge branch 'master' into optimize-validator |
||
Ivan Martinez
|
4b64a75c77
|
Remove unused validator protos (#5304)
* Remove unneeded protos * Remove unused api point * Gazelle * Fix visibility * Rename * Change type * Use iota for validator role |
||
Preston Van Loon
|
35d74981a0
|
Correctly return attestation data for late requests (#5183)
* Add functionality to support attestation requests that are older than the head state * lint * gaz * Handle nil state case * handle underflow of first epoch * Remove redundant and possibly wrong genesisTime struct field * fix remaining tests * gofmt * remove debug comment * use stategen.StateByRoot interchangably with beaconDB.State * gofmt * goimports Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
e529f5b1d6
|
Part 1 of integrating new state mgmt to run time (#5108) | ||
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> |
||
Raul Jordan
|
39aa791dcc
|
Add Slashings Into Blocks from Pool (#4902)
* tests pass * fix broken test * addressed feedback * Update beacon-chain/rpc/validator/proposer_test.go Co-Authored-By: shayzluf <thezluf@gmail.com> * Update beacon-chain/rpc/validator/proposer_test.go Co-Authored-By: shayzluf <thezluf@gmail.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: shayzluf <thezluf@gmail.com> |
||
terence tsao
|
6b8ec26c56
|
Handle nil head block in cache (#4888)
* Nil check * Fixed tests * Covered rest of the codebase * Race tests Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> |
||
terence tsao
|
6c00f5fff7
|
Update attester wait time (#4791)
* Update attester submit strategy * Tests * Gaz * Fixed rest of the tests * Updated design to use feed * Use roughtime for Now * gaz * Gaz * Send block processed after fork choice Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> |
||
Raul Jordan
|
a9d144ad1f
|
Stream Blocks Functionality for RPC (#4771)
* stream blocks functionality included * necessary tests for stream blocks and notifier * gazelle and tests passing * gazelle and tests passing * Merge branch 'master' into stream-block * Update beacon-chain/core/feed/block/events.go * Merge refs/heads/master into stream-block * Merge refs/heads/master into stream-block * Merge refs/heads/master into stream-block * Merge refs/heads/master into stream-block * naming * build * Merge refs/heads/master into stream-block * Merge refs/heads/master into stream-block * Merge refs/heads/master into stream-block * fix up tests * Merge branch 'stream-block' of github.com:prysmaticlabs/prysm into stream-block * Merge refs/heads/master into stream-block * shay comment * Merge refs/heads/master into stream-block * Merge branch 'stream-block' of github.com:prysmaticlabs/prysm into stream-block * Merge refs/heads/master into stream-block |
||
Preston Van Loon
|
9958afe79d
|
RPC: Use the proper db access level, use head root from head fetcher (#4752)
* Use the proper db access level, use head root from head fetcher * Reuse head root |
||
Raul Jordan
|
cc741ed8af
|
Ensure New State Type Tests Pass in Prysm (#4646)
* 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 * 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 * clone the pending attestation properly * properly clone remaining items * tests pass fixed bug * begin using it instead of head state * prevent nil pointer exceptions * 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 * append current epoch atts * 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 * 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> * 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> * fix visibility * build works for all * fix blockchain test * fix a few tests * fix more tests * update validator in slashing * archiver passing * fixed rpc/validator * progress on core tests * resolve broken rpc tests * blockchain tests passed * fix up some tests in core * fix message diff * remove unnecessary save * Save validator after slashing * Update validators one by one * another update * fix everything * fix more precompute tests * fix blocks tests * more elegant fix * more helper fixes * change back ? * fix test * fix skip slot * fix test * reset caches * fix testutil * raceoff fixed * passing * Retrieve cached state in the beginning * lint * Fixed tests part 1 * Fixed rest of the tests * Minor changes to avoid copying, small refactor to reduce deplicated code * 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> * Target root can't be 0x00 * Don't use cache for current slot (may not be the right fix) * 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> * resolving further conflicts * Better skip slot cache (#4694) * Return copy of skip slot cache state, disable skip slot cache on sync * fix * Fix pruning * fix up issues with broken tests Co-authored-by: Nishant Das <nish1993@hotmail.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: shayzluf <thezluf@gmail.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Jim McDonald
|
ad7d9ab1da
|
Validator status updates (#4675)
* Update ValidatorStatus to match Ethereum APIs * Tidy up status calculation * Merge branch 'master' into validator-status-updates * Merge branch 'master' into validator-status-updates * Update beacon-chain/rpc/beacon/config.go Co-Authored-By: Ivan Martinez <ivanthegreatdev@gmail.com> * Update test names |
||
Preston Van Loon
|
4aa7ebc2b7 |
Wire voluntary exits pool (#4613)
* Hookup voluntary exits pool * Merge refs/heads/master into wire-voluntary-exits * Merge refs/heads/master into wire-voluntary-exits * Merge refs/heads/master into wire-voluntary-exits * Merge refs/heads/master into wire-voluntary-exits * Merge refs/heads/master into wire-voluntary-exits * Merge refs/heads/master into wire-voluntary-exits * fix tests * Merge branch 'wire-voluntary-exits' of github.com:prysmaticlabs/prysm into wire-voluntary-exits * Merge refs/heads/master into wire-voluntary-exits * gofmt * Merge branch 'wire-voluntary-exits' of github.com:prysmaticlabs/prysm into wire-voluntary-exits * gofmt * gaz * Merge refs/heads/master into wire-voluntary-exits |
||
Preston Van Loon
|
415af93ad8
|
Minor tweaks to GetAttestationData (#4533)
* Maybe bugfix
* Maybe bugfix
* make GetAttestationData cheaper
* clone head state getter return values
* Fix tests
* fix e2e and revert most changes 😩
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
|
||
Preston Van Loon
|
18333293d0 |
Refactor database interface to prefer blockchain.HeadFetcher (#4523)
* start refactoring and deprecation round 1 * Merge branch 'master' of github.com:prysmaticlabs/prysm into single-source-of-truth-1 * Refactoring of database interface. Preferring limited access interface * revert some changes from 008f992993986f7de4193dd9cddedb465516825b * Fix tests * gofmt * Merge branch 'master' into single-source-of-truth-1 * lint * Merge refs/heads/master into single-source-of-truth-1 * Apply suggestions from code review Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * Merge refs/heads/master into single-source-of-truth-1 * Merge refs/heads/master into single-source-of-truth-1 * Merge refs/heads/master into single-source-of-truth-1 * Clone head block to avoid mutation |
||
Jim McDonald
|
3839f577ec |
Change database *Index() to use slice (#4466)
* Change database *Index() to use slice * Remove underscore from helper name |
||
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
|
a5881f924f |
Deprecate active count and committee cache flags (#4276)
* Deprecate active count and committee cache flags * Merge branch 'master' into deprecate-flags |
||
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 |
||
terence tsao
|
3e15e2fc1e |
Add operation feed (#4215)
* Events * Notifiers * Refactor * Gaz * Fixed rest * Lint * Lint * Visibility * Typo * Typo * Apply suggestions from code review Co-Authored-By: Nishant Das <nishdas93@gmail.com> |
||
Jim McDonald
|
746cc142d0 | Remove erroneous err (#4202) | ||
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
|
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 |
||
Jim McDonald
|
9e45cffabc |
Move StateInitialized and ChainStarted to state feed (#4084)
* Migrate ChainStarted and StateInitialized to state notifier * Provide state notifier to powchain service * Merge remote-tracking branch 'upstream/master' * Merge remote-tracking branch 'upstream/master' * Remove commented line * Merge branch 'master' into master * Merge branch 'master' into master * Merge remote-tracking branch 'upstream/master' * Merge branch 'master' of github.com:mcdee/prysm * Accept err from HeadState() as non-fatal * Merge branch 'master' into master * Merge branch 'master' into master * Merge branch 'master' into master |
||
terence tsao
|
26da7c4114 |
Nil state fallback in Blockchain.HeadState() (#4042)
* Can build * All tests pass * Update beacon-chain/blockchain/chain_info.go * Fix context |
||
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 |