mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
5fbf38c98f
1892 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
terence tsao
|
5fbf38c98f
|
Increase regen historical state cache size (#5613)
* Increase cache size and garbage collect * Update beacon-chain/db/kv/regen_historical_states.go * Use const |
||
terence tsao
|
3ac15e36a1
|
Use correct domain to verify aggregate selection (#5604)
* Use domain selection proof * Merge refs/heads/master into selection-domain * Merge branch 'master' of github.com:prysmaticlabs/prysm into selection-domain * Fixed all the tests * Merge branch 'selection-domain' of github.com:prysmaticlabs/prysm into selection-domain |
||
Nishant Das
|
f9eb54661a
|
Less Noisy P2P Logs (#5607)
* fix logging issues * change again * fix errors * Merge refs/heads/master into lessNoisy * gaz * Merge branch 'lessNoisy' of https://github.com/prysmaticlabs/geth-sharding into lessNoisy |
||
Nishant Das
|
2ebd684924
|
Add Goodbye Message When Disconnecting With Peers (#5589)
* add goodbye message * Merge branch 'master' into addGoodbye * fix interface * Merge refs/heads/master into addGoodbye * use wrapper func * Merge branch 'addGoodbye' of https://github.com/prysmaticlabs/geth-sharding into addGoodbye * Merge refs/heads/master into addGoodbye * Merge refs/heads/master into addGoodbye * Merge refs/heads/master into addGoodbye * Merge refs/heads/master into addGoodbye |
||
terence tsao
|
a78035d6ed
|
Fix getAttPreState memory usage for new-state-mgmt (#5584)
* Starting
* Revert "update commit hash (#5554)"
This reverts commit
|
||
Preston Van Loon
|
a3eeced194
|
Add a 2 second timeout to fetching eth1data (#5583)
* Add a 2 second timeout to fetching eth1data * goimports * fix * use package const * Merge refs/heads/master into graceful-failure-eth1data * fix test * Merge refs/heads/master into graceful-failure-eth1data * Merge refs/heads/master into graceful-failure-eth1data * Merge refs/heads/master into graceful-failure-eth1data * Merge refs/heads/master into graceful-failure-eth1data |
||
Shawki Sukkar
|
49ca0751b6
|
GetValidatorPerformance only return its status info if the validator is active (#5568)
* Task #1 * First commit * Fix * Clean * Clean * Clean * Merge branch 'master' into only-active-validators-log * Fix * Clean * Fix * Fix * Fix * Fix * Merge branch 'master' into only-active-validators-log |
||
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
|
8b058b51d4
|
Solve -1 ActivationEpoch in validator logging (#5569)
* Fix wrong activation epoch * Fix bug with activationEpoch * Add back default of FarFutureEpoch * Fix tests * Fix test * Fix test again Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Victor Farazdagi
|
9e6b6bc009
|
fixes issue with ipc path checking (#5577)
* fixes issue with ipc path checking |
||
Nishant Das
|
482a054ee1
|
Handle Nil State Object (#5575)
* handle panic * Merge branch 'master' into handlePanic * Merge refs/heads/master into handlePanic * Merge refs/heads/master into handlePanic |
||
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 |
||
Raul Jordan
|
793c3d27f2
|
No More EthereumAPIs Patch (#5570)
* no more patch * Merge refs/heads/master into no-more-patch * fix build * Merge refs/heads/master into no-more-patch * Merge refs/heads/master into no-more-patch |
||
Nishant Das
|
f880fb4ee4
|
Shift To Trace Logs (#5561)
* shift to trace * Merge branch 'master' into shiftTrace * Merge refs/heads/master into shiftTrace * Merge refs/heads/master into shiftTrace * Merge refs/heads/master into shiftTrace * Merge refs/heads/master into shiftTrace * Merge refs/heads/master into shiftTrace * Merge refs/heads/master into shiftTrace * fix test * Merge branch 'shiftTrace' of https://github.com/prysmaticlabs/geth-sharding into shiftTrace |
||
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
|
c2daf8d82e
|
Change Validator Status for visible deposit back to DEPOSITED (#5563)
* Change valstatus for visible deposit back to DEPOSITED * Rename logs * Merge branch 'master' into val-status * Fix tests * Merge branch 'val-status' of https://github.com/prysmaticlabs/prysm into val-status * Fix tests * Change test * Merge branch 'master' into val-status * Text changes * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into val-status * Merge branch 'val-status' of https://github.com/prysmaticlabs/prysm into val-status * Update validator/client/validator.go Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com> * Update validator/client/validator.go Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com> * Merge branch 'val-status' of https://github.com/prysmaticlabs/prysm into val-status * Merge branch 'master' into val-status |
||
terence tsao
|
480ddb7c3d
|
Continue if archival state is not in DB (#5565)
* Continue if archival state is not availble to generate * Fixed test * Merge branch 'master' into save-blocks-splitslot * Merge refs/heads/master into save-blocks-splitslot |
||
Victor Farazdagi
|
0f08bd288c
|
fix tests in //beacon-chain/rpc/beacon (#5559)
* assert new state is not disabled * Merge refs/heads/master into fix-list-indexed-atts-test * add helper method * Merge branch 'fix-list-indexed-atts-test' of github.com:prysmaticlabs/prysm into fix-list-indexed-atts-test * xx * xx * Merge refs/heads/master into fix-list-indexed-atts-test |
||
terence tsao
|
199c50be47
|
Migration should not fail process block routine (#5557)
* Continue rather than fail * Merge branch 'master' into migrate-should-not-fail-block * Merge refs/heads/master into migrate-should-not-fail-block |
||
Ivan Martinez
|
19b879ec17
|
Change ListIndexedAttestations to convert attestations from target root (#5548) | ||
terence tsao
|
54faf8564f
|
Add back archival endpoint GetValidatorActiveSetChanges with fallback (#5519)
* Modify `GetValidatorActiveSetChanges` to use new state service (#5408)
* Fix import and not use
* Update workspace for new spec test
* Fix workspace
* Merge refs/heads/master into v0.10.1
* Update workspace with new ethapi commit
* Unblock a few tests
* Merge refs/heads/master into v0.10.1
* fixed block op test
* gaz
* Merge refs/heads/master into v0.10.1
* Skip gen state test (test setup issue
* Updated hysteresis config
* Updated epoch processing for new hyteresis
* Updated tests
* regen proto beacon
* update state util for state root
* update state types
* update getter and setters
* update compute domain and get domain and tests
* update validators
* Add forkdata proto
* Updated compute domain api, moved it to helper pkg
* Merge refs/heads/master into v0.10.1
* Fixed all core tests
* Fixed all the sync tests
* Fixed all the rpc tests
* Merge refs/heads/master into v0.10.1
* Merge refs/heads/master into v0.10.1
* Fixed conflict
* Fixed conflict
* Conflict fix
* visibility
* Fixed validator tests
* Fixing test util
* Fixed rest of non spec tests
* Fixed a bug proposer index wasn't included
* gaz
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Updated eth1 data voting period to epoch based
* Fixed failed tests
* fix bug
* fix error
* Fixed more misc tests
* Add new SignedAggregateAndProof to pass spec test
* Update minimalConfig.PersistentCommitteePeriod
* allow to rebuild trie
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Skip e2e tests
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Align aggregator action with v0.11 (#5146)
* Remove Head Root from Beacon Block by Range Request (#5165)
* make proto changes
* remove head root
* Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into v0.11
* add back herumi's library
* Update ethapi in workspace, started fixing test. Hand off to Nishant
* fix build
* All tests passing
* Align finalized slot check with v0.11 (#5166)
* Merge branch 'master' into v0.11
* Add DoS resistance for v0.11 (#5158)
* Add Fork Digest Helper (#5173)
* Extend DoS prevention to rest of operation objects (#5174)
* Update mapping
* Add caches
* Update seen block in validation pipeline
* Update seen att in validation pipeline
* Update seen att in validation pipeline
* Fixed rest of tests
* Gazelle
* Better writes
* Lint
* Preston's feedback
* Switched to LRU cache and fixed tests
* Gazelle
* Fix test
* Update proposer slashing
* Update proposer slashing
* Fixed a block test
* Update exit
* Update atteser slashing
* Raul's feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Add remote keymanager (#5133)
* Add remote keymanager
* Add generic signRoot() helper
* Add tests for remote keymanager
* NewRemote -> NewRemoteWallet
* signRoot -> signOject, to increase reuse
* Fix end-to-end compile error
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Add Snappy Framing to the Encoder (#5172)
* change to framing
* more fixes
* fix everything
* add stricter limits
* preston feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: rauljordan <raul@prysmaticlabs.com>
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Move Subnet Functionality to its Own File (#5179)
* move subnets to their own file
* fix build fail
* build
* Update beacon-chain/p2p/discovery_test.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Sync with master
* Verify proposer signature in sync (#5206)
* Fix Signed Attestation In Sync (#5207)
* Add Eth2 Fork ENR Functionality (#5181)
* add fork entry enr
* add in fork
* add the required fork entry to node
* add and retrieve fork entry
* await state initialized
* utilize new structure
* more progress, utilizing a config map instead
* send the genesis validators root via the event feed
* struct method for discovery
* fix broken builds
* fixed up more tsts using state feed initializer
* fix up most tests
* only one more failing test
* almost done with tests
* p2p tests all pass
* config fix
* fix blockchain test
* gaz
* add in todo
* lint
* add compare func
* ensure fork ENR versions match between peers
* add in test for discovery
* test name
* tests complete
* tests done
* done
* comments
* fix all flakes
* addressed comments
* build using ssz gen
* marshal record
* use custom ssz
* deduplicate import
* fix build
* add enr proto
* p2p tests done
Co-authored-by: nisdas <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Verify aggregator signature in sync (#5208)
* Add Fork Digest For Gossip Topics (#5191)
* update for the day
* fix remaining failing test
* fix one more test
* change message
* Apply suggestions from code review
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* terence's review
* implement fork digest'
* align digest to interface'
* passed all tests
* spawn in goroutine
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Fix Incorrect Attester Slashing Method (#5229)
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Remove keystore keymanager from validator (#5236)
* Remove keystore keymanager from validator
* Update dependency
* Update validator/flags/flags.go
* Update validator/flags/flags.go
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
* fix broadcaster
* update metrics with fork digest for p2p (#5251)
* update metrics with fork digest for p2p
* update p2p metrics
* update metrics using att values
* wrapped up
* fix bug
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Fix incorrect domain type comments (#5250)
* Fix incorrect domain type comments
* resolve conflicts
* fix broken broadcast test
* fix tests
* include protocol suffix
* fix confs
* lint
* fix test
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Merge branch 'master' of github.com:prysmaticlabs/prysm into v0.11
* resolve broken slasher test'
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Merge branch 'master' into v0.11
* fix config override
* Remove deprecated parameters (#5249)
* Avoid div by zero in extreme balance case (#5273)
* Return effective balance increment instead of 1
* Update to new spec tests v0.11.1
* Revert "Regen historical states for `new-state-mgmt` compatibility (#5261)"
This reverts commit
|
||
Ivan Martinez
|
c8fa31ac97
|
WaitForActivation optimizations (#5396)
* WaitForActrivation improvements * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into waitforactivation * Changes to handle new statuses * Merge branch 'master' into waitforactivation * Fix tests * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into waitforactivation * Merge branch 'waitforactivation' of https://github.com/0xKiwi/Prysm into waitforactivation * Remove unkown status being set * Fix test * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into waitforactivation * Merge branch 'master' into waitforactivation * Modify logging slightly * Merge branch 'waitforactivation' of https://github.com/0xKiwi/Prysm into waitforactivation * Improve deposit ux * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into waitforactivation * Add test for logs * Rename * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into waitforactivation * Merge branch 'master' into waitforactivation * Merge branch 'master' into waitforactivation * Merge branch 'master' into waitforactivation * Merge branch 'master' into waitforactivation * Merge branch 'master' into waitforactivation * Merge branch 'master' into waitforactivation * Merge branch 'master' into waitforactivation |
||
Ivan Martinez
|
60bf3edf0a
|
Optimize GetDuties to not call Eth1 functions (#5516)
* Remove unneeded validator status calls for GetDuties * Cleanup validator runner function * Improvements * Undo validator client changes * Merge branch 'master' into optimize-getduties * Revert "Undo validator client changes" This reverts commit 4385181eaf6897bd7f4c48af84c8071c6cecbb46. * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into optimize-getduties * Remove unneeded tests * Merge branch 'optimize-getduties' of https://github.com/0xKiwi/Prysm into optimize-getduties * Revert "Cleanup validator runner function" This reverts commit f0c8c5e8bc13f68612c00e681f74ad1665535ee8. * Add back test * Optimize getduties * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into optimize-getduties * Merge branch 'master' into optimize-getduties |
||
terence tsao
|
982d93547a
|
Log warn instead of return error (#5547)
* Fix 5395 |
||
terence tsao
|
2a0711ab01
|
Regen and save historical states as default (#5544)
* Better error * Use copy * Conflict * Fixed a bug on using pre state. Added a LRU cache for saving pre state. * Removed interaction menu. Ran Gazelle * Fixed delete state to continue than exit * Gazelle * Merge branch 'master' of github.com:prysmaticlabs/prysm into regen-default * Merge refs/heads/master into regen-default * Added a warning message * Merge branch 'regen-default' of github.com:prysmaticlabs/prysm into regen-default * Merge refs/heads/master into regen-default |
||
Raul Jordan
|
9255a2b3c1
|
Add Clock-Based Slot to Metrics (#5545)
* clock based slot * Merge refs/heads/master into highest-possible-slot |
||
Raul Jordan
|
37cba662f1
|
Run Gofmt on Repo (#5541)
* toggle flags * Merge branch 'master' of github.com:prysmaticlabs/prysm * Merge branch 'master' of github.com:prysmaticlabs/prysm * run gofmt * Merge branch 'master' into lint-repo |
||
Nishant Das
|
639e3072fe
|
Cancel Initial Sync Properly (#5529)
* fix cancelling * Merge branch 'master' into cancelServices * Merge refs/heads/master into cancelServices * Merge refs/heads/master into cancelServices |
||
terence tsao
|
984644257e
|
Add back archival endpoint ListBeaconCommittees with fallback (#5518)
* Add fallback * Add back the old tests * Merge refs/heads/master into list-beacon-committee-fallback * Merge refs/heads/master into list-beacon-committee-fallback * Merge refs/heads/master into list-beacon-committee-fallback * Merge refs/heads/master into list-beacon-committee-fallback * Merge refs/heads/master into list-beacon-committee-fallback * Merge refs/heads/master into list-beacon-committee-fallback |
||
Nishant Das
|
b61d320613
|
Make Connections Less Aggressive (#5488)
* make less aggressive * Merge branch 'master' into lessAggressive * Merge branch 'master' into lessAggressive * Merge refs/heads/master into lessAggressive * Merge refs/heads/master into lessAggressive * Merge refs/heads/master into lessAggressive |
||
terence tsao
|
62da94bd0b
|
Add back archival endpoint ValidatorParticipation with fallback (#5520)
* Modify `GetValidatorParticipation` to use new state service (#5409)
* Skip 2 more minimal tests
* Update readme
* gaz
* Fix import and not use
* Update workspace for new spec test
* Fix workspace
* Update workspace with new ethapi commit
* Unblock a few tests
* fixed block op test
* gaz
* Skip gen state test (test setup issue
* Updated hysteresis config
* Updated epoch processing for new hyteresis
* Updated tests
* regen proto beacon
* update state util for state root
* update state types
* update getter and setters
* update compute domain and get domain and tests
* update validators
* Add forkdata proto
* Updated compute domain api, moved it to helper pkg
* Fixed all core tests
* Fixed all the sync tests
* Fixed all the rpc tests
* Conflict fix
* visibility
* Fixed validator tests
* Fixing test util
* Fixed rest of non spec tests
* Fixed a bug proposer index wasn't included
* gaz
* Updated eth1 data voting period to epoch based
* Fixed failed tests
* fix bug
* fix error
* Fixed more misc tests
* Add new SignedAggregateAndProof to pass spec test
* Update minimalConfig.PersistentCommitteePeriod
* allow to rebuild trie
* Skip e2e tests
* Align aggregator action with v0.11 (#5146)
* Remove Head Root from Beacon Block by Range Request (#5165)
* make proto changes
* remove head root
* add back herumi's library
* Update ethapi in workspace, started fixing test. Hand off to Nishant
* fix build
* Align finalized slot check with v0.11 (#5166)
* Add DoS resistance for v0.11 (#5158)
* Add Fork Digest Helper (#5173)
* Extend DoS prevention to rest of operation objects (#5174)
* Update mapping
* Add caches
* Update seen block in validation pipeline
* Update seen att in validation pipeline
* Update seen att in validation pipeline
* Fixed rest of tests
* Gazelle
* Better writes
* Lint
* Preston's feedback
* Switched to LRU cache and fixed tests
* Gazelle
* Fix test
* Update proposer slashing
* Update proposer slashing
* Fixed a block test
* Update exit
* Update atteser slashing
* Raul's feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Add remote keymanager (#5133)
* Add remote keymanager
* Add generic signRoot() helper
* Add tests for remote keymanager
* NewRemote -> NewRemoteWallet
* signRoot -> signOject, to increase reuse
* Fix end-to-end compile error
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Add Snappy Framing to the Encoder (#5172)
* change to framing
* more fixes
* fix everything
* add stricter limits
* preston feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: rauljordan <raul@prysmaticlabs.com>
* Move Subnet Functionality to its Own File (#5179)
* move subnets to their own file
* fix build fail
* build
* Update beacon-chain/p2p/discovery_test.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Verify proposer signature in sync (#5206)
* Fix Signed Attestation In Sync (#5207)
* Add Eth2 Fork ENR Functionality (#5181)
* add fork entry enr
* add in fork
* add the required fork entry to node
* add and retrieve fork entry
* await state initialized
* utilize new structure
* more progress, utilizing a config map instead
* send the genesis validators root via the event feed
* struct method for discovery
* fix broken builds
* fixed up more tsts using state feed initializer
* fix up most tests
* only one more failing test
* almost done with tests
* p2p tests all pass
* config fix
* fix blockchain test
* gaz
* add in todo
* lint
* add compare func
* ensure fork ENR versions match between peers
* add in test for discovery
* test name
* tests complete
* tests done
* done
* comments
* fix all flakes
* addressed comments
* build using ssz gen
* marshal record
* use custom ssz
* deduplicate import
* fix build
* add enr proto
* p2p tests done
Co-authored-by: nisdas <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Verify aggregator signature in sync (#5208)
* Add Fork Digest For Gossip Topics (#5191)
* update for the day
* fix remaining failing test
* fix one more test
* change message
* Apply suggestions from code review
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* terence's review
* implement fork digest'
* align digest to interface'
* passed all tests
* spawn in goroutine
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Fix Incorrect Attester Slashing Method (#5229)
* Remove keystore keymanager from validator (#5236)
* Remove keystore keymanager from validator
* Update dependency
* Update validator/flags/flags.go
* Update validator/flags/flags.go
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
* fix broadcaster
* update metrics with fork digest for p2p (#5251)
* update metrics with fork digest for p2p
* update p2p metrics
* update metrics using att values
* wrapped up
* fix bug
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Fix incorrect domain type comments (#5250)
* Fix incorrect domain type comments
* fix broken broadcast test
* fix tests
* include protocol suffix
* lint
* fix test
* resolve broken slasher test'
* fix config override
* Remove deprecated parameters (#5249)
* Avoid div by zero in extreme balance case (#5273)
* Return effective balance increment instead of 1
* Update to new spec tests v0.11.1
* Revert "Regen historical states for `new-state-mgmt` compatibility (#5261)"
This reverts commit
|
||
terence tsao
|
7d8516cd71
|
Add back archival endpoint ListValidatorAssignments with fallback (#5517)
* Modify `ListValidatorAssignments` to use new state service (#5365)
* Fixed rest of non spec tests
* Fixed a bug proposer index wasn't included
* gaz
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Updated eth1 data voting period to epoch based
* Fixed failed tests
* fix bug
* fix error
* Fixed more misc tests
* Add new SignedAggregateAndProof to pass spec test
* Update minimalConfig.PersistentCommitteePeriod
* allow to rebuild trie
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Skip e2e tests
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Align aggregator action with v0.11 (#5146)
* Remove Head Root from Beacon Block by Range Request (#5165)
* make proto changes
* remove head root
* Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into v0.11
* add back herumi's library
* Update ethapi in workspace, started fixing test. Hand off to Nishant
* fix build
* All tests passing
* Align finalized slot check with v0.11 (#5166)
* Merge branch 'master' into v0.11
* Add DoS resistance for v0.11 (#5158)
* Add Fork Digest Helper (#5173)
* Extend DoS prevention to rest of operation objects (#5174)
* Update mapping
* Add caches
* Update seen block in validation pipeline
* Update seen att in validation pipeline
* Update seen att in validation pipeline
* Fixed rest of tests
* Gazelle
* Better writes
* Lint
* Preston's feedback
* Switched to LRU cache and fixed tests
* Gazelle
* Fix test
* Update proposer slashing
* Update proposer slashing
* Fixed a block test
* Update exit
* Update atteser slashing
* Raul's feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Add remote keymanager (#5133)
* Add remote keymanager
* Add generic signRoot() helper
* Add tests for remote keymanager
* NewRemote -> NewRemoteWallet
* signRoot -> signOject, to increase reuse
* Fix end-to-end compile error
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Add Snappy Framing to the Encoder (#5172)
* change to framing
* more fixes
* fix everything
* add stricter limits
* preston feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: rauljordan <raul@prysmaticlabs.com>
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Move Subnet Functionality to its Own File (#5179)
* move subnets to their own file
* fix build fail
* build
* Update beacon-chain/p2p/discovery_test.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Sync with master
* Verify proposer signature in sync (#5206)
* Fix Signed Attestation In Sync (#5207)
* Add Eth2 Fork ENR Functionality (#5181)
* add fork entry enr
* add in fork
* add the required fork entry to node
* add and retrieve fork entry
* await state initialized
* utilize new structure
* more progress, utilizing a config map instead
* send the genesis validators root via the event feed
* struct method for discovery
* fix broken builds
* fixed up more tsts using state feed initializer
* fix up most tests
* only one more failing test
* almost done with tests
* p2p tests all pass
* config fix
* fix blockchain test
* gaz
* add in todo
* lint
* add compare func
* ensure fork ENR versions match between peers
* add in test for discovery
* test name
* tests complete
* tests done
* done
* comments
* fix all flakes
* addressed comments
* build using ssz gen
* marshal record
* use custom ssz
* deduplicate import
* fix build
* add enr proto
* p2p tests done
Co-authored-by: nisdas <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Verify aggregator signature in sync (#5208)
* Add Fork Digest For Gossip Topics (#5191)
* update for the day
* fix remaining failing test
* fix one more test
* change message
* Apply suggestions from code review
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* terence's review
* implement fork digest'
* align digest to interface'
* passed all tests
* spawn in goroutine
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Fix Incorrect Attester Slashing Method (#5229)
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Remove keystore keymanager from validator (#5236)
* Remove keystore keymanager from validator
* Update dependency
* Update validator/flags/flags.go
* Update validator/flags/flags.go
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
* fix broadcaster
* update metrics with fork digest for p2p (#5251)
* update metrics with fork digest for p2p
* update p2p metrics
* update metrics using att values
* wrapped up
* fix bug
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
* Fix incorrect domain type comments (#5250)
* Fix incorrect domain type comments
* resolve conflicts
* fix broken broadcast test
* fix tests
* include protocol suffix
* fix confs
* lint
* fix test
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Merge branch 'master' of github.com:prysmaticlabs/prysm into v0.11
* resolve broken slasher test'
* Merge branch 'v0.11' of github.com:prysmaticlabs/prysm into v0.11
* Merge branch 'master' into v0.11
* fix config override
* Remove deprecated parameters (#5249)
* Avoid div by zero in extreme balance case (#5273)
* Return effective balance increment instead of 1
* Update to new spec tests v0.11.1
* Revert "Regen historical states for `new-state-mgmt` compatibility (#5261)"
This reverts commit
|
||
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> |
||
Nishant Das
|
626b3e0c66
|
Add Reference Copying (#5245)
* add state changes * add new changes * add flag * lint * add flag * change to correct bool * fixing and consolidating trie * lint * Apply suggestions from code review * Merge refs/heads/master into addBetterCopying * Merge branch 'master' into addBetterCopying * refCopy -> stateRefCopy * Merge refs/heads/master into addBetterCopying * tests whether unexpected mutation of validators within state is avoided * Merge branch 'addBetterCopying' of github.com:prysmaticlabs/prysm into addBetterCopying * remove unnecessary fields * gazelle * updates test * avoid unexpected mutation in block roots on refcopy * avoid unexpected mutation in state roots on refcopy * Merge refs/heads/master into addBetterCopying * Merge branch 'master' into addBetterCopying * fix test * randao tests * simplify tests * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * test cur/prev attestations mutation * Merge branch 'addBetterCopying' of github.com:prysmaticlabs/prysm into addBetterCopying * gazelle * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * fixes tests * minor naming update * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying * Merge refs/heads/master into addBetterCopying |
||
Ivan Martinez
|
dee3f02e2c
|
Change prometheus port for different parts of Prysm (#5504)
* Change prometheus flag from default 8080 and sort flags * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into change-prometheus-port * Fix build * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into change-prometheus-port * Merge branch 'master' into change-prometheus-port |
||
Preston Van Loon
|
33774721bb
|
p2p/sync: Wrong genesis digest is used to register pubsub topic subscriptions (race condition) (#5500)
* Return error when genesis time or genesis root is not set * Merge refs/heads/master into fail-on-unset-fork-digest * move to own helpers * make it non public * Merge branch 'fail-on-unset-fork-digest' of https://github.com/prysmaticlabs/geth-sharding into fail-on-unset-fork-digest * lint * fix * return error * fix tests and error * Merge refs/heads/master into fail-on-unset-fork-digest * first round of test fixes * second round of fixes * Merge branch 'fail-on-unset-fork-digest' of https://github.com/prysmaticlabs/geth-sharding into fail-on-unset-fork-digest * lint * Merge refs/heads/master into fail-on-unset-fork-digest * gaz * Merge branch 'fail-on-unset-fork-digest' of https://github.com/prysmaticlabs/geth-sharding into fail-on-unset-fork-digest |
||
Preston Van Loon
|
0ed0cb58f8
|
Configurable pubsub router (#5499)
* A p2p flag for configuring pubsub router * Add randomsub * lint * Merge refs/heads/master into configurable-pubsub-router * Default to gossip * Merge branch 'configurable-pubsub-router' of github.com:prysmaticlabs/prysm into configurable-pubsub-router * Merge refs/heads/master into configurable-pubsub-router * Add flag to usage * Merge branch 'configurable-pubsub-router' of github.com:prysmaticlabs/prysm into configurable-pubsub-router * Fix build * Merge refs/heads/master into configurable-pubsub-router |
||
terence tsao
|
c3217abb83
|
Save init sync cached blocks before regenerate state (#5501)
* Revert "Add WaitForSynced to beacon node for validator startup (#5366)" This reverts commit |
||
terence tsao
|
0078f42554
|
Disable some block checks without state mgmt (#5498)
* Revert "Add WaitForSynced to beacon node for validator startup (#5366)"
This reverts commit
|
||
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 |
||
Nishant Das
|
b0af12d5dc
|
Add Geth Logging (#5474)
* add new logging * Update beacon-chain/main.go * Merge refs/heads/master into gethLogging * Merge refs/heads/master into gethLogging * Merge refs/heads/master into gethLogging * Merge refs/heads/master into gethLogging * fix image * Merge refs/heads/master into gethLogging |
||
Nishant Das
|
c0ca567175
|
Less Scary Connection Logs (#5480)
* change logs * Merge refs/heads/master into lessScaryLogs * Merge refs/heads/master into lessScaryLogs * Merge refs/heads/master into lessScaryLogs |
||
terence tsao
|
62213ca602
|
Retrieve last ancestor state from DB. (Radical improvement from 5466) (#5475)
* Add `lastAncestorState` method * Add new tests and fix existing test * Check context deadline exceeds * Merge refs/heads/master into last-ancestor-state * Merge refs/heads/master into last-ancestor-state |
||
terence tsao
|
ce6ce5a397
|
Add HasBlock to verify parent check (#5478)
* Add HasBlock to verify parent check * Comment * Fixed existing tests * Merge refs/heads/master into fix-verify-blk-pre-state |
||
Preston Van Loon
|
46b19072f4
|
Fix overflow in currentSlot (#5467)
* Fix overflow * Merge branch 'master' into overflow-current-slot |
||
terence tsao
|
50d67f52bb
|
Replay and generate state using proper parent root (#5466)
* Start replay using parent root * Merge branch 'master' into fix-replay-bug * Fixed TestStateByRoot_HotStateDB * Merge branch 'fix-replay-bug' of github.com:prysmaticlabs/prysm into fix-replay-bug * Fixed TestOnAtts * Update beacon-chain/state/stategen/getter_test.go Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com> * Update beacon-chain/state/stategen/getter_test.go * Fixed TestLoadHoteStateByRoot_FromDBCanProcess * Merge branch 'fix-replay-bug' of github.com:prysmaticlabs/prysm into fix-replay-bug |
||
terence tsao
|
62c25eaedb
|
Revert archival deprecations (#5464)
* Revert "Fix `ListValidatorBalances` for v0.11 (#5458)" This reverts commit |
||
Nishant Das
|
28733f2c9e
|
Add Separate Network Config (#5454)
* clean up config * add discv5 config * add gaz * Merge branch 'master' into configCleanup * Merge refs/heads/master into configCleanup * Merge refs/heads/master into configCleanup * Merge refs/heads/master into configCleanup * Merge refs/heads/master into configCleanup * Merge refs/heads/master into configCleanup * Merge refs/heads/master into configCleanup |
||
Raul Jordan
|
52b46d4570
|
Debug log pubkey chainstart already added (#5461)
* debug logging * Merge refs/heads/master into pubkey-log |
||
terence tsao
|
8a3ea1e936
|
Delete archival DB methods (#5459) |