Skip to content

Conversation

souradeep-das
Copy link
Contributor

What was wrong?

Related to Issue #1112

How was it fixed?

Added a script that runs live coverage of execution-specs while syncing mainnet blocks, and finds out blocks that hit code paths not covered by the baseline (json_infra tests).

This script:

  1. Generates a Baseline coverage by running json_infra tests if coverage.xml doesn't exist
  2. Converts coverage.xml to baseline_coverage.json if needed
  3. Runs slipcover along with the sync tool

Note:
To be able to pause/run from a midpoint, persist needs to work (on the sync tool). If state is persisted as a part of the sync tool, the syncing (and coverage) continues from that the last persisted state. This PR does not fix persist

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant