ApeWorX / ape

The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
https://apeworx.io
Apache License 2.0
876 stars 133 forks source link

(ape test): Include Event definitions in statement-coverage #2160

Open antazoey opened 3 months ago

antazoey commented 3 months ago

Overview

evm-trace is nearly added the ability to see event-node data from struct-log parsing from geth traces: https://github.com/ApeWorX/evm-trace/pull/66

with this affords us the ability to include Event definition lines in coverage reports. If an event is defined in a contract but never emitted, its definition would not show as hit in the coverage report.

Specification

Dependencies

Include links to any open issues that must be resolved before this feature can be implemented.

linear[bot] commented 3 months ago

APE-1774 (ape test): Include Event definitions in statement-coverage