lighthouse/beacon_node/beacon_chain/src
Paul Hauner f6b5b1a8be Use ? debug formatting for block roots in beacon_chain.rs (#2890)
## Issue Addressed

NA

## Proposed Changes

Ensures full roots are printed, rather than shortened versions like `0x935b…d376`.

For example, it would be nice if we could do API queries based upon the roots shown in the `Beacon chain re-org` event:

```
Jan 05 12:36:52.224 WARN Beacon chain re-org                     reorg_distance: 2, new_slot: 2073184, new_head: 0x8a97…2dec, new_head_parent: 0xa985…7688, previous_slot: 2073183, previous_head: 0x935b…d376, service: beacon
Jan 05 13:35:05.832 WARN Beacon chain re-org                     reorg_distance: 1, new_slot: 2073475, new_head: 0x9207…c6b9, new_head_parent: 0xb2ce…839b, previous_slot: 2073474, previous_head: 0x8066…92f7, service: beacon
```

## Additional Info

We should eventually fix this project-wide, however this is a short-term patch.
2022-01-06 05:16:50 +00:00
..
attestation_verification Batch BLS verification for attestations (#2399) 2021-09-22 08:49:41 +00:00
schema_change Add configurable block replayer (#2863) 2021-12-21 06:30:52 +00:00
attestation_verification.rs Add fork choice EF tests (#2737) 2021-11-08 07:29:04 +00:00
attester_cache.rs Add AttesterCache for attestation production (#2478) 2021-07-29 04:38:26 +00:00
beacon_chain.rs Use ? debug formatting for block roots in beacon_chain.rs (#2890) 2022-01-06 05:16:50 +00:00
beacon_fork_choice_store.rs Optimise balances cache in case of skipped slots (#2849) 2021-12-13 23:35:57 +00:00
beacon_proposer_cache.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
beacon_snapshot.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
block_times_cache.rs Add BlockTimesCache to allow additional block delay metrics (#2546) 2021-09-30 04:31:41 +00:00
block_verification.rs Add configurable block replayer (#2863) 2021-12-21 06:30:52 +00:00
builder.rs v1.1.6 Fork Choice changes (#2822) 2021-12-13 20:43:22 +00:00
chain_config.rs Increase network limits (#2796) 2021-12-02 14:29:20 +11:00
errors.rs Add configurable block replayer (#2863) 2021-12-21 06:30:52 +00:00
eth1_chain.rs Removed PowBlock struct that never got used (#2813) 2021-12-02 14:29:20 +11:00
events.rs Add BlockTimesCache to allow additional block delay metrics (#2546) 2021-09-30 04:31:41 +00:00
execution_payload.rs Update to superstruct v0.4.1 (#2886) 2022-01-06 03:14:58 +00:00
fork_revert.rs Add configurable block replayer (#2863) 2021-12-21 06:30:52 +00:00
head_tracker.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
historical_blocks.rs Reduce lock contention in backfill sync (#2716) 2021-10-15 03:28:03 +00:00
lib.rs Kintsugi on_merge_block tests (#2811) 2021-12-02 14:29:20 +11:00
metrics.rs Optimise snapshot cache for late blocks (#2832) 2021-12-06 03:41:31 +00:00
migrate.rs Add configurable block replayer (#2863) 2021-12-21 06:30:52 +00:00
naive_aggregation_pool.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
observed_aggregates.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
observed_attesters.rs Ensure doppelganger detects attestations in blocks (#2495) 2021-08-09 02:43:03 +00:00
observed_block_producers.rs Doppelganger detection (#2230) 2021-07-31 03:50:52 +00:00
observed_operations.rs Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
persisted_beacon_chain.rs Fix head tracker concurrency bugs (#1771) 2020-10-19 05:58:39 +00:00
persisted_fork_choice.rs Optimise balances cache in case of skipped slots (#2849) 2021-12-13 23:35:57 +00:00
schema_change.rs Optimise balances cache in case of skipped slots (#2849) 2021-12-13 23:35:57 +00:00
shuffling_cache.rs Advance state to next slot after importing block (#2174) 2021-02-15 07:17:52 +00:00
snapshot_cache.rs Optimise snapshot cache for late blocks (#2832) 2021-12-06 03:41:31 +00:00
state_advance_timer.rs 1.57.0 lints (#2850) 2021-12-03 04:44:30 +00:00
sync_committee_verification.rs Validator monitor support for sync committees (#2476) 2021-08-31 23:31:36 +00:00
test_utils.rs Add configurable block replayer (#2863) 2021-12-21 06:30:52 +00:00
timeout_rw_lock.rs Add flag to disable lock timeouts (#2714) 2021-10-19 00:30:40 +00:00
validator_monitor.rs Reduce validator monitor logging verbosity (#2606) 2021-10-12 05:06:48 +00:00
validator_pubkey_cache.rs 1.57.0 lints (#2850) 2021-12-03 04:44:30 +00:00