nimbus-eth1/nimbus/evm
Jordan Hrycaj 3198ad1bbd
Fix default pruning for ledger and update core db and ledger logging (#1861)
* Make sure that storage tries are not pruned (by default) on the new Ledger API

why:
  Pruning might kill some unwanted entries from storage tries ending up with an unstable database
  leading to crashes.

* Implement `CoreDb` and `LedgerRef` API tracing

details:
+ Locally enabled at compile time via constants `ProvideCoreDbLegacyAPI`
  and `EnableApiTracking` in either `base.nim` source
+ If enabled it can be selectively turned on/off via public switches in
  the `CoreDb` descriptor.

* Allow suppressing opportunistic `ifNecessaryGetXxx()` functions

why:
  Better troubleshooting when the system crashes (assertions will then
  most probably happen outside an `async` function.)
2023-10-25 15:03:09 +01:00
..
async Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
interpreter Implement EIP-7516: BLOBBASEFEE opcode (#1791) 2023-10-01 14:24:15 +07:00
tracer EVM embrace more EVMC types 2023-08-28 21:36:23 +07:00
blake2b_f.nim saner source code grouping 2022-12-02 13:51:42 +07:00
blscurve.nim saner source code grouping 2022-12-02 13:51:42 +07:00
code_stream.nim saner source code grouping 2022-12-02 13:51:42 +07:00
computation.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
evmc_api.nim Implement EIP-7516: BLOBBASEFEE opcode (#1791) 2023-10-01 14:24:15 +07:00
evmc_helpers.nim Bump stint to v2.0: new array backend (#1747) 2023-09-13 09:32:38 +07:00
interpreter_dispatch.nim Core db update api and fix tracer methods (#1816) 2023-10-11 20:09:11 +01:00
map_to_curve_g1.nim saner source code grouping 2022-12-02 13:51:42 +07:00
memory.nim Bump stint to v2.0: new array backend (#1747) 2023-09-13 09:32:38 +07:00
message.nim EVM embrace more EVMC types 2023-08-28 21:36:23 +07:00
modexp.nim fix modexp bug 2023-08-03 12:10:38 +07:00
nimdoc.cfg saner source code grouping 2022-12-02 13:51:42 +07:00
precompiles.nim EVM embrace more EVMC types 2023-08-28 21:36:23 +07:00
stack.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
state.nim EIP-4844: Fix excessBlobGas handling (#1771) 2023-09-24 22:25:41 +07:00
state_transactions.nim Implement EIP-7516: BLOBBASEFEE opcode (#1791) 2023-10-01 14:24:15 +07:00
types.nim Implement EIP-7516: BLOBBASEFEE opcode (#1791) 2023-10-01 14:24:15 +07:00
validation.nim optimize EVM memory extend 2023-05-31 10:14:26 +07:00