This repository was archived by the owner on Jan 9, 2024. It is now read-only.
This repository was archived by the owner on Jan 9, 2024. It is now read-only.
Refactor TraceCallExecutor unit tests #327
Open
Description
Unit tests for TraceCallExecutor
should be refactored to improve readability and semantics:
- add constructor in
EVMExecutor
withsilkworm::State
as input parameter instead ofcore::rawdb::DatabaseReader
- add constructor in
TraceCallExecutor
withsilkworm::State
andEVMExecutor
as input parameters instead ofcore::rawdb::DatabaseReader
or changeTraceCallExecutor::execute
- if possible, refactor
EVMExecutor
andTraceCallExecutor
to avoid templates - mock
silkworm::State
using Gmock - refactor unit tests
- rename
TraceCallExecutor
asTraceExecutor