Skip to content

Update collecting-a-corpus.md #403

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

Closed
wants to merge 1 commit into from

Conversation

ojiubasi-motif
Copy link

"coverage" should also be set to 'true' in the config.yaml file for the corpus coverage to work

"coverage" should also be set to 'true' in the config.yaml file  for the corpus coverage to work
@CLAassistant
Copy link

CLAassistant commented Aug 18, 2025

CLA assistant check
All committers have signed the CLA.

@elopez
Copy link
Member

elopez commented Aug 18, 2025

Hi! This setting (coverage: true) is the default; there's no need to explicitly add it to the config.

@ojiubasi-motif
Copy link
Author

Hi! This setting (coverage: true) is the default; there's no need to explicitly add it to the config.

https://github.com/crytic/echidna/blob/master/tests/solidity/basic/default.yaml
but the default config file sets "coverage" to false

@elopez
Copy link
Member

elopez commented Aug 18, 2025

That's an error in the sample file then :) the code sets it to enabled by default. It's also documented as default enabled here https://secure-contracts.com/program-analysis/echidna/configuration.html#coverage

@elopez
Copy link
Member

elopez commented Aug 22, 2025

Fixed in crytic/echidna#1429, thanks for bringing this to our attention!

@elopez elopez closed this Aug 22, 2025
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.

3 participants