Raul Jordan
a860648960
Reduce Usage of Eth2 Terminology in Prysm ( #9104 )
...
* remove all mentions
* more changes
* folder by folder
Co-authored-by: terence tsao <terence@prysmaticlabs.com >
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-06-26 19:00:33 +00:00
Preston Van Loon
6971245e05
Revert "Invert attest-timely flag" ( #9044 )
...
This reverts commit 5fe98ab260 .
2021-06-15 20:48:47 +00:00
terence tsao
5fe98ab260
Invert attest-timely flag ( #8827 )
2021-05-25 07:22:12 -07:00
terence tsao
1dde588932
Revert "Invert next-slot-state-cache flag ( #8830 )" ( #8855 )
...
This reverts commit 64bd9dba9b .
2021-05-03 08:04:45 +08:00
Nishant Das
54d4d39ea1
Revert "Simplify Effective Balance Calculation ( #8743 )" ( #8844 )
...
* Revert "Simplify Effective Balance Calculation (#8743 )"
This reverts commit 45d2df1af7 .
* add flag
2021-05-01 13:07:38 -05:00
terence tsao
64bd9dba9b
Invert next-slot-state-cache flag ( #8830 )
...
* Invert `next-slot-state-cache`
* Go fmt
Co-authored-by: Nishant Das <nishdas93@gmail.com >
2021-04-30 12:47:44 +00:00
terence tsao
7b8e48d80e
Invert proposer-atts-selection-using-max-cover flag ( #8828 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com >
2021-04-28 13:44:13 +00:00
Nishant Das
f0e2f561d5
Make BLST The Permanent Default ( #8710 )
...
* remove herumi
* gaz
* deprecate flag
* remove source builds of herumi
* remove
* Revert "remove source builds of herumi"
This reverts commit ac7dd133ed .
* disable blst
* remove herumi hard requirement from fuzz
* restrict viz, ensure all deps removed from fuzz
* remove source builds
* add back opts
* add back herumi initialization
* Revert "add back opts"
This reverts commit ad9b409b8a .
* Revert "remove source builds"
This reverts commit b78ee30dba .
* Revert "restrict viz, ensure all deps removed from fuzz"
This reverts commit 65d951da93 .
* Revert "remove herumi hard requirement from fuzz"
This reverts commit ad92191d81 .
* redundant
* add lock for rand generation
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
2021-04-07 10:18:19 -05:00
Raul Jordan
d2b1115f46
Feature Flag for Enabling Slashing Protection Pruning ( #8632 )
2021-03-19 17:54:47 +00:00
terence tsao
a921455836
Remove no bootnode error for Prater ( #8628 )
2021-03-18 19:38:04 +00:00
Preston Van Loon
034a28710e
Add Prater config ( #8613 )
...
* Add Prater config
* Register flag everywhere
* gofmt
* Apply suggestions from code review
Co-authored-by: terence tsao <terence@prysmaticlabs.com >
* Update shared/params/testnet_prater_config.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com >
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
Co-authored-by: terence tsao <terence@prysmaticlabs.com >
2021-03-17 14:14:07 +00:00
Victor Farazdagi
f2125e5f64
Proposer attestation selection using max-cover ( #8571 )
...
* Proposer attestation selection using max-cover
* better alisgn struct field
* more tests
* cleanup
* simplify expressions
* add benchmarks
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-03-08 18:46:24 +00:00
terence tsao
2c36e6534c
Better feature flag logging ( #8457 )
...
* Remove unused core functions
* First take
* Apply for validator
* Use constant
* Use constant
2021-02-16 19:57:42 +00:00
Nishant Das
fe27ca359c
Deprecate Uneeded Flags ( #8455 )
...
* remove disable pruning flag
* deprecate disable majority vote flag
* remove eth1dataVoteCache
* remove outdated methods
* gaz
2021-02-16 15:27:37 +00:00
terence tsao
9afc9d92d9
Feature flag: update head timely ( #8412 )
...
* Feature flag: update head timely
* Move finalized imply justified up
* Fix resolve error
* Use invert feature flag
* Make diff easier to review
* Line
* Typo
* Fix condition
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
2021-02-09 15:35:14 +00:00
Victor Farazdagi
c97ea766ca
Attestation aggregation: optimizations and benchmarks ( #7938 )
...
* profitablity tests
* cleanup benchmark
* fix deduplication function
* dedup: move method to atts list
* proper substring handling
* refactor validate method
* update benchmarks
* prepare proposer test
* remove redundant code
* reset test
* remove dedup from maxcover - moved to proposer
* remove redundant test
* remove lower level check for bit length
* optimize candidate validation on att aggregation
* restore test
* fix test
* fix test
* remove dedup functionality
* add benchmark
* optimize list usage
* Attestation aggregration: remove redundant dedup routine
* fix func call
* experiment with bitset based cover
* add benchmark
* samplem implementation using Bilist64
* add tests
* remove redundant code
* remove tmp comments
* unskip test
* update benchmarks
* gazelle
* process err
* optimized max-cover
* Max-cover: optimized implementation based on Bitlist64
* gazelle
* re-arrange overlaps check
* minor comments
* add Bitlists64WithMultipleBitSet
* update benchmarks
* gazelle
* add TestAggregateAttestations_rearrangeProcessedAttestations
* minor updates to rearrange method
* add link to design doc
* remove redundant methods
* simplify test
* add TestAggregateAttestations_aggregateAttestations
* fix issues
* fix assignment
* use ToBitlist(), ToBitlist64()
* fixes test
* benchmarks
* fix typo
* allow opt_max_cover opt-int flag
* update benchmarks
* reset e2e
* fix test
* enable opt_max_cover in e2e tests
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-02-04 00:58:33 +00:00
Victor Farazdagi
372dc47b64
Deprecate enableSyncBacktracking flag ( #8371 )
...
* Deprecate enableSyncBacktracking flag
* keep deprecated flags
2021-02-01 11:18:24 +00:00
terence tsao
f5f1284cef
Remove unused feature flag config fields ( #8363 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-01-30 15:16:31 +00:00
terence tsao
3aaa98decf
Next slot state caching ( #8357 )
...
* Add and use trailing slot state cache
* Remove comment
* Update comments
* Update comments
* Move it to background
* Warn is more appropiate
* Raul's comment
* Same strategy for proposer
* Own helper
* Minor touchups
* Tests
* Feature flag
* Gaz
2021-01-29 16:52:43 +00:00
terence tsao
35ed01e36c
Add timely attest flag to fix #8185 ( #8235 )
2021-01-08 17:54:46 -08:00
Raul Jordan
f67f8dd6df
Configurable Interval for Debouncing Keystore Reloading in Validator Client ( #8149 )
...
* configurable keystores debounce interval
* use a time duration flag instead
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-01-05 00:52:12 +00:00
Shay Zluf
70da296a3b
Bring back disable slashing broadcast flag ( #8141 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-01-04 19:36:17 +00:00
Raul Jordan
1fbfd52e52
Simpler and Safer Attester Slashing Protection ( #8086 )
...
* att sign validations
* eliminate old cached methods and use a simple approach in the db
* redefined db methods
* db package builds
* add multilock to attest and propose
* gaz
* removed concurrency tests that are no longer relevant
* add cache to db functions for attesting history checks
* passing
* add in feature flag --disable-attesting-history-db-cache
* remove lock
* Revert "remove lock"
This reverts commit b1a65020e4 .
* comment
* gaz
2020-12-11 12:31:35 -06:00
Victor Farazdagi
e1755b6066
Invert enable-sync-backtracking ( #8034 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-12-03 15:43:26 +00:00
Nishant Das
639dcb028c
Fixing Validator Config ( #7940 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-25 20:40:18 +00:00
Raul Jordan
dc897a2007
Optionally Save Wallet Password on Web Onboarding ( #7930 )
...
* persist wallet password to wallet dir if onboarded via web
* add flag
* gaz
* add test
* fmt
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-23 22:11:42 +00:00
Nishant Das
60cdd69b05
Update Gossipsub Parameters ( #7869 )
...
* add param and flag
* change back
2020-11-20 15:36:02 +00:00
Ivan Martinez
5889670cc7
Remove WaitForSynced ( #7835 )
...
* Remove waitforsynced
* Remove WaitForsynced entirely
* Fix bazel
* tidy
2020-11-16 20:48:16 -06:00
Nishant Das
8dcdfea2a8
Make Blst the Default Library ( #7805 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
2020-11-13 15:25:05 +00:00
Preston Van Loon
8d50fa10e6
Remove testnets prior to spec v1.0.0 ( #7802 )
2020-11-13 06:42:33 +00:00
terence tsao
5fdb916b4f
Align to spec v1.0.0 ( #7469 )
...
* Update eth1data params to double
* Update spec tests tags and state field for fssz gen
* Update more spec test sha tags
* Update slashing params
* Update slashing precompute to use config instead of hardcoded 3
* Update slashing test values due to config changes
* Update configs for slashedless test
* Go mod tidy
* Add toledo config (#7743 )
* Update genesis delay to one week (#7782 )
* Add Pyrmont config (#7797 )
* Add Pyrmont config
* Fix config
* Update genesis time to the correct value
* Remove TestExecuteStateTransition_FullBlock
* Add back missing comments
* Update spectests to v1.0.0
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
2020-11-13 01:00:05 +00:00
Victor Farazdagi
51796d77f6
Init-sync: backtracking to alternative forks ( #7564 )
...
* cherry-pick from previous commits
* use finalized checpoint instead of head slot
* add helpers
* add dedicated error for missing blocks
* add backtracking options to fetcher
* TestBlocksFetcher_alternativeSlotBefore regression test
* update peer block provider test
* update injected deps
* update round robing deps
* update fetcher
* patch status and stream handlers
* test template
* gazelle
* revert BestNonFinalized changes
* extract waitForBandwidth method
* extend test
* remove redundant code
* add flag
* update queue
* update thresholds
* upd inequality
* minor cleanup
* check for mode
* add backtracking queue test
* merge from master
* remove redundant test
* correct logging level
* fix tests
* remove test template
* Nishant's suggestion to parametrize magic number
2020-11-06 15:54:20 +00:00
terence tsao
3a06f6e228
Update genesis time and deposit contract ( #7727 )
...
* Update genesis time and deposit contract
* Remove medalla as default config
* Update default case to use mainnet
* Update contract deployment block
* Update contract deployment block in flag
* Update shared/featureconfig/config.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
2020-11-04 17:36:31 +00:00
terence tsao
ec77196197
Remove checkpoint info cache and usages ( #7642 )
...
* Remove checkpoint info cache and usages
* Gazelle
2020-10-26 14:09:19 -05:00
Raul Jordan
a468a12ef0
Allow Specifying Output Directory When Creating DB Backups ( #7630 )
...
* move flags
* backup db output dir flag
* fix build
* fix up broken backup test
* Radek's feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-26 18:20:54 +00:00
Radosław Kapka
b0dff891fc
Invert enable-eth1data-majority-vote ( #7362 )
...
* make flag opt-out
* fix flags
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-26 17:36:47 +00:00
Preston Van Loon
ecc25d2b8c
Release and remove feature flag --enable-att-broadcast-discovery-attempts ( #7610 )
...
* Release and remove feature flag --enable-att-broadcast-discovery-attempts
* fix test
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-23 01:53:50 +00:00
Victor Farazdagi
483f7f8177
Fix InitWithReset - rely on previously updated flags ( #7598 )
...
* Fix initWithReset to use previously set configuration
* further cleanup
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-22 05:20:56 +00:00
Radosław Kapka
88b2a4c905
Invert enable-pruning-deposit-proofs ( #7565 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-19 18:22:44 +00:00
Nishant Das
ec9c6f30bf
Remove Local Protection Flag ( #7543 )
2020-10-15 14:52:45 +00:00
terence tsao
7076a1ec4a
More feature flag deletions ( #7533 )
...
* Delete disable state lock and init sync verbose flags
* Delete disable slashing broadcast
* Remove disable wait for sync, noise, eth1 cache, static subnet
* Remove enable broadcast recovery attemp and make it as default
* Remove disable head update on per attestation
* Revert disable att braodcast discovery attempt
* gazelle
* Fixed an anti pattern
* Add enableAttBroadcastDiscoveryAttempts back
* Add back WaitForSync
* Remove extra lines
* Use DisableDynamicCommitteeSubnets path per @prestonvanloon feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-14 23:28:49 +00:00
Raul Jordan
a840fa563d
Remove Accounts-V1 ( #7532 )
...
* remove accounts-v1
* get all tests to not panic
* all client tests passing
* fix node test
* eliminate old flags
* tidy up
2020-10-14 22:20:20 +00:00
terence tsao
e5ed2cd141
Remove feature flags within the scope of pkg ( #7511 )
...
* Remove feature flags within the scope of pkg
* Remove DisableForkChoice
* Remove e2e usages
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-14 18:34:49 +00:00
terence tsao
8f04c555fc
More feature flags removal ( #7526 )
...
* Remove disable domain cache
* Remove don't verify att sig flag
* Remove batch verify and attester copies
* Remove batch verify usage
* Update tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-14 16:18:40 +00:00
terence tsao
7de161e917
Remove disable ssz cache feature flag ( #7513 )
...
* Remove ssz cache flag and usages
* Fix TestBeaconState_ProtoBeaconStateCompatibility
* gazelle
* Add cache flag back for tests
* Revert previous changes
* Revert previous changes
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-14 03:13:59 +00:00
terence tsao
5cd6f65a2c
Remove skip BLS verify flag ( #7516 )
...
* Remove skip BLS verify flag
* Update tests to use correct values
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-14 00:53:17 +00:00
terence tsao
aaabec5cb7
Remove current deprecated flags ( #7512 )
...
* Remove deprecated flags
* Remove usages in config
* Gazelle
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-13 06:38:41 +00:00
terence tsao
e9c23673c5
Remove inital sync don't verify att sig flag ( #7517 )
2020-10-13 06:08:21 +00:00
Radosław Kapka
06d16a24b9
Reduce deposit memory ( #7478 )
...
* remove deposit proof and pending deposits
* wip
* wip
* wip
* clean up logs/comments
* function for pruning deposits and feature flag
* remove log
* add flag to beacon flags
* addressed PR feedback from terence
* add test assertions for errors
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-12 18:10:49 +00:00
bidlocode
7c8492e83f
Add medalla flag ( #7399 )
...
* add --medalla flag for uniformity
* add enforcing testnet flag
* fix
* fix comments
* fix sufficient err msg
* fix shared method
* fix
* fix name
* fix name
* add test
* fix e2e
* fix gofmt
* fix test
* add warning
* fix warning
* fix warning test
* fix
* fix
* fix
* fix
* fix gofmt
* fix refactor to func
* add func description
* fix exported
* fix
* fix
* fix
Co-authored-by: Victor Farazdagi <simple.square@gmail.com >
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
2020-10-07 23:04:19 +00:00