* Allow overwriting of default bootstrap node
* Update shared/cmd/flags.go
Co-Authored-By: Nishant Das <nish1993@hotmail.com>
* Provide warning at more suitable time
* Tidy up logging in the validator
* Log full public key when validator first initialised
* Use 'validator' rather than 'pubKey' for traces; use full public key
* changes
* active set change
* helpers for active set changes
* include the helpers in archive service
* table driven tests for helpers
* use from archive
* remove item
* properly use the keys in the response
* test for active set changes
* test passing
* test passing no archive
* archive tests completed
* add ethapis latest commit
* begin implementation get validator queue
* include queue
* finish the queue implementation
* consolidated churn limit
* pending active testing
* pending active t est
* tests below churn in response
* pubkey
* below churn test
* only fetches below the churn limit
* exit queue churn clip as needed
* full test for pending active below churn limits
* pending exit test
* pending exit logic
* pending exit below churn test
* all tests done for queue impl
* revert some bad changes
* bug
* make demo default
* make minimal config a flag
* lint
* initialize config at the start
* gaz
* make main method cleaner
* remove interop.go
* fix test
* lint
* gaz
* Update validator/accounts/interop.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* fix docker build
* fix docker build
* changes
* active set change
* helpers for active set changes
* include the helpers in archive service
* table driven tests for helpers
* use from archive
* remove item
* properly use the keys in the response
* test for active set changes
* test passing
* test passing no archive
* archive tests completed
* add ethapis latest commit
* fix test
* first pass, step 1 works
* naive from finalized to head
* delete commented code
* checkpoint progress on tests
* passing test
* abstract code slightly
* failure cases
* chkpt
* mostly working, missing a single block and having timeout
* passing tests
* comments
* comments
* gaz
* clarify comments
* progress on a few new cases
* add back bootnode query tool
* bootstrap from DHT
* chunked responses in round robin
* fix tests and deadlines
* add basic counter, time estimation
* hello -> handshakes
* show peers in use during sync
* just one last test failure
* only request blocks starting in the finalized epoch for step 1
* revert that
* comment out test and add better commentary
* move requestBlocks out to pointer receiver
* mathutil
* Update beacon-chain/sync/initial-sync/round_robin.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* PR feedback
* PR feedback
* Implemented Power of 2 helpers
* Test for power of 2 helpers
* Gazelle
* Fmt
* Implemented MerkleTree
* Test for MerkleTree
* Fixed tests
* Implemented ConcatGeneralizedIndices and GeneralizedIndexLength
* Tests for the above
* Benchmarked copy, it's faster
* Implemented rest of the indices helpers
* Tests for indices helpers
* Delete
* archive participation begin implementation
* validator participation compute
* comments
* compute participation common func
* full test for archiving data
* gazelle
* complete tests
* gaz
* properly retrieve the validators
* revert weird change
* historical validator fetching
* resolves issues with current tests
* adding test for old epoch validators
* tests in
* archive participation begin implementation
* validator participation compute
* comments
* compute participation common func
* full test for archiving data
* gazelle
* complete tests
* gaz
* define archived validator assignment method
* archived assign logic
* need to use compute committee next
* compute archival assignments helper func
* properly compute committee using current shard
* modify the assignments request to take in a query filter item
* more intuitive implementation of list assignments
* utilize the query filter
* complete implementation
* revamp tests
* fixing current tests before adding archive tests
* test now passes using len filtered indices for total size
* include prop index in test
* revert bad change
* use ethapis
* add necessary tests
* comments
* HeadFetcher data race fix
* bazel run //:gazelle -- fix
* add the db teardown to test
* add TestChainService_SaveHead_DataRace test
* split race and norace tests
* change testset name
* test CI with 'spectest' tag instead of 'raceon'
* one more test CI with 'spectest' tag instead of 'raceon'
* bazel run //:gazelle -- fix
* set test tag to 'race_on'
* not clone the state
* Run time bug
* Still failing
* Run time working
* Run time working
* Gazelle
* Fixed all the tests
* Revert config
* Revert back test configs
* Revert config
* Tested run time again, everything is good
* Implemented AttestationPoolNoVerify