nimbus-eth1/nimbus
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
..
beacon Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
common Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
core Update fork choice import for resuming after stop (#2746) 2024-10-17 12:14:09 +00:00
db Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
evm Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
graphql replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
rpc Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
stateless replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
sync Rename nimbus binary to nimbus_execution_client (#2728) 2024-10-15 09:37:54 +00:00
transaction Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
utils Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
common.nim
compile_info.nim Small updates and fixes for rlpx suite (#2571) 2024-08-19 14:00:10 +00:00
config.nim Rename flare as beacon (#2680) 2024-10-02 11:31:33 +00:00
constants.nim Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
errors.nim
makefile
nim.cfg
nimbus_desc.nim Rename flare as beacon (#2680) 2024-10-02 11:31:33 +00:00
nimbus_execution_client.nim Update fork choice import for resuming after stop (#2746) 2024-10-17 12:14:09 +00:00
nimbus_import.nim fix: show correct blockNumber and log in end of era files (#2691) 2024-10-04 01:37:50 +00:00
rpc.nim add eth_sendRawTransaction to server API (#2678) 2024-10-02 03:56:39 +00:00
tracer.nim Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
transaction.nim Use eth/common transaction signature utilities (#2696) 2024-10-04 16:34:31 +02:00
version.nim