mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Add info about valid deposit count to logs (#1391)
## Issue Addressed NA ## Proposed Changes Adds a `valid_deposits` field to the logs whilst waiting for genesis: ``` Jul 25 11:02:25.631 INFO Waiting for more deposits valid_deposits: 3085, total_deposits: 3188, min_genesis_active_validators: 16384, service: beacon ``` In this example we can see there are `3188` deposits, but only `3085` have valid signatures. ## Additional Info NA
This commit is contained in:
@@ -146,6 +146,7 @@ impl Eth1GenesisService {
|
||||
"Waiting for more deposits";
|
||||
"min_genesis_active_validators" => spec.min_genesis_active_validator_count,
|
||||
"total_deposits" => eth1_service.deposit_cache_len(),
|
||||
"valid_deposits" => eth1_service.get_raw_valid_signature_count(),
|
||||
);
|
||||
|
||||
delay_for(update_interval).await;
|
||||
|
||||
Reference in New Issue
Block a user