Skip to content

hevm: fix prove tests for latest ds-test#948

Merged
d-xo merged 1 commit intomasterfrom
fix-prove-tests-for-global-fail
Jun 29, 2022
Merged

hevm: fix prove tests for latest ds-test#948
d-xo merged 1 commit intomasterfrom
fix-prove-tests-for-global-fail

Conversation

@d-xo
Copy link
Contributor

@d-xo d-xo commented Jun 29, 2022

Since dapphub/ds-test#30 calls to failed() can
contain reverting branches due to the call into abi.decode().

This meant that using prove tests with the latest ds-test version would
always fail with a hard error.

This change updates the symbolic test stepper to correctly report
bailed as true for branches that reverted during the call to
failed().

Description

Checklist

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

Since dapphub/ds-test#30 calls to `failed()` can
contain reverting branches due to the call into abi.decode().

This meant that using prove tests with the latest ds-test version would
always fail with a hard error.

This change updates the symbolic test stepper to correctly report
`bailed` as true for branches that reverted during the call to
`failed()`.
@d-xo d-xo merged commit cb2e4ca into master Jun 29, 2022
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