* new chain service usage via interface
* put in the new chain service in propose blk
* deprecate with new service for canonical block roots
* remove old chain serv absolutely in validator server
* full legacy code compatible in beacon server
* fully compliant
* full deprecation at service level
* no more mock chain serv
* fix beacon server tests
* add changes to prop server
* broken build
* --next compatible
* conditional register of chain service
* proper conversion
* nil deref
* deprecate db
* fix build
* begin integrating new db
* gaz
* use more of the new db
* newest implementation uses head state
* remove more deprecated items
* setup validators in state helper
* fix up some tests with the new db
* resolve broken build
* gaz
* begin ensuring tests pass
* optional idx
* list validator balances passing
* default page size passing
* only two failing
* fixed most tests, found edge case
* allow nil return and add proper tests
* pass tests
* fix head block root problem
* working with the new db
* every ethereumapis method now compliant with both dbs
* pass in db into server
* proposer server all compliant
* validator service fully compliant
* fix broken build, tests pass
* spacing
* compute state root and propose block tests passing with new db
* complete proposer server tests revamp
* validator tests halfway through passing with new db
* more validator server tests
* more than halfway there
* so so close
* all validators tests done
* attester server tests fixing
* use new api
* attester server complete
* complete
* deprecate db
* fix build
* begin integrating new db
* gaz
* use more of the new db
* newest implementation uses head state
* remove more deprecated items
* setup validators in state helper
* fix up some tests with the new db
* resolve broken build
* gaz
* begin ensuring tests pass
* optional idx
* list validator balances passing
* default page size passing
* only two failing
* fixed most tests, found edge case
* allow nil return and add proper tests
* pass tests
* fix head block root problem
* working with the new db
* every ethereumapis method now compliant with both dbs
* pass in db into server
* Mark these soon to be deprecated functions as "deprecated"
* Deprecate all
* Marked fork choice reorg test as deprecated
* Marked fork choice reorg test as deprecated
* Gaz
* lint
* clean up deposits in db
* fix all references
* fixed tests
* lint
* bring it into a separate package
* fix lint
* move test
* fix ref
* fix test
* fix test
* fix test
* filter deposits by index and block number
* fix test and inverted logic
* nishant feedback
* -1
* Update beacon-chain/db/deposits_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* raul feedback: explicit variables
* revert everything :(
* a better fix
* fix +1
* fix test
* Implement Attestation Aggregation before inserting into the DB
* Nearly complete test for aggregating signatures
* Finish tests for aggregating signatures
* gazelle
* Rename tests
* add lock and advance state
* only advance if necessary
* Fix most tests
* Fix more of DB keys and changing keys to data hashes
* Fix a lot of tests and inconsistencies
* fix lock
* gaz
* undo local changes
* fix ref
* fix ref
* Fix some tests
* clear cache
* fix sync for attestations
* finally working across multiple nodes
* gen proto
* lint
* properly wrap error
* add few changes
* add process attestation no verify
* gaz
* add reg test
* revert config
* add new method
* fix test
* preston's review
* preston's review
* space
* change to hashTreeRoot
* remove function and run gaz
* fix panic
* remove cache and add fix
* Revert "remove cache and add fix"
This reverts commit 735986a2db6ba49a0b47611c773e9565f9a82061.
* add back fix
* comment out
* refactor and reg test
* some more fixes
* fix tests
* todo
* Revert config changes
* fix test
* Apply suggestions from code review
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update beacon-chain/rpc/attester_server.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* preston's review
* change to hashTreeRoot
* remove function and run gaz
* fix panic
* remove cache and add fix
* Revert "remove cache and add fix"
This reverts commit 735986a2db6ba49a0b47611c773e9565f9a82061.
* add back fix
* comment out
* refactor and reg test
* Update beacon-chain/rpc/proposer_server_test.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Terence PR feedback
* Need to sync latest ethereum API, will do it in master
* Added pagination wrapper
* Implemented ListValidatorAssignments
* Finished tests
* Fixed tests
* Raul's feedback
* Fmt
* Pagination test
* Removed extra loggings
* Remove verifySignatures from ProposerSlashings
* Remove flag from process transfers
* resolve all conflicts
* fix more references to old pbs
* Fix merge conflicts
* Remove verifySignature flag from ProcessBlockHeader
* fx spectest
* Fix test errors
* Fix tests
* Fix tests
* Goimports
* Fix test finally
* Move test helpers to testutil
* Goimports
* Fix imports
* Add tests for new helpers
* Run gazelle
* Fix tests
* calc tree from leaves simpler
* fast generate proof
* align api to be the same
* ensure tests pass
* err condition
* travis
* fix build
* zero hashes work