Skip to content

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

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

3 participants