Preston Van Loon
f12fdfda0f
Complain about improperly sized tests ( #2873 )
2019-06-30 09:00:22 -07:00
Preston Van Loon
55bedd0745
Move go-ssz to external repo under MIT license ( #2722 )
2019-05-29 18:04:25 -07:00
shayzluf
6c1740eefc
Add Caching to Tree Hashing Algorithm ( #1929 )
...
* added todo to hash file in ssz
* params and copy of block cache
* start hash cache
* Hash cache implementation
* fixed some comments
* fixed promatheus duplicate counter name
* removed TODO
* change to use special expiration cache
* function name fixes junk object generator
* naming changes
* gazzle fix
* added pruning last read data test
* fixed gometallinter errors
* fix benchmarks and no int64 not serializable
* move struct from test
* add feature flag
* fix merge issues
* add featureflag to beacon and validator
* featureflag init for tests
* added feature flag to all ssz dependent tests
* remove setter func
* replace k8s tweaked expiration cache to https://github.com/karlseguin/ccache
* remove else
* change request by preston
* added init featureflags to genesis_test
* Update shared/ssz/hash_cache.go
add dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/ssz/hash_cache.go
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/ssz/hash_cache.go
remove extra space
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/params/config.go
add dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/featureconfig/config.go
remove dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/featureconfig/config.go
remove dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* remove powchain from prometheus hash cache name
* fixes fron change requests
* fix change requests
* remove faulty merge test
* gazelle fix
* fix fmt.sprintf
* remove debug binary
* fix gazelle
2019-04-24 13:39:02 +08:00
Raul Jordan
51d4965388
Enable Committee Cache By Default ( #2323 )
2019-04-22 06:37:42 -07:00
terence tsao
b6bd8ba63d
Committee Cache for State Transition ( #2228 )
...
* starting to get feedback
* better name
* export the necessary variables
* finished implementation in AttestationParticipants
* refactor deopendency issue
* gaz and fixed cache test
* fixed all the tests and lint
* clean up part 1
* lint
* fixed test
* fixed visibility
* cache tests for AttestationParticipants
2019-04-11 14:34:23 -05:00
Raul Jordan
249ec8751b
Revert "Implement Cache Committee for RPC Server ( #2151 )" ( #2227 )
2019-04-11 07:50:01 +10:00
terence tsao
c2deace3f4
Implement Cache Committee for RPC Server ( #2151 )
...
* add committees cache
* Hook committee cache to rpc service
* fixed TestCommitteeAssignment_OK
* comments for ValidatorAssignment
* added tests for committees cache
* more updates to committee_cache_test.go
* new tests in validator_Server_test for cached/uncached scenearios
* removed ????
* gaz
* fmt
* added feature flags
* fmt
* remove hello
* uncomment
* lint
* Update beacon-chain/rpc/validator_server.go
Co-Authored-By: terenc3t <terence@prysmaticlabs.com>
* preseton's feedback
* better err handling
* fixed tests
2019-04-10 03:36:49 -04:00
Raul Jordan
7a83acf46d
Improve Validator Logging and Default Flags ( #2013 )
...
* improve validator logging significantly
* warn validator not yet assigned to epoch
* build added
* report validator logs
* validator performance logging
* all logging improvements
* validator attest better logs
* improved attester logging
* average balances
* dont hash useless hashes
* Update validator/client/validator_propose.go
Co-Authored-By: rauljordan <raul@prysmaticlabs.com>
* address some comments
* standardize with block root hash32, renamings
* gazelle
* builds
* improve average eth balance
* eth net gains/losses
* fix tests
* spacing
* goimports
* avg balance
* update pbs
* addressed preston comments
* imports
* gazelle
2019-03-18 09:45:28 -06:00
Raul Jordan
19abe81472
Implement Randao Reveal Signing in Proposer Client ( #1650 )
...
* finish the BLS API wrapper
* all tests passing
* unexported comment
* gofmt tests for bls
* block processing test into own package to avoid cycle
* randao tests pass
* blocks test passing
* use common deposit generator
* helper
* resolved import cycle
* setup initial
* builds
* almost done with blockchain tests
* fix blockchain tests
* getting through with chaintests
* revert client change
* lint
* sync master conflict gazelle
* randao test fixes
* randao proposer impl
* tests pass
2019-02-20 12:58:34 -06:00
Raul Jordan
ab511cb022
Move Deposit Encoding to Helpers Package ( #1644 )
...
* move deposits
* finish moving deposit helpers
2019-02-19 12:05:34 -06:00
terence tsao
f8d8865020
Moved Rewards/Penalties Helpers to Helper Packages ( #1583 )
2019-02-13 17:33:45 +00:00
terence tsao
2441266898
Aligning ETH2.0 spec - Crosslink Records ( #1507 )
...
* updated proto state fields to unlock alignment
* moved AttestationParticipants to rightful location
* crosslink committees to use epoch
2019-02-06 15:00:50 +01:00
terence tsao
a4b5666059
Aligning ETH2.0 spec - Update Fork and Domain Helpers ( #1501 )
...
* updated proto state fields to unlock alignment
* updated domain and fork helpers
* fixed comments
* fixed comments
2019-02-05 23:34:22 -06:00
terence tsao
506db55be5
Aligning ETH2.0 spec - Make Epoch First Citizen (Shuffling and GetCrosslinkAtSlot) ( #1488 )
2019-02-05 19:52:14 +01:00
terence tsao
720c80d8ee
Aligning ETH2.0 spec - Make Epoch First Citizen (Package: Committee) ( #1477 )
...
* able to bazel build beacon chain.. yay
* fixed package validator tests
* fixed a few more package tests (epoch, blockops, forkchoice)
* fixed all the tests! and lint. Woohoo
* moving committee helpers to own package
* more fixes at epoch processing
* fixed rewards and penalties tests
* fixed rest of the tests. yay
2019-02-04 15:27:28 -06:00
terence tsao
21ac564631
Aligning ETH2.0 spec - Make Epoch First Citizen (Package: Validators) ( #1460 )
2019-02-04 21:34:33 +01:00
terence tsao
3acffd878c
Aligning ETH2.0 spec - RANDAO helpers ( #1454 )
2019-02-01 22:22:52 +01:00
terence tsao
cdf50e2fa2
Aligning ETH2.0 Spec - Implemented Slot & Epoch Helpers ( #1447 )
...
* starting to use SlotToEpoch...
* updated exisiting functions...
* fixed epoch tests
* fixed rest of the tests
* tests for newly added helper functions
* fixed visiblity
* added PrevEpoch and NextEpoch helpers
* lint
* removed file from other commit
2019-02-02 00:52:35 +08:00