Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple coverage tracking according to the result of a transaction #369

Merged
merged 14 commits into from Apr 1, 2020

Conversation

@ggrieco-tob
Copy link
Member

@ggrieco-tob ggrieco-tob commented Mar 9, 2020

This PR fixes issue #363 . It introduces a boolean type in the coverage maps to keep track of transactions when they revert (or not). This will allow a richer notion of coverage.

It is worth mentioning that this PR will not improve the test cases generation by itself, until the code to mutate lists of transactions is merged (this will happen in upcoming PR, after #357 is merged).

This PR also includes a simple test to check that the amount of lists of transactions in the corpus collected is correct (for a small contract). This tests the code that collect the corpus as well.

ggrieco-tob added 5 commits Mar 7, 2020
fix
fix
@ggrieco-tob ggrieco-tob requested review from incertia and agroce Mar 9, 2020
lib/Echidna/Campaign.hs Outdated Show resolved Hide resolved
lib/Echidna/Campaign.hs Show resolved Hide resolved
lib/Echidna/Exec.hs Outdated Show resolved Hide resolved
ggrieco-tob added 6 commits Mar 15, 2020
lib/Echidna/Exec.hs Show resolved Hide resolved
lib/Echidna/Transaction.hs Show resolved Hide resolved
ggrieco-tob added 3 commits Mar 31, 2020
…a into dev-coverage-adding-binary
@incertia incertia merged commit 9db3c34 into master Apr 1, 2020
4 checks passed
4 checks passed
test (ubuntu-latest)
Details
hlint
Details
hlint
Details
license/cla Contributor License Agreement is signed.
Details
@incertia incertia deleted the dev-coverage-adding-binary branch Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.