Skip to content
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
@canepat

Description

@canepat

Unit tests for TraceCallExecutor should be refactored to improve readability and semantics:

  • add constructor in EVMExecutor with silkworm::State as input parameter instead of core::rawdb::DatabaseReader
  • add constructor in TraceCallExecutor with silkworm::State and EVMExecutor as input parameters instead of core::rawdb::DatabaseReader or change TraceCallExecutor::execute
  • if possible, refactor EVMExecutor and TraceCallExecutor to avoid templates
  • mock silkworm::State using Gmock
  • refactor unit tests
  • rename TraceCallExecutor as TraceExecutor

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions