Jordan Hrycaj 7d41a992e6
Update fork choice import for resuming after stop (#2746)
* Update `ForkedChainRef` constructor

why:
  Initialisation is based on the canonical head which is always zero
  after resuming a stopped `ForkedChainRef` based import.

* Update new-base calculator

why:
  There is some ambiguous code which might not do what the comment
  implies. In short, an unsigned condition like `2u - 3u < 1u => false`
  is coded where the comment suggests that `2 - 3 < 1 => true` is meant.

  This patch fixes notorious crashes when resuming import after a stop.
2024-10-17 12:14:09 +00:00
..
2024-10-16 08:34:12 +07:00
2024-10-16 08:34:12 +07:00
2024-10-16 08:34:12 +07:00
2024-09-29 14:37:09 +02:00
2024-10-16 08:34:12 +07:00
2024-10-16 08:34:12 +07:00