terence tsao
921d0a6e7e
Process justification with precompute ( #3792 )
2019-10-17 02:24:13 -07:00
Preston Van Loon
6bf14dedcd
Better aggregated attestations pool ( #3761 )
...
* WIP of aggregated signatures in DB
* new lines at end
* taking a nap on the plane now
* fix tests
* remove duplication of attestations. so much for that airplane nap lol
* benchmark before flight lands
* gaz
* manual gaz
* fully contained checks
* quick improvement before landing
* new bitlist with fixes
* doesn't need real signatures
* it works, mostly
* print shard too
* some refactoring
* Revert "some refactoring"
This reverts commit 377ce7fbfb02321c20522da2eb27208a20a67669.
* Revert "Revert "some refactoring""
This reverts commit b46a458898acd214da44fc20dfae920d2725b6e8.
These changes are ok, just need to update the expected values
* fix tests
* lint
* lint
* upstream changes
* fix tests
* what
* resolve TODOs
* gofmt
* revert unrelated pb
* remove debug statement
2019-10-16 23:46:07 -07:00
terence tsao
2d863a1e63
Methods to precompute process_epoch records ( #3788 )
2019-10-16 17:48:26 -07:00
terence tsao
a62ac97a35
Type for process epoch optimization ( #3783 )
2019-10-16 11:26:02 -07:00
Preston Van Loon
86a8ec035c
Aggregation helper improvements ( #3789 )
...
* aggregation helper
* lint
2019-10-16 11:11:58 -07:00
Nishant Das
00a5a25323
Fix Round Robin Test ( #3775 )
...
* fix round robin test
* add comment
2019-10-15 14:06:44 +08:00
Preston Van Loon
9e6b4d1f29
some fixes for bazel v1 ( #3754 )
2019-10-12 16:55:56 +09:00
Preston Van Loon
d4001a8b29
Annotate errors / spans in block processing queue ( #3751 )
...
* annotation error in span
* added more annotations and spans to process pending blocks
* use diff
* workspace dep
2019-10-10 17:44:24 +09:00
Nishant Das
964c54f911
Continue Writing to The Stream Despite Failures ( #3743 )
...
* don't fail if block doesn't exist
* fix nogo
2019-10-09 14:57:43 +08:00
terence tsao
9bf55e53e7
Add context and tracing to attestation pool ( #3737 )
...
* Test case for overlapping aggregation bits
* Add ctx and tracing for attestation pool and beyond
* No nil
* Use real ctx
* Use real ctx
* Fix test
* Fix test
* Fix test
* Fix test
* Fixed imports
2019-10-09 06:42:17 +08:00
Jim McDonald
1c4ea5c471
Additional log information for invalid deposits ( #3740 )
...
* Additional log information for invalid deposits
* Update field names
2019-10-08 18:28:20 +08:00
Raul Jordan
1a94ef12b9
Ensure Blocks Are Not Duplicated When Saved to DB ( #3739 )
...
* dedup
* tests pass when using the fallback
2019-10-08 13:47:48 +09:00
terence tsao
46ecbdc997
Tests for process att with overlapping bits ( #3734 )
2019-10-08 10:52:07 +09:00
Preston Van Loon
4e22f52ab3
Testnet restart and hotfixes ( #3736 )
...
* hotfix for round robin, hotfix for grpc recovery
* gofmt
* break
* wrong subtraction
* lint
* testnet fork version update
* ignore relay / DHT protocol not supported error
2019-10-08 07:59:08 +08:00
Preston Van Loon
23764c4640
Abstract verifySlot to helper package ( #3731 )
...
* Abstract verifySlot to helper package
* blocks -> slots
* fix test
2019-10-07 16:15:50 +09:00
terence tsao
750bc83369
Clean up feature flag namings ( #3715 )
2019-10-07 14:11:49 +09:00
Ivan Martinez
14d9a83cda
Add Block Generation Util to testutil package ( #3674 ) ( #3709 )
2019-10-04 16:07:46 -07:00
Nishant Das
91cb081b7e
fix log ( #3713 )
2019-10-04 14:54:21 -07:00
Nishant Das
aa819bf5ba
Change MultiAddr Conversion Error to Debug ( #3702 )
...
* change to debug
* check if IP is nil
2019-10-04 16:05:52 +08:00
terence tsao
273871940c
Test code in different packages ( #3710 )
...
* Moved a few packagesXXX to test_XXX
* Gaz
2019-10-04 15:41:09 +08:00
Preston Van Loon
20e97bc6c3
remove fluentd timestamp ( #3708 )
2019-10-03 20:56:10 -07:00
Nishant Das
fddb51fc45
Support Provided Host Addresses ( #3707 )
...
* support provided host addresses
* remove log
2019-10-04 11:22:17 +08:00
Nishant Das
50b1d209ab
Resubscribe Headers from ETH 1 Chain ( #3706 )
...
* resubscribe headers
* Update beacon-chain/powchain/service.go
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
2019-10-04 10:48:14 +08:00
terence tsao
fb0e504856
Added cov for untested file at chain_info ( #3705 )
2019-10-03 15:26:24 -07:00
Preston Van Loon
58dbdfb6f5
Remove attestation that fails to verify from queue ( #3704 )
2019-10-03 13:57:18 -07:00
Preston Van Loon
a6f6bb12fa
Add message events to spans for pubsub ( #3703 )
2019-10-03 09:33:16 -07:00
Nishant Das
6d2ce49c06
Send Status For Already Connected Peers ( #3698 )
...
* do not reject if peer is already in status map
* add space
* remove space
2019-10-03 06:53:57 -07:00
Preston Van Loon
7a04ff6368
Add database API for creating backups ( #3694 )
...
* Save db backup
* Fix DB backup method
* Add backup db webhook
* gaz
* if err != nil
* more verbose filename
* Don't obliterate everything :)
2019-10-03 17:29:49 +08:00
Jim McDonald
f046c77499
Replace junk test data with real values ( #3689 )
2019-10-02 22:01:03 -07:00
Preston Van Loon
f39f4336a0
Add log when blocks by range request fails ( #3695 )
2019-10-03 10:52:00 +08:00
Preston Van Loon
33b746e025
ask for blocks from peers in parallel ( #3675 )
2019-10-02 15:42:26 -05:00
Nishant Das
4daf62fc28
Fix Validator Activation ( #3684 )
2019-10-02 13:26:11 -07:00
Ivan Martinez
8bab55d88e
Add Block Generation Util to testutil package ( #3674 )
...
* Create block generation util in testutil
* Gazelle
* Fix deps
* Fix imports
* Change tests to use config and fix integer division
* Remove logs
* Fix build
* Add test to ensure finalization occurs
* Add check for finalization
* Add comment for incrementing the state
* Fix test
* Fix tes
* Fix testutil us
* Fix tests
* Change var name
* Add regression test for bug with large validator count
* Fix bazel test
2019-10-02 08:15:40 -07:00
Jim McDonald
323ee8dfac
SetupInitialDeposits() now returns deposit data roots ( #3683 )
2019-10-02 10:50:34 +08:00
Raul Jordan
2d9550e55c
small fix ( #3682 )
2019-10-01 14:00:24 -07:00
Raul Jordan
d9c0e65cef
Improve Beacon Node Logging UX ( #3600 )
...
* info logs beacon node improvements
* prom test fixes
* info logging changes
* wrapped up node info logging
* changed to debug level
* warn logs taken care of
* Terence suggestion
* warn spacing
* better logging in initial sync
* debug level standardized
* complete debug standardization
* participation at epoch end
* fix archive tests
* even more test fixes
* prom test
* ops test
* powtest
* rpc sync test
* rem part
* log formatting
2019-10-01 15:05:17 -05:00
Preston Van Loon
f78d6e66b3
only enable libp2p logs when trace level logging ( #3680 )
2019-10-01 08:38:21 -07:00
Nishant Das
87f0581742
Add Error to Message validation ( #3678 )
...
* change functions
* fixing tests
* fixed all tests
* format
* fix test failures
* change to error
2019-10-01 08:13:04 -07:00
Raul Jordan
3d37a4e038
Optimize Domain Data RPC Request ( #3671 )
...
* gaz
* fix broken build
* fix broken test
* fix broken test
2019-10-01 09:36:36 -05:00
terence tsao
98f3efffea
Add process block with full attestations test ( #3676 )
2019-09-30 20:41:51 -07:00
terence tsao
944d3b16fd
Batch save attestations in state transition ( #3672 )
...
* Batch save attestations
* Update test
* Revert config
2019-09-30 16:11:59 -07:00
Raul Jordan
8d215feb25
Large Prysm Performance Improvements ( #3622 )
...
* skip bls verification with a feature flag at runtime
* gazelle
* more bls mocks
* block roots efficiency
* db block roots now does not show up on the flame graphs
* save validator latest votes batch
* batch save att
* misc improvements to pprof
* import
* include validator index cache
* error if no filter criteria
* resolved comments
* build fix
* lint
* remove delay global
* attestation and block test fixes
* preston suggestions
* fix db tests
* fix missing broken tests
* tests pass
2019-09-30 15:45:53 -05:00
terence tsao
4f1d2868f8
Save head if diff than prev saved head ( #3669 )
...
* Save head if it's diff
* New test for process attestation
* New test for process block
* Fixed loggings
* Fixed all the tests
2019-09-30 15:15:56 -05:00
Preston Van Loon
a2a66e7cb7
More instrumentation in state transitions ( #3667 )
...
* more instrumentation in state transitions
* gofmt gaz
* more
* more
2019-09-30 11:28:41 -07:00
Nishant Das
8ece8fb44b
Expose DB Metrics ( #3663 )
...
* add in bolt metrics
* unregister in db teardown
* unregister in Close()
* fix clear db case
* fix test error
* gaz
* remove unregister
* remove gaz
2019-09-30 10:24:47 -05:00
Preston Van Loon
22ddcb253d
Add metrics for p2p failures ( #3662 )
2019-09-29 22:23:19 -07:00
Preston Van Loon
2dd71c076e
Bulk update renovate ( #3659 )
...
* Update libp2p
* Update com_google_protobuf commit hash to 97b1802
* Update graknlabs_bazel_distribution commit hash to 962f3a7
* Update io_kubernetes_build commit hash to b6d1648
* Update dependency build_bazel_rules_nodejs to v0.38.0
* Update dependency com_github_paulbellamy_ratecounter to v0.2.0
* Update libp2p
* Update dependency com_github_go_stack_stack to v1
* Update dependency com_github_karlseguin_ccache to v2
* Update dependency com_github_rs_cors to v1
* Update dependency io_k8s_client_go to v12
* Update dependency io_k8s_klog to v1
* Update dependency io_k8s_sigs_yaml to v1
* minor build fixes
2019-09-29 21:54:54 -05:00
terence tsao
5675038e5d
Add active indices functionality to cache ( #3629 )
2019-09-29 12:10:11 -07:00
Preston Van Loon
571efc11d1
add error spans, interceptrs ( #3641 )
2019-09-29 11:48:55 -07:00
Preston Van Loon
7fe65bb53b
only report reg sync unhealthy after chainstart ( #3635 )
2019-09-29 14:42:09 +08:00