nimbus-eth1/nimbus
Jordan Hrycaj 85de03fd6e
Rename and update dismantle => hexaryEnvelopeDecompose() (#1351)
* Rename and update dismantle => hexaryEnvelopeDecompose()

why:
+ As for naming, a positive connotation is prefered
+ The unit tests were really insufficient
+ The function result was wrong on a few boundry conditions

detail:
+ Extracted the function from `hexary_paths.nim` and re-implemented
  it together with other envelope functions => `hexary_envelope.nim`
+ Re-wrote docu for `hexaryEnvelopeDecompose()`

* Relaxed right condition for `hexaryEnvelopeDecompose()` range argument

why;
  Previously, the right point of the argument interval had to be a path
  to an allocated leaf node. While this is typically a given for accounts,
  it is easier to require an arbitrary range of paths (or keys) with
  the requirement of a `boundary proof` for left and right (i.e. enough
  nodes in the database to find the end points.)

also:
  Bug fixes for related functions (typos, missing conditions etc.)

* Add missing unit tests include file
2022-12-06 17:35:56 +00:00
..
common fix txpool: using consensus rule to prepare header 2022-12-06 16:43:00 +07:00
core Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
db implement better hardfork management 2022-12-02 13:51:42 +07:00
docs.static Kludge for 'make docs' to produce pretty nim manuals 2022-01-22 08:26:57 +02:00
evm saner source code grouping 2022-12-02 13:51:42 +07:00
graphql implement better hardfork management 2022-12-02 13:51:42 +07:00
rpc implement better hardfork management 2022-12-02 13:51:42 +07:00
sync Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
transaction implement better hardfork management 2022-12-02 13:51:42 +07:00
utils fix txpool: using consensus rule to prepare header 2022-12-06 16:43:00 +07:00
common.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
config.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
constants.nim eth: adapt to smaller eth_types (#1210) 2022-09-03 20:15:35 +02:00
errors.nim Redesign of BaseVMState descriptor (#923) 2022-01-18 16:19:32 +00:00
launcher.nim Premix-related changes 2019-01-28 12:38:23 +02:00
lightchain_shell.nim Some renames 2018-05-28 13:22:28 +03:00
makefile wire evmc to vm2 and drop legacy vm 2022-09-26 15:16:28 +07:00
nim.cfg NAT port mapping 2019-04-17 03:56:28 +02:00
nimbus.nim rename Fast Sync to Legacy Sync 2022-12-05 09:42:25 +07:00
rpc.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
tracer.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
transaction.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
version.nim dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
vm_compile_info.nim implement better hardfork management 2022-12-02 13:51:42 +07: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 implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_precompiles.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_state.nim implement better hardfork management 2022-12-02 13:51:42 +07: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