nimbus-eth1/nimbus
Jordan Hrycaj 961f63358e
Core db+aristo update recovery journal management (#2156)
* Aristo: Allow to define/set `FilterID` for journal filter records

why:
  After some changes, the `FilterID` is isomorphic to the `BlockNumber`
  scalar (well, the first 2^64 entries of a `BlockNumber`.)

  The needed change for `FilterID` is that the `FilterID(0)` value is
  valid part of the `FilterID` scalar. A non-valid `FilterID` entry is
  represented by `none(FilterID)`.

* Aristo: Split off function `persist()` as persistent version of `stow()`

why:
  In production, `stow(persistent=false,..)` is currently unused. So,
  using `persist()` rather than `stow(persistent=true,..)` improves
  readability and is better to maintain.

* CoreDb+Aristo: Store block numbers in journal records

why:
  This makes journal records searchable by block numbers

* Aristo: Rename some journal related functions

why:
  The name *journal* is more appropriate to api functions than something
   with *fifo* or *filter*.

* CoreDb+Aristo: Update last/oldest journal state retrieval

* CoreDb+Aristo: Register block number with state root in journal

why:
  No need anymore for extra lookup table `stRootToBlockNum` which maps
  a storage root -> block number.

* Aristo: Remove unused function `getFilUbe()` from api

* CoreDb: Remove now unused virtual table `stRootToBlockNum`

why:
  Was used to map a state root to a block number. This functionality
  is now embedded into the recovery journal backend.

* Turn of API tracking (will fail on `fluffy`)
2024-04-29 20:17: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 update recovery journal management (#2156) 2024-04-29 20:17: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 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