Skip to content

Commit

Permalink
Simplify LedgerRef: remove unnecessary abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
jangko committed Nov 4, 2024
1 parent 89fac05 commit 4940583
Show file tree
Hide file tree
Showing 13 changed files with 916 additions and 1,628 deletions.
5 changes: 1 addition & 4 deletions nimbus/compile_info.nim
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# according to those terms.

import
./db/core_db/base/base_config,
./db/ledger/base/base_config
./db/core_db/base/base_config

func vmName(): string =
when defined(evmc_enabled):
Expand All @@ -29,8 +28,6 @@ const
rc &= ", boehm/gc"
when 0 < coreDbBaseConfigExtras.len:
rc &= ", " & coreDbBaseConfigExtras
when 0 < ledgerBaseConfigExtras.len:
rc &= ", " & ledgerBaseConfigExtras
rc &= " enabled"
rc

Expand Down
1 change: 0 additions & 1 deletion nimbus/core/chain/persist_blocks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

import
results,
../../db/ledger,
../../evm/state,
../../evm/types,
../executor,
Expand Down
Loading

0 comments on commit 4940583

Please sign in to comment.