Raul Jordan
5aac06f04e
Move EthereumAPIs Into Prysm ( #8968 )
...
* begin move
* use same import path
* imports
* regen protos
* regen
* no rename
* generate ssz
* gaz
* fmt
* edit build file
* imports
* modify
* remove generated files
* remove protos
* edit imports in prysm
* beacon chain all builds
* edit script
* add generated pbs
* add replace rules
* license for ethereumapis protos
* change visibility
* fmt
* update build files to gaz ignore
* use proper form
* edit imports
* wrap block
* revert scripts
* revert go mod
2021-06-02 18:49:52 -05:00
terence tsao
276d03553c
Block interface clean up ( #8947 )
2021-05-26 11:33:46 -07:00
Nishant Das
caf9bdbc6f
Use Block Interface Across Prysm ( #8918 )
...
* commit initial work
* checkpoint current work
* gaz
* checkpoint
* req/resp changes
* initial-sync
* finally works
* fix error
* fix bugs
* fix issue
* fix issues
* fix refs
* tests
* more text fixes
* more text fixes
* more text fixes
* fix tests
* fix tests
* tests
* finally fix builds
* finally
* comments
* fix fuzz
* share common library
* fix
* fix
* add in more defensive nil checks
* add in more defensive nil checks
* imports
* Apply suggestions from code review
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Apply suggestions from code review
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update shared/interfaces/block_interface.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update shared/interfaces/block_wrapper.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update shared/interfaces/block_interface.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* imports
* fix bad changes
* fix
* terence's review
* terence's review
* fmt
* Update beacon-chain/rpc/beacon/blocks.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* fix tests
* fix
* fix all tests
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-05-26 16:19:54 +00:00
terence tsao
ce725ceec3
Move state pkg to stateV0 pkg ( #8620 )
...
* Move state pkg to stateV0 pkg
* Build.bazel
* Remove unused RootsArrayHashTreeRoot
* Revert "Remove unused RootsArrayHashTreeRoot"
This reverts commit bf0bda30d1a8eb7a071f6e3ce9ee85041b45aca6.
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-03-17 19:49:49 +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
a019a0db4c
Combines func params of the same type ( #7500 )
...
* combines func params
* update leftovers
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-12 15:43:19 +00:00
rkapka
e492343ffd
Code quality issues - Remove unused code ( #6864 )
...
* remove unused code
* gofmt
* remove junk file
* bring back metrics-related functions
* bring back keymanager's code
2020-08-05 13:59:46 +02:00
Preston Van Loon
fb8be4d555
Refactor BLS ( #6395 )
...
* refactor BLS to expose an interface rather than a single implementation
* Split up tests, gofmt, goimports, docs
* godoc for signature.Copy()
* more godocs
* revert gomod / deps changes
* rm newline
* revert proto changes
* rename bls12 to herumi for clarity
2020-06-25 00:47:51 +00:00
Victor Farazdagi
5c90038007
Adds aggregation/attestations package ( #6343 )
...
* adds feature flag
* aggregations/attestation package
* better tests
* bazel visibility issues
* removes redundant code
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-06-22 23:00:38 -05:00