Commit Graph

71 Commits

Author SHA1 Message Date
Jim McDonald 0e5fdef3b2
Update changelog and version for 1.0.4. 2021-03-13 12:26:05 +00:00
Jim McDonald 52c58216cb
Do not overwrite validator list with null.
If Vouch contains a list of validators, and on refresh obtains an empty
list, assume the empty response is a result of an error and do not
remove the existing list in favor of it.

It is possible for network issues to result in an empty response when
requesting an update on the list of validators for which Vouch should
operate.  In this situation, where Vouch already has a list of
validators, it retains that list rather than replace it with the empty
results of the request.
2021-03-06 00:24:26 +00:00
Jim McDonald fb2d95e97b
Address crash when proposing block.
If a validator is due to propose a block but cannot obtain the RANDO
reveal it causes Vouch to crash.  This change checks for an empty RANDAO
reveal and exits early from the block proposal process on such a
condition.

Fixes #15.
2021-03-06 00:11:28 +00:00
Jim McDonald ce99b4328d
Changes for v1.0.3 2020-12-28 08:24:50 +00:00
Jim McDonald c8385dd4d9
Update go-eth2-client dependency.
go-eth2-client was missing some defensive checks for server-sent events.
This upgrades to a newer version of go-eth2-client that provides these
checks, giving resiliency in situations where beacon nodes send
malformed or otherwise incorrect messages.

Fixes #10
2020-12-17 22:09:28 +00:00
Jim McDonald ad1495bae6
Fix 'vouch_attestation_process_duration_seconds'.
This metric used to count the number of internal attestation processes
carried out, however a single attestation process can involve multiple
validators if they are attesting in the same slot and committee.  This
fix ensures that the metrics reflect the number of attestations, not the
number of processes.
2020-12-16 14:05:11 +00:00
Jim McDonald 4071dabf9e
Re-implement accountmanager metrics.
This reintroduces prometheus metrics for the account manager module.
The metrics track the validating state of each account, and are found
under the `vouch_accountmanager_accounts_total` metric.  The metrics are
differentiated using the `state` label.
2020-12-16 13:46:00 +00:00
Jim McDonald fda79aa31a
Increment version. 2020-12-15 10:51:10 +00:00
Jim McDonald 3a8098981c
Avoid crash on nil beacon block.
Situation reported where a node returns nil for a beacon block when
scoring attestation data.  Although this should not happen (the provider
told us about the block via the attestation, it should know it) this
patch covers the situation where the returned block is empty or
malformed.

Fixes #9
2020-12-14 09:29:34 +00:00
Jim McDonald 57fcf15be1
Increment version 2020-11-29 16:07:58 +00:00
Jim McDonald 6a28a2ce86
Include source and target epochs when scoring attestation data.
Fixes #8
2020-11-29 10:21:51 +00:00
Jim McDonald b22c451636
Version update 2020-11-27 15:55:57 +00:00
Jim McDonald db61a4e96f
Update release workflow. 2020-11-27 15:34:59 +00:00
Jim McDonald aed5402fbb
Tidy ups 2020-11-27 15:26:22 +00:00
Jim McDonald 68fb49a21b
Add --version flag.
Fixes #2
2020-11-26 20:35:34 +00:00
Jim McDonald a0a6d2ffa8
Add note regarding Lighthouse SSE 2020-11-26 20:32:26 +00:00
Jim McDonald 925e69fb9a
Update dependencies 2020-11-26 20:32:04 +00:00
Jim McDonald e66a4a3613
Tidy-ups for attestation data strategy 2020-11-26 20:31:28 +00:00
Jim McDonald 0b4d840beb
Enable scoring for attestation data 2020-11-26 20:29:34 +00:00
Jim McDonald 5b9f103612
Tweak timings 2020-11-26 02:37:22 +00:00
Jim McDonald fd48090007
Separate accountmanager. 2020-11-25 00:02:13 +00:00
Jim McDonald b53a039da9
Clean up submitter messages. 2020-11-24 22:58:32 +00:00
Jim McDonald b1f2a7427a
Add note about lack of slashing protection in the wallet keymanager. 2020-11-18 10:35:20 +00:00
Jim McDonald 08ea6e8f2c
Implement multisigner for wallet 2020-11-18 10:01:57 +00:00
Jim McDonald 2e05b68684
Bump version 2020-11-17 13:22:32 +00:00
Jim McDonald 581938ef45
Merge branch 'attestation-strategy' 2020-11-17 13:16:25 +00:00
Jim McDonald faa23bfaa8
Tidy-ups 2020-11-17 12:07:24 +00:00
Jim McDonald 4cb1527b87
Merge branch 'multisign' 2020-11-15 07:29:19 +00:00
Jim McDonald 981bdcbfa5
Re-enable prysm aggregation 2020-11-14 23:44:22 +00:00
Jim McDonald ebd1003871
Fix up tests. 2020-11-14 13:15:10 +00:00
Jim McDonald 9087add881
Merge branch 'proposal-slot-scaling' 2020-11-14 12:26:53 +00:00
Jim McDonald b8d26c7470
Merge branch 'eth2client' 2020-11-14 08:38:12 +00:00
Jim McDonald 4e5fbf18ba
Initial work on support of standard API 2020-11-14 08:36:49 +00:00
Jim McDonald a14870fa3f
Add calculations for slot scaling 2020-10-29 08:18:32 +00:00
Jim McDonald 13f5d5eeaf
Set default process concurrency 2020-10-28 19:36:17 +00:00
Jim McDonald 64a6e671c0
Add framework for best attestation 2020-10-28 19:29:37 +00:00
Jim McDonald 4484ea0b5e
Fix race condition in first strategy. 2020-10-28 16:48:49 +00:00
Jim McDonald b08baf16d4
Add 'first' attestation data strategy 2020-10-28 16:44:42 +00:00
Jim McDonald 796cb6348f
Initial move to go-eth2-client 2020-10-28 15:09:51 +00:00
Jim McDonald 27d079f584
Use multisign for attestations 2020-10-26 14:31:24 +00:00
Jim McDonald c21866491a
Tidy up trace logging for scheduler. 2020-10-21 19:16:11 +01:00
Jim McDonald fb95aadd11
Bump version 2020-10-20 07:57:36 +01:00
Jim McDonald c6adf2c7e5
Exit attest/aggregate routine on attestation failure. 2020-10-20 07:22:41 +01:00
Jim McDonald fd5540086f
Error appropriately when misconfigured. 2020-10-17 21:50:50 +01:00
Jim McDonald cddc1419ca
Avoid crash if accountmanager not configured. 2020-10-13 17:25:29 +01:00
Jim McDonald 6845a0ac08
Avoid crash if beacon committee subscription information is not present.
Fixes #1
2020-10-13 12:40:18 +01:00
Jim McDonald 469e6a02a3
Add measurement of validator status fetching operations 2020-10-09 16:07:42 +01:00
Jim McDonald 7196a90d29
Increase block receipt delay metric to record up to 12s 2020-10-06 09:14:44 +01:00
Jim McDonald a3086234a0
Add ListJobs for scheduler. 2020-10-04 12:58:46 +01:00
Jim McDonald eb5c919344
Ensure duplicated attestations are only counted as 1 in block proposal. 2020-10-04 12:28:44 +01:00