nimbus-eth1/tests/test_tools_build.nim
Jordan Hrycaj 51f02090b8
Aristo uses pre classified tree types (#2385)
* Remove unused `merge*()` functions (for production)

details:
  Some functionality moved to test suite

* Make sure that only `AccountData` leaf type is exactly used on VertexID(1)

* clean up payload type

* Provide dedicated functions for merging accounts and storage trees

why:
  Storage trees are always linked to an account, so there is no need
  for an application to fiddle about (e.e. creating, re-cycling) with
  storage tree vertex IDs.

* CoreDb: Disable tracer functionality

why:
  Must be updated to accommodate new/changed `Aristo` functions.

* CoreDb: Use new `mergeXXX()` functions

why:
  Makes explicit vertex ID management obsolete for creating new
  storage trees.

* Remove `mergePayload()` and other cruft from API, `aristo_merge`, etc.

* clean up merge functions

details:
  The merge implementation `mergePayloadImpl()` does not need to be super
  generic anymore as all the edge cases are covered by the specialised
  functions `mergeAccountPayload()`, `mergeGenericData()`, and
  `mergeStorageData()`.

* No tracer available at the moment, so disable offending tests
2024-06-18 11:14:02 +00:00

33 lines
1.4 KiB
Nim

# nimbus
# Copyright (c) 2018-2024 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license: [LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT
# * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
# at your option. This file may not be copied, modified, or distributed except according to those terms.
# this module helps CI save time
# when try to test buildability of these tools.
# They never run in the CI so it is ok to combine them
{. warning[UnusedImport]:off .}
import
#../premix/premix, # -- currently disabled (no tracer at the moment)
#../premix/persist, # -- ditto
#../premix/debug, # -- ditto
#../premix/dumper, # -- ditto
#../premix/hunter, # -- ditto
#../premix/regress, # -- ditto
#./tracerTestGen, # -- ditto
#./persistBlockTestGen, # -- ditto
../hive_integration/nodocker/rpc/rpc_sim,
../hive_integration/nodocker/consensus/consensus_sim,
../hive_integration/nodocker/graphql/graphql_sim,
#../hive_integration/nodocker/engine/engine_sim, # -- does not compile
../hive_integration/nodocker/pyspec/pyspec_sim,
../tools/t8n/t8n,
../tools/t8n/t8n_test,
../tools/evmstate/evmstate,
../tools/evmstate/evmstate_test,
./test_rpc_getproofs_track_state_changes