-
Notifications
You must be signed in to change notification settings - Fork 326
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
dapp --replay passes incorrect string to hevm #722
Comments
bumping because seems like a small syntax error somehwere that wouldn't take too long to fix (but i'm a little lost on where that issue is) |
how's this #744 |
still broken 😞 |
got a fix in mind? |
Just fighting this now actually, don't really know how to fix it atm :/ afaict it's caused by some very annoying nested bash array expansion nonsense. |
damn. running into it rn trying to debug affects both |
you can always just run |
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...
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...
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...
Running with dapp fails:
Running directly with hevm works:
hevm dapp-test --debug --dapp-root=. --json-file=out/dapp.sol.json --replay '("invariantMetadata()","0xf893f8919400a329c0648769a73afac7f9381e08fb43dbea7294ce71065d4017f316ec606fe4422e11eb2c47c246b84440c10f1900000000000000000000000000000000000000000000000000000000000ff0dacf45a6e39dc751df612f1d23e577471e184b84a51f02b3c5c641593ab34b8a68a00000000000000000000000000000000000000000000000000000000000000005")'
The text was updated successfully, but these errors were encountered: