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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

hevm: no whitespace in invariant replay data #786

Merged
merged 2 commits into from
Sep 15, 2021
Merged

hevm: no whitespace in invariant replay data #786

merged 2 commits into from
Sep 15, 2021

Conversation

d-xo
Copy link
Contributor

@d-xo d-xo commented Sep 12, 2021

Description

Fixes #722, or at least side steps around it 馃槵

The issue is that bash was inserting single quotes around whitespace in the replay strings for some obscure reason I do not understand. This pr just makes it so that hevm does not print whitespace in replay strings...

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

src/hevm/CHANGELOG.md Outdated Show resolved Hide resolved
Fixes #722. For some obscure reason related to bash array expansion, the
whitespace in the invariant replay data ended up being passed to hevm as
`' '` (i.e. two quotes with a space).

I don't know why bash adds these extra quotes, but we can just ignore
this problem by never including whitespace in replay strings...
@d-xo d-xo merged commit 728a924 into master Sep 15, 2021
@d-xo d-xo deleted the fix-dapp-replay branch September 15, 2021 09:50
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.

dapp --replay passes incorrect string to hevm
2 participants