nimbus-eth1/nimbus
Jordan Hrycaj 0d4ef023ed
Update aristo journal functionality (#2155)
* Aristo: Code cosmetics, e.g. update some CamelCase names

* CoreDb+Aristo: Provide oldest known state root implied

details:
  The Aristo journal allows to recover earlier but not all state roots.

* Aristo: Fix journal backward index operator, e.g. `[^1]`

* Aristo: Fix journal updater

why:
  The `fifosStore()` store function slightly misinterpreted the update
  instructions when translation is to database `put()` functions. The
  effect was that the journal was ever growing due to stale entries which
  were never deleted.

* CoreDb+Aristo: Provide utils for purging stale data from the KVT

details:
  See earlier patch, not all state roots are available. This patch
  provides a mapping from some state root to a block number and allows to
  remove all KVT data related to a particular block number

* Aristo+Kvt: Implement a clean up schedule for expired data in KVT

why:
  For a single state ledger like `Aristo`, there is only a limited
  backlog of states. So KVT data (i.e. headers etc.) are cleaned up
  regularly

* Fix copyright year
2024-04-26 13:43:52 +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 Update aristo journal functionality (#2155) 2024-04-26 13:43:52 +00:00
db Update aristo journal functionality (#2155) 2024-04-26 13:43:52 +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 Misc updates for full sync (#2140) 2024-04-19 18:37:27 +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 implement better hardfork management 2022-12-02 13:51:42 +07:00
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 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 NAT port mapping 2019-04-17 03:56:28 +02:00
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 dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
vm_compile_info.nim Providing eth68 stubs while setting eth67 as default (#2129) 2024-04-12 11:21:17 +00:00
vm_computation.nim EVM cleanup 2023-08-29 07:12:31 +07:00
vm_gas_costs.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_internals.nim EVM cleanup 2023-08-29 07:12:31 +07:00
vm_precompiles.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
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