mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
47fdb3b99a
238 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
terence tsao
|
d51ead76eb
|
Implement and test GetWeakSubjectivityCheckpoint (#7216)
* Implement and test GetWeakSubjectivityCheckpoint * Go mod tidy * Add mock Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
e6277ec536
|
Revert 6966 (#7178)
* revert 6966 * Fix build |
||
terence tsao
|
7588e491ab
|
Add overflow check for StartSlot (#7149)
* Add overflow checks * More fixes * Typos * Merge branch 'master' into fix-overflow * One more regression test * Merge branch 'fix-overflow' of github.com:prysmaticlabs/prysm into fix-overflow * Gazelle * Merge branch 'master' into fix-overflow * Nishant's feedback * Merge refs/heads/master into fix-overflow |
||
Nishant Das
|
c2b94d04ed
|
Deprecate DisableNewStateMgmt Flag (#7124)
* deprecate flag * gaz * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * Merge refs/heads/master into deprecateFlag * add check back |
||
terence tsao
|
f09620c9f6
|
Don't include orphaned atts (#7134)
* Don't include orphaned atts * gazelle * Merge refs/heads/master into orphaned-atts |
||
terence tsao
|
7463f2cffd
|
Update participation response (#7129)
* Sync with ethapi * Implementation and test * Handle mock * Fix ProposeExit for e2e * Merge refs/heads/master into participation * Preston's feedback * Merge branch 'participation' of github.com:prysmaticlabs/prysm into participation |
||
Preston Van Loon
|
b7175b3482
|
Update fastssz: Attempt 2 (#7115)
* Revert "Revert "Update fastssz" (#7100)"
This reverts commit
|
||
terence tsao
|
2ee025ee88
|
Participation: count atts from orphaned blocks (#7117)
* Cound attestations from orphaned blocks * Use next epoch's end slot * Fixed a test * Fixed a test * Nishant's feedback * Typo Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Victor Farazdagi
|
ba07ccb484
|
Apply testutils assertions: final cleanup (#7003)
* slasher/beaconclient tests * slasher/db/kv tests * Merge branch 'master' into apply-testutils-assertions-to-slasher * fix build * slasher/detection tests * rest of the tests * misc tests * tools tests * Merge refs/heads/master into apply-testutils-assertions-misc * Merge branch 'master' into apply-testutils-assertions-misc * agg tests * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge branch 'master' into apply-testutils-assertions-misc * Merge branch 'apply-testutils-assertions-misc' of github.com:prysmaticlabs/prysm into apply-testutils-assertions-misc * updates aggregated_test * beacon-chain/operations/attestations/kv/* tests updated * beacon-chain/operations/attestations tests updated * beacon-chain/operations/slashings tests updated * Merge branch 'master' into apply-testutils-assertions-misc * gazelle * beacon-chain/core tests updated * fixes test * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * Merge branch 'apply-testutils-assertions-misc' of github.com:prysmaticlabs/prysm into apply-testutils-assertions-misc * beacon-chain/rpc tests updated * beacon-chain/sync/initial-sync tests * misc tests * optimizes error message parsing in testutils * Merge branch 'assertutils-optimize-processing' into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * endtoend tests * Merge branch 'apply-testutils-assertions-misc' of github.com:prysmaticlabs/prysm into apply-testutils-assertions-misc * gazelle * Merge refs/heads/master into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * beacon-chain/blockchain tests updated * Merge branch 'apply-testutils-assertions-misc' of github.com:prysmaticlabs/prysm into apply-testutils-assertions-misc * beacon-chain/state/stategen tests updated * beacon-chain all left-over tests are done * Merge refs/heads/master into apply-testutils-assertions-misc * validator tests updated * slasher tests * Merge branch 'master' into apply-testutils-assertions-misc * gofmt * gazelle * Merge refs/heads/master into apply-testutils-assertions-misc * shared upd * end2end tests deps fixed * Merge branch 'apply-testutils-assertions-misc' of github.com:prysmaticlabs/prysm into apply-testutils-assertions-misc * Merge refs/heads/master into apply-testutils-assertions-misc * misc * all tests are updated * Merge branch 'apply-testutils-assertions-misc' of github.com:prysmaticlabs/prysm into apply-testutils-assertions-misc |
||
terence tsao
|
b954db9704
|
Revert "Update fastssz" (#7100)
* Revert "Update fastssz (#6760)"
This reverts commit
|
||
Preston Van Loon
|
78a25f99c3
|
Update fastssz (#6760)
* Update fastssz * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fmt * gaz * Merge refs/heads/master into update-fssz * goimports * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Fix * fix ethereumapis * fix again * kafka * fix gen file * fix compute signing root * gofmt * checkpoint progress * progress * checkpoint * progress * Fix build * checkpoint * helpers * Another test fixed * gaz * another test fix * gofmt * some fixes * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fix one test * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fill empty checkpoint roots * more padding * more padding * Fix //beacon-chain/rpc/debug:go_default_test * fix //beacon-chain/core/state:go_default_test * fix //beacon-chain/core/state:go_default_test * fix some htr errors * fix //slasher/rpc:go_default_test * Progress on //beacon-chain/core/blocks:go_default_test * Progress on //beacon-chain/core/blocks:go_default_test * Progress on //beacon-chain/core/blocks:go_default_test * fix //slasher/db/kv:go_default_test * progress * fix //beacon-chain/sync/initial-sync:go_raceon_test * gofmt and gaz * fix one more test, taking a break * Fix //beacon-chain/core/blocks:go_default_test * Complete beacon-chain/powchain * Do most of beacon-chain/rpc/beacon/ * Do most of beacon-chain/blockchain * fix //beacon-chain/operations/attestations/kv:go_default_test * Fix //beacon-chain/cache/depositcache:go_default_test * Fix //slasher/detection:go_default_test * Progress * fix //beacon-chain/rpc/validator:go_default_test * gofmt * fix //validator/client:go_default_test * fix * fix //beacon-chain/blockchain:go_raceoff_test * fix //beacon-chain/rpc/beacon:go_default_test * fix 1 of 4 shards in //beacon-chain/sync:go_default_test * Fix //beacon-chain/sync:go_default_test and gofmt * prevent panic * fix //beacon-chain/state/stategen:go_default_test * fix * Merge branch 'master' of github.com:prysmaticlabs/prysm into update-fssz * fix most tests * Self review, go mod tidy, run regen scripts * fix slasher * Update ethereumapis * disable spawn strategy override * Merge refs/heads/master into update-fssz * Merge refs/heads/master into update-fssz * Remove extra line in imports * Remove extra line in imports * Gofmt * PR feedback from @nisdas |
||
terence tsao
|
46cb3abe2e
|
Add and use genesis time in config (#6966)
* Config: add genesis time and update medalla * Helper: add GenesisTime getter * Rest: use the helper |
||
rkapka
|
1f21e196b6
|
Fix multiple anti-patterns from DeepSource analysis (#6951)
* Merge variable declaration and assignment * Use result of type assertion to simplify cases * Replace call to bytes.Compare with bytes.Equal * Drop unnecessary use of the blank identifier * Replace x.Sub(time.Now()) with time.Until(x) * Function literal can be simplified * Use a single append to concatenate two slices * Replace time.Now().Sub(x) with time.Since(x) * Omit comparison with boolean constant * Omit redundant nil check on slices * Nested if can be replaced with else-if * Function call can be replaced with helper function * Omit redundant control flow * Use plain channel send or receive * Simplify returning boolean expression * Merge branch 'origin-master' into fix-antipatterns * Merge branch 'master' into fix-antipatterns |
||
rkapka
|
33105f1bbc
|
Simplify make call by omitting redundant arguments (#6949)
* removed redundant args * Merge refs/heads/master into omit-redundant-make-args |
||
Preston Van Loon
|
62ae22e3f9
|
Use correct context for chainHeadRetrieval (#6678)
* Use correct context for chainHeadRetrieval * Merge refs/heads/master into fix-context |
||
Victor Farazdagi
|
10d3275638
|
Applies assertion funcs to rpc tests (#6641)
* applies assertion funcs to beacon-chain/rpc tests * Merge branch 'master' into rpc-apply-testutils-assertions * applies assertion funcs to beacon-chain/rpc/beacon tests * Merge branch 'master' into rpc-apply-testutils-assertions * applies assertion funcs to beacon-chain/rpc/debug tests * applies assertion funcs to beacon-chain/rpc/validator tests * Merge branch 'master' into rpc-apply-testutils-assertions * Merge refs/heads/master into rpc-apply-testutils-assertions |
||
Preston Van Loon
|
b60a965981
|
ProcessAttestations: Add requirement that inclusion distance is not zero (#6642)
* Add requirement that inclusion distance is not zero, add regression test * fix test input data * Merge refs/heads/master into fix-panic * Merge refs/heads/master into fix-panic |
||
Shay Zluf
|
e0c803abfc
|
Fast list validators (#6580)
* Fast list validators * fix tests * Merge branch 'master' of github.com:prysmaticlabs/prysm into fast_list_validators * add small test * Merge branch 'master' into fast_list_validators * remove unneeded fatcher * Merge branch 'fast_list_validators' of github.com:prysmaticlabs/prysm into fast_list_validators * nishant feedback * package name |
||
Preston Van Loon
|
fd80f73286
|
Improve make() capacity allocations (#6517)
* attestationutil.AttestingIndices: Minor improvement on indices array allocation * progress * more progress on makes * progress * more progress * Merge branch 'master' of github.com:prysmaticlabs/prysm into memory1 * gaz * fmt and imports * Merge branch 'master' into memory2 * Min() * remove spaces * Merge branch 'master' of github.com:prysmaticlabs/prysm into memory2 * revert beacon-chain/operations/attestations/kv/block.go * partially revert beacon-chain/operations/attestations/kv/aggregated.go * Merge branch 'master' into memory2 * Merge branch 'master' into memory2 |
||
Preston Van Loon
|
6b9d9e5d3a
|
Add a few test cases to ReceiveBlockNoPubsub with race detection (#6298)
* Add a few test cases to ReceiveBlockNoPubsub with race detection, fix data race in state * Expose voluntary exits included API. More race condition fixes in state. More tests * add tests to norace as well for coverage * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-test-coverage-on-receive-block * PR feedback * Fixed can't save head in DB by: 1.) Remove new state mgmt condition in SaveHeadBlockRoot 2.) Reuse state summary cache between db and service * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-test-coverage-on-receive-block * passing tests * gofmt and goimports * Merge branch 'master' of github.com:prysmaticlabs/prysm into add-test-coverage-on-receive-block * lint * move import and goimport again * move import and goimport again * Merge refs/heads/master into add-test-coverage-on-receive-block * Merge refs/heads/master into add-test-coverage-on-receive-block * Add bool to selectively record events * Merge refs/heads/master into add-test-coverage-on-receive-block * Merge refs/heads/master into add-test-coverage-on-receive-block * Merge refs/heads/master into add-test-coverage-on-receive-block * Merge refs/heads/master into add-test-coverage-on-receive-block |
||
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 |
||
terence tsao
|
8d8da76aa0
|
API: Fix finalization/justification slot representations (#6443)
* Fix finalized/justified slots representations * Update tests * Merge refs/heads/master into use-epochs * Merge refs/heads/master into use-epochs * Merge refs/heads/master into use-epochs * Merge refs/heads/master into use-epochs * Go fmt * Merge branch 'use-epochs' of github.com:prysmaticlabs/prysm into use-epochs * Merge refs/heads/master into use-epochs * Merge refs/heads/master into use-epochs * Fixed TestServer_StreamChainHead_OnHeadUpdated * Merge branch 'use-epochs' of github.com:prysmaticlabs/prysm into use-epochs * Merge refs/heads/master into use-epochs |
||
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> |
||
Preston Van Loon
|
c6179307b3
|
Add spans for head state access (#6418)
* Add a span for HeadState access * more spans * Merge refs/heads/master into add-span * Merge refs/heads/master into add-span * Merge refs/heads/master into add-span * Merge refs/heads/master into add-span * Merge refs/heads/master into add-span * Merge refs/heads/master into add-span * Merge refs/heads/master into add-span * Merge refs/heads/master into add-span |
||
terence tsao
|
01b97ffd5e
|
Fix ListValidators retrieval for new state (#6417)
* Retrieve the correct state for new state * Test * Gaz * Merge branch 'master' into fix-list-validators * Merge refs/heads/master into fix-list-validators * Merge refs/heads/master into fix-list-validators * Merge refs/heads/master into fix-list-validators * Merge refs/heads/master into fix-list-validators |
||
Raul Jordan
|
252f758baa
|
QSP-9 Prevent Casting to Int if Possible (#6349)
* no cast to int * fix up significant casting issues * more casting * even more casting fixes * more casts * fix subnets * back to ints * final touches * broken test fix * add in blocks test fix * unskip * revert bytes fixes * casting fixes * Update beacon-chain/db/kv/state.go * Update beacon-chain/db/kv/blocks.go * fmt * slash: * fix val tests * fix up conf Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Victor Farazdagi <simple.square@gmail.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> |
||
Preston Van Loon
|
f9038674d1
|
Refactor setupDB to return the state summary cache used by the database (#6369) | ||
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 |
||
Patrick
|
624209eba7
|
Fix Pagination Bug When Total Size % Page Size == 0 (#6266)
* Add failing test for pagination * Fix failing test for pagination * Fix other tests for pagination Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> |
||
Jim McDonald
|
10af753f59
|
Unlock mutex on return (#6303)
Co-authored-by: Nishant Das <nishdas93@gmail.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> |
||
terence tsao
|
802bdf5561
|
Fix GetValidatorPerformance before/after balances (#6293)
* Add helper to prevent zero hashes * Test * Fix precompute validators to have before/after balances * Update tests to use correct values * Even better test setups * Gaz Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Shay Zluf
|
472fbd3949
|
Less restrictive block stream for slashing detection (#6269)
* verify sig in stream * state cache used * fix import * fix import * fix tests * add log for proposer slashing * fix e2e * use chain head to verify sig * revert fix * remove extra line * add line * revert extra log * fix tests * terence feedback * fix * fix test * remove extra setup Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
e59ee2f203
|
Fix validator summary reporting (#6267)
* Add helper to prevent zero hashes * Test * Merge branch 'master' of github.com:prysmaticlabs/prysm * Update validator summary * Update existing tests to work with new indices * Remove extra log * Gazelle * Merge branch 'master' into fix-validatory-summary * Merge refs/heads/master into fix-validatory-summary * Merge refs/heads/master into fix-validatory-summary |
||
Nishant Das
|
d1a1043ef1
|
Update to v0.12 (#5614) | ||
terence tsao
|
0387641662
|
Add debug endpoint for individual vote status (#6166)
* Add IndividualVotesRequest protos * Inplement GetIndividualVotes * Tests * Build * Move from debug server to beacon server * Remove protos * Remove gen code * Typo and build * Gazelle * Better mock Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Ivan Martinez
|
92f23df368
|
Fix inaccurate validator balance metrics (#6134)
* Fix balance metrics * Reorder * Add comment * Merge refs/heads/master into fix-balance-metrics * Add underflow check * Merge refs/heads/master into fix-balance-metrics * Merge refs/heads/master into fix-balance-metrics * Merge refs/heads/master into fix-balance-metrics |
||
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
|
24d315c6d1
|
Add public keys to response for GetValidatorPerformance (#6115)
* Add public keys to response for GetValidatorPerformance * Merge branch 'master' into add-pubkey-resp * Merge branch 'master' into add-pubkey-resp * Fixed all the broken tests (#6117) * Merge branch 'add-pubkey-resp' of github.com:prysmaticlabs/prysm into add-pubkey-resp * Fix skip * Merge branch 'master' into add-pubkey-resp * Fix ethapis * Merge branch 'master' into add-pubkey-resp |
||
Nishant Das
|
e715339aab
|
Fix Status Messages During Genesis (#6046)
* fix status messages * fix finalized checkpoint * remove code * Merge refs/heads/master into fixStatusMessages * Update beacon-chain/blockchain/service.go * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * fix * fix test * fix again * fix * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages * Merge refs/heads/master into fixStatusMessages |
||
Raul Jordan
|
c23ac8547f
|
Ensure Consistent ListValidators RPC Results (#6054)
* run process slots on list vals call * fix behavior * Merge branch 'master' into bad-list-vals * Merge refs/heads/master into bad-list-vals * Merge refs/heads/master into bad-list-vals * Merge refs/heads/master into bad-list-vals * Merge refs/heads/master into bad-list-vals * Merge refs/heads/master into bad-list-vals * Merge refs/heads/master into bad-list-vals |
||
terence tsao
|
6e3b78b99e
|
Ran code cleanup from goland (#6064)
* Ran code cleanup from goland * Typo |
||
Ivan Martinez
|
d35531cb17
|
Add index to activationStatus and MultipleValidatorStatus response (#6026)
* Cleanup val status * More cleanup * Fix tests * Fix tests again * Change to nonExistentIndice * Fix test Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
Victor Farazdagi
|
a0bf8cba52
|
Removes redundant type conversions (#6041)
* removes redundant type conversions * remove redundant type in struct decl * removes redundant parens * Merge refs/heads/master into redundant-type-conversions |
||
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
|
6aabea2d80
|
Reverse broadcast-slashing flag to disable-broadcast-slashings (#5952)
* Reverse broadcast-slashings to disable-broadcast-slashings * Fix tests * Merge branch 'master' of github.com:prysmaticlabs/prysm into toggle-broadcast-flag * Merge refs/heads/master into toggle-broadcast-flag * Fix for comments * Merge branch 'toggle-broadcast-flag' of github.com:prysmaticlabs/prysm into toggle-broadcast-flag * Merge refs/heads/master into toggle-broadcast-flag |
||
terence tsao
|
52988a0805
|
Return err instead of 0 for unavailable participation (#5934)
* Return err for unavailable participation * Update test |
||
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> |
||
Raul Jordan
|
8b168aa450
|
Add RPC Debug Server, Toggle Logging via gRPC (#5873)
* add in rpc debug server * sets the valid debug level * builds * make post * Merge branch 'master' into debuglog * Merge refs/heads/master into debuglog * caps * Merge branch 'debuglog' of github.com:prysmaticlabs/prysm into debuglog * comment |
||
Ivan Martinez
|
9333ede9a1
|
Unify generated mocks into shared/mock (#5862)
* Add validator mocks to script * Add more mocks * Generate all the mocks for Ivan * Change script to use relative paths and gofmt * bazel * Remove duplicates * Remove duplicated interfaces * change to shared/mock * Fix script and build Co-authored-by: terence tsao <terence@prysmaticlabs.com> |
||
Michael Huang
|
a7b441270d
|
Update GetValidatorPerformance to support validator indices (#5687)
* add test for stream duties * rem gomock * Merge branch 'master' into stream-duties * context cancelation test * use interface for epoch ticker in duties * fix build * compute duties on first call * pass tests for streams * gaz * ss stream duties * Merge branch 'master' into stream-duties * ensure only stream across epoch-wide reorgs * regen mock for validator * Update beacon-chain/blockchain/head.go * Update RPC method GetValidatorPerformance to use validator indices * Merge refs/heads/master into stream-duties * Merge refs/heads/master into stream-duties * Update beacon-chain/rpc/validator/server.go * Merge branch 'master' into stream-duties * Update commit hash for com_github_prysmaticlabs_ethereumapis * Aggregate validator indices before appending performance summaries * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-performance-by-indices * Merge stream-duties * Make function more test friendly * Add indices tests * fixup * Fix conflicts * Update gateway max resv size to 16MB (#5756) * Update max resv size to 16MB * Merge refs/heads/master into 5752 * Use GrpcMaxCallRecvMsgSizeFlag for beacon node * Merge branch '5752' of github.com:prysmaticlabs/prysm into 5752 * Typo * Fix server * Merge refs/heads/master into 5752 * Merge refs/heads/master into 5752 * Merge refs/heads/master into 5752 * Merge refs/heads/master into 5752 * Update beacon-chain/gateway/server/main.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * Merge refs/heads/master into 5752 * Rebase to origin/master * Rebase to origin/master * Merge remote-tracking branch 'origin/master' into validator-performance-by-indices * Apply suggestions from code review * Merge branch 'master' into validator-performance-by-indices * Fix conflict * fixup * Fix tests * Revert workspace file * gofmt * Revert executable permissions on beacon-chain/rpc/beacon/validators.go * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Add SyncChecker to tests * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Update beacon-chain/rpc/beacon/validators_test.go * Update beacon-chain/rpc/beacon/validators_test.go * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-performance-by-indices * Add comment * Merge branch 'master' of https://github.com/prysmaticlabs/prysm into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices * Merge branch 'master' into validator-performance-by-indices |
||
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
|
c000509bdb
|
GetValidatorPerformance return Unavailable when syncing (#5795)
|
||
Ivan Martinez
|
9a1157465e
|
Change non-mutating validator accesses to ReadOnly (#5776)
* Change instances of ValidatorAtIndex to ReadOnly where possible * Use ReadOnly for VerifyExit and Slashings * Move length check to before lock * Improve readonly tests * undo process attester changes * Fix test |
||
terence tsao
|
aea7a8d291
|
Future slot check for state end point (#5755) | ||
Shay Zluf
|
1a27c21d9c
|
Load chain config from file (#5694)
* load chain config from file * revert flag name change * add dependencies to image * Update shared/cmd/flags.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * Update beacon-chain/main.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * added test to load config file * Merge branch 'yaml_chain_config' of github.com:prysmaticlabs/prysm into yaml_chain_config # Conflicts: # beacon-chain/main.go * replace hex with yaml format of fixed byte array * fix test and check if comment * move to node package * gaz * added contract address case * fix key name issue * add tests * gaz * add 1 byte handling * change to fatal * add config printout * revert main changes * revert line removal * fix one byte handling * fix test and one byte handling * remove log * Apply suggestions from code review * change to debug * Update beacon-chain/node/node.go * move helper methods Co-authored-by: Victor Farazdagi <simple.square@gmail.com> 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> |
||
Victor Farazdagi
|
bbde2a6820
|
Assert no side effects occur on test (#5714)
* add reset funcs * init -> TestMain for beacon config params * fixes build file * core/epoch spectests updated * core/blocks spectests updated * fix the rest of spectests * SetupTestConfigCleanup * revert copy() api * rever all cases of copy() * fixes spectests * updates fork_test * config_test update * fixes spectest/config_test * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge branch 'master' into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge branch 'master' into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests * Merge refs/heads/master into assert-no-side-effects-occur-in-tests |
||
Preston Van Loon
|
eb2abbdd8b
|
libfuzz based tests (#5095)
* Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * use opt for fuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * use ubuntu as the default build image * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Move fuzz tests * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * making progress on p2p fuzz * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * use a single stream repeatedly * use a single stream repeatedly * use many streams * fixes * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Add basic test for ssz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge branch 'master' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Use a custom go_library to add libfuzzer * delete old corpus, fix rpc_status_fuzz * move fuzz.bzl * minor fixes * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * add c-shared library (doesnt work) * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * fix build * fixes * Merge refs/heads/master into go-1.14-libfuzz * lint * more lint * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * more lint * allow environment variable * Merge refs/heads/master into go-1.14-libfuzz * Add a fuzzit image with the beacon_states * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * lint * readme * lint * fix lint again i think * gaz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * breakup deps * Merge branch 'go-1.14-libfuzz' of github.com:prysmaticlabs/prysm into go-1.14-libfuzz * don't panic on failure * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * panic if no beacon states to read * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * update rules_foreign_cc * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * remove c_shared target, manually tag tests * Add readme to fuzz package * delete a few comments * delete a few comments * lint * gaz * gaz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz * Merge refs/heads/master into go-1.14-libfuzz |
||
Shay Zluf
|
9ea3f58a5e
|
Verify sig slasher (#5661)
* first cherry pick * second * new endpoint * fork digest by epoch * fork and sig verify * fix test * fix comment * gaz * remove unused param * remove space * moved to shared attestation_utils.go * raul comment * gaz * goimports * fix import cycle * fix test * shorter helper method * add another helper function * fix comment * param fix * gaz * fix error * Update beacon-chain/core/blocks/block_operations.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * update pseudocode * remove teardown Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Victor Farazdagi <simple.square@gmail.com> |
||
Preston Van Loon
|
9be8a456eb
|
Use stateutil.BlockRoot everywhere (#5739)
* Sweeping replace of ssz.HashTreeRoot(block) to stateutil.BlockRoot, minor tweaks to critical path of proposeBlock * imports * Merge branch 'master' into better-block-htr * Add --enable-custom-block-htr to e2e flags * Merge branch 'better-block-htr' of github.com:prysmaticlabs/prysm into better-block-htr |
||
Victor Farazdagi
|
b5c4dc2a75
|
Refactor db teardown to testing.TB.Cleanup (#5725)
* init-sync updates * slasher/db/kv tests * beacon-chain/rpc/beacon tests * update kv_test * beacon-chain/rpc-validator tests updated * slasher/db/kv - remove teardown method * beacon-chain/sync tests updated * beacon-chain/db/kv tests updated * beacon-chain/blockchain tests updated * beacon-chain/state/stategen tests updated * beacon-chain/powchain updates * updates rest of slasher tests * validator/db tests * rest of the tests * minor comments update * gazelle * Merge refs/heads/master into teardowndb-to-cleanup |
||
Victor Farazdagi
|
af5b9222da
|
Re-enable skipped block list paging unit test (#5691)
* unskip on a single shard * Merge branch 'master' into unskip-block-list-test * fixes incorrect test state modification * Merge branch 'master' into unskip-block-list-test * minor formatting * Merge branch 'unskip-block-list-test' of github.com:prysmaticlabs/prysm into unskip-block-list-test * set sharding back to 4 * Merge refs/heads/master into unskip-block-list-test * Merge refs/heads/master into unskip-block-list-test * Merge refs/heads/master into unskip-block-list-test |
||
Ivan Martinez
|
125d022518
|
Rename Precompute Balance vars to be more descriptive (#5706)
* Rename p *Balance and some Balance vars * Rename more * Fix comments * Fix typo * Forgot a rename |
||
Raul Jordan
|
2e33595187
|
Implement GetBeaconState Endpoint (#5668)
* implement get beacon state * gaz * Merge branch 'master' into implement-debug-state * passing tests * enable with featureconfig * struct oder * Update beacon-chain/rpc/beacon/state.go * Merge refs/heads/master into implement-debug-state * lint resolve * Merge branch 'implement-debug-state' of github.com:prysmaticlabs/prysm into implement-debug-state * tested at runtime * fix build * Merge branch 'master' into implement-debug-state * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state * build and fmt * conf * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state * Merge refs/heads/master into implement-debug-state |
||
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> |
||
Nishant Das
|
81a7bc7e05
|
Add back State To ComputeProposerIndex (#5674)
* add back state * fix tests * change method signatures * lint * Merge branch 'master' into addBackState * Merge branch 'master' into addBackState * terence's review * preston's review * add back comment |
||
Victor Farazdagi
|
f84e5ad6ef
|
Fix logged errs (#5645)
* fuzz tests, validators stream, and attestation fixed * hastst * signinig root fuzz test * Merge refs/heads/master into fix-logged-errs * Merge branch 'master' into fix-logged-errs * Merge branch 'fix-logged-errs' of github.com:prysmaticlabs/prysm into fix-logged-errs * add head fetchers to inforstream tests |
||
Victor Farazdagi
|
44b93d9df9
|
Fix tests depending on configuration flag (#5650)
* fixes segfault * Merge branch 'master' into fix-nil-segfaults * upd state * Merge branch 'master' into fix-nil-segfaults * updates shard=1 * Merge refs/heads/master into fix-nil-segfaults * Merge refs/heads/master into fix-nil-segfaults * Merge refs/heads/master into fix-nil-segfaults * fixes tests * Merge branch 'fix-nil-segfaults' of github.com:prysmaticlabs/prysm into fix-nil-segfaults * reset config to nil * add flag assertion to other beacon-chain/rpc files * Merge refs/heads/master into fix-nil-segfaults * fix the rest featureconfig.init calls * Merge branch 'fix-nil-segfaults' of github.com:prysmaticlabs/prysm into fix-nil-segfaults * remove config setting from init * gazelle * reset shard back to 4 |
||
Ivan Martinez
|
8327c9d371
|
Add test for GetValidatorPerformance (#5652)
* Add test for GetValidatorPerformance * Fix unneeded changes * Gaz Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
terence tsao
|
e3e9863d92
|
Add back archival endpoint GetValidatorBalances with fallback (#5620)
|
||
Preston Van Loon
|
8a9c9607a5
|
Update EthereumAPIs to prysmaticlabs/ethereumapis#137 (#5622)
* Update EthereumAPIs to https://github.com/prysmaticlabs/ethereumapis/pull/137 and implement validator index return field |
||
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 |
||
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 |
||
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 |
||
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 |
||
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
|
||
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 |
||
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> |
||
terence tsao
|
62c25eaedb
|
Revert archival deprecations (#5464)
* Revert "Fix `ListValidatorBalances` for v0.11 (#5458)" This reverts commit |
||
terence tsao
|
3763a8ce5d
|
Fix ListValidatorBalances for v0.11 (#5458)
* Fix ListValidatorBalances * Fixed all the tests * Merge refs/heads/master into fix-list-balances * Use requestedEpoch as default * Merge branch 'fix-list-balances' of github.com:prysmaticlabs/prysm into fix-list-balances * Fixed a test |
||
terence tsao
|
5a1a768135
|
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
|
||
terence tsao
|
5eb6485e14
|
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
|
||
terence tsao
|
046a00aa87
|
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
|
497fa6ed50
|
Modify ListBeaconCommittees to use new state service (#5411)
|
||
terence tsao
|
cb045dd0e3
|
Align code base to v0.11 (#5127)
* Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * Merge refs/heads/master into v0.10.1 * add in new patch and workspace * update cloners * Handle rewards overflow (#5122) * Refactoring of initial sync (#5096) * implements blocks queue * refactors updateCounter method * fixes deadlock on stop w/o start * refactors updateSchedulerState * more tests on schduler * parseFetchResponse tests * wraps up tests for blocks queue * eod commit * fixes data race in round robin * revamps fetcher * fixes race conditions + livelocks + deadlocks * less verbose output * fixes data race, by isolating critical sections * minor refactoring: resolves blocking calls * implements init-sync queue * udpate fetch/send buffers in blocks fetcher * blockState enum-like type alias * refactors common code into releaseTicket() * better gc * linter * minor fix to round robin * moves original round robin into its own package * adds enableInitSyncQueue flag * fixes issue with init-sync service selection * Update beacon-chain/sync/initial-sync/round_robin.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * initsyncv1 -> initsyncold * adds span Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com> * Handle rewards overflow * Revert "Refactoring of initial sync (#5096)" This reverts commit |
||
Victor Farazdagi
|
748d513c62
|
proper error checking and type assertions (#5424)
* proper error checking and type assertions |
||
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 |
||
terence tsao
|
a85bf9305d
|
Fixed a bug in ActivatedValidatorIndices (#5400) | ||
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> |
||
terence tsao
|
1a0a399bed
|
Handle genesis case for blocks/states at slot index (#5224)
* Handle highest slot = 0 * TestStore_GenesisState_CanGetHighestBelow * TestStore_GenesisBlock_CanGetHighestAt * Merge refs/heads/master into handle-genesis |
||
Nishant Das
|
cdac3d61ea
|
Custom Block HTR (#5219)
* add custom htr * fix root * fix everything * Apply suggestions from code review * Update beacon-chain/state/stateutil/blocks.go * Update beacon-chain/blockchain/receive_block.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * Update beacon-chain/blockchain/process_block.go Co-Authored-By: terence tsao <terence@prysmaticlabs.com> * terence's review Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |