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

slither-flat: add --remove-assert flag #386

Merged
merged 1 commit into from
Dec 11, 2019
Merged

Conversation

montyly
Copy link
Member

@montyly montyly commented Dec 10, 2019

slither-flat --remove-assert file.sol will export the flattened code where the call to assert() are being commented.

A typical use case is the write of properties to be tested with echidna/manticore, that should not be present in the deployed code.

This must be used with precaution. All the assert that are commented are printed by the tool, and should be reviewed manually.

Fix #366

@montyly montyly merged commit 1ff370f into dev Dec 11, 2019
@montyly montyly deleted the dev-flat-remove-assert branch December 11, 2019 18:34
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