nimbus-eth1/nimbus
Jordan Hrycaj 143f2e99f5
Core db+aristo fixes and tx handling updates (#2164)
* Aristo: Rename journal related sources and functions

why:
  Previously, the naming was hinged on the phrases `fifo`, `filter` etc.
  which reflect the inner workings of cascaded filters. This was
  unfortunate for reading/understanding the source code for actions where
  the focus is the journal as a whole.

* Aristo: Fix buffer overflow (path length truncating error)

* Aristo: Tighten `hikeUp()` stop check, update error code

why:
  Detect dangling vertex links. These are legit with `snap` sync
  processing but not with regular processing.

* Aristo: Raise assert in regular mode `merge()` at a dangling link/edge

why:
  With `snap` sync processing, partial trees are ok and can be amended.
  Not so in regular mode.

  Previously there was only a debug message when a non-legit dangling edge
  was encountered.

* Aristo: Make sure that vertices are copied before modification

why:
  Otherwise vertices from lower layers might also be modified

* Aristo: Fix relaxed mode for validity checker `check()`

* Remove cruft

* Aristo: Update API for transaction handling

details:
+ Split `aristo_tx.nim` into sub-modules
+ Split `forkWith()` into `findTx()` + `forkTx()`
+ Removed `forkTop()`, `forkBase()` (now superseded by new `forkTx()`)

* CoreDb+Aristo: Fix initialiser (missing methods)
2024-05-03 17:38:17 +00:00
..
beacon Fix txPool: excessBlobGas should be calculated before entering EVM, not after (#2149) 2024-04-24 07:50:50 +07:00
common Bump nim-evmc to 86d22a026b0aa07c07b3afd7d91ca475e0eae12a (#2113) 2024-03-28 13:47:02 +07:00
core Core db+aristo update recovery journal management (#2156) 2024-04-29 20:17:17 +00:00
db Core db+aristo fixes and tx handling updates (#2164) 2024-05-03 17:38:17 +00:00
evm Rename hasCodeOrNonce to contractCollision 2024-04-16 09:31:10 +07:00
graphql Remove intermediate RpcCallData 2024-04-16 19:52:07 +07:00
rpc Repositioning blob hash validation in newPayload of engine API (#2141) 2024-04-20 02:43:13 +07:00
sync Core db+aristo fixes and tx handling updates (#2164) 2024-05-03 17:38:17 +00:00
transaction Remove intermediate RpcCallData 2024-04-16 19:52:07 +07:00
utils Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
common.nim
config.nim Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00:00
constants.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
errors.nim Core db update providing additional results code interface (#1776) 2023-09-26 10:21:13 +01:00
launcher.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
lightchain_shell.nim
makefile
nim.cfg
nimbus.nim Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00:00
nimbus_desc.nim Implement combo http server for rpc, engine_api, and graphql services (#1992) 2024-01-29 20:20:04 +07:00
rpc.nim Implement eth_feeHistory (#2130) 2024-04-16 08:02:42 +07:00
stateless_runner.nim Remove obsolete select_backend and fix simulators CI (#2007) 2024-02-04 21:28:20 +07:00
tracer.nim Core db+aristo update tracer for non trivial operations (#2102) 2024-03-22 17:31:56 +00:00
transaction.nim Prepare source code for nim v2 CI (#2028) 2024-02-15 09:57:05 +07:00
version.nim
vm_compile_info.nim Providing eth68 stubs while setting eth67 as default (#2129) 2024-04-12 11:21:17 +00:00
vm_computation.nim
vm_gas_costs.nim
vm_internals.nim
vm_precompiles.nim
vm_state.nim EIP-4844: Fix excessBlobGas handling (#1771) 2023-09-24 22:25:41 +07:00
vm_state_transactions.nim EIP-4788: Make it clear what is an EVM system call 2023-09-22 17:21:09 +07:00
vm_types.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00