nimbus-eth1/tests/all_tests.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

53 lines
1.9 KiB
Nim

# Nimbus
# Copyright (c) 2018-2024 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
# at your option. This file may not be copied, modified, or distributed except according to those terms.
import ./all_tests_macro
{. warning[UnusedImport]:off .}
cliBuilder:
import ./test_code_stream,
./test_ledger,
./test_jwt_auth,
./test_gas_meter,
./test_memory,
./test_stack,
./test_genesis,
./test_precompiles,
./test_generalstate_json,
#./test_tracer_json, -- temporarily disabled
#./test_persistblock_json, -- fails
#./test_rpc, -- fails
./test_filters,
./test_op_arith,
./test_op_bit,
./test_op_env,
./test_op_memory,
./test_op_misc,
./test_op_custom,
./test_state_db,
./test_difficulty,
./test_transaction_json,
# TODO: some of test_blockchain_json's test cases failing
# see issue #2260
./test_blockchain_json,
./test_forkid,
./test_multi_keys,
./test_misc,
#./test_graphql, -- fails
./test_configuration,
#./test_txpool, -- fails
./test_txpool2,
#./test_merge, -- fails
./test_eip4844,
./test_beacon/test_skeleton,
./test_overflow,
#./test_getproof_json, -- fails
#./test_rpc_experimental_json, -- fails
./test_aristo,
./test_coredb