nimbus-eth1/nimbus/core
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
..
chain Update fork choice import for resuming after stop (#2746) 2024-10-17 12:14:09 +00:00
executor Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
pow replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
tx_pool Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
block_import.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
casper.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
chain.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
dao.nim Fix eth/common & web3 related deprecation warnings for fluffy (#2698) 2024-10-04 23:21:26 +02:00
eip4844.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
eip6110.nim eth: bump to new types (#2660) 2024-09-29 14:37:09 +02:00
executor.nim avoid initTable (#2328) 2024-06-10 11:05:30 +02:00
gaslimit.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
tx_pool.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
validate.nim Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
withdrawals.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00