nimbus-eth1/nimbus
Jordan Hrycaj fe3a6d67c6
Prepare snap server client test scenario cont2 (#1487)
* Clean up some function prototypes

why:
  Simplify polymorphic prototype variances for easier maintenance.

* Fix fringe condition crash when importing bogus RLP node

why:
  Accessing non-list RLP entry as a list causes `Defect`

* Fix left boundary proof at range extractor

why:
  Was insufficient. The main problem was that there was no unit test for
  the validity of the generated left boundary.

* Handle incomplete left boundary proofs early

why:
  Attempt to do it later leads to overly complex code in order to prevent
  looping when the same peer repeats to send the same incomplete proof.

  Contrary, gaps in the leaf sequence can be handled gracefully with
  registering the gaps

* Implement a manual pivot setup mechanism for snap sync

why:
  For a test scenario it is convenient to set the pivot to something
  lower than the beacon header from the consensus layer. This does not
  need rely on any RPC mechanism.

details:
  The file containing the pivot specs is specified by the
  `--sync-ctrl-file` option. It is regularly parsed for updates.

* Fix calculation error

why:
  Prevent from calculating negative square root
2023-03-07 14:23:22 +00:00
..
common Time based forking (#1465) 2023-02-16 12:40:07 +01:00
core Time based forking (#1465) 2023-02-16 12:40:07 +01:00
db Silence compiler gossip after nim upgrade cont1 (#1455) 2023-01-31 01:32:17 +00:00
evm Time based forking (#1465) 2023-02-16 12:40:07 +01:00
graphql bump submodules to further reduce compiler warnings 2023-02-02 09:29:02 +07:00
rpc Time based forking (#1465) 2023-02-16 12:40:07 +01:00
sync Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
transaction Time based forking (#1465) 2023-02-16 12:40:07 +01:00
utils Fix potential overflow error on toPC (#1458) 2023-02-02 09:30:14 +01:00
common.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
config.nim Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
constants.nim Silence compiler gossip after nim upgrade cont1 (#1455) 2023-01-31 01:32:17 +00:00
errors.nim fix EIP-3860 bugs 2023-01-13 13:04:23 +07:00
launcher.nim
lightchain_shell.nim Some renames 2018-05-28 13:22:28 +03:00
makefile Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
nim.cfg
nimbus.nim Prepare snap server client test scenario (#1483) 2023-03-02 09:57:58 +00:00
rpc.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
tracer.nim Silence compiler gossip after nim upgrade cont3 (#1466) 2023-02-14 20:27:17 +00:00
transaction.nim fix EIP-3860 intrinsic gas once again 2023-01-15 14:37:19 +07:00
version.nim
vm_compile_info.nim Prepare snap server client test scenario (#1483) 2023-03-02 09:57:58 +00:00
vm_computation.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_gas_costs.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_internals.nim cleanup numeric utils and remove unstable rangeToPadded 2022-12-21 18:41:03 +07:00
vm_precompiles.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_state.nim Time based forking (#1465) 2023-02-16 12:40:07 +01:00
vm_state_transactions.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_types.nim implement better hardfork management 2022-12-02 13:51:42 +07:00