Closed acmLL closed 9 months ago
Forget about this. This is related to another issue that I opened up and already closed... Thanks
Oh, do you mean issue #419 ? Can I close this issue then? :smiley:
Hi, I just provided an example @d_xo asked. Thanks!
On Tue, Nov 7, 2023 at 11:01 AM Mate Soos @ Ethereum Foundation < @.***> wrote:
Oh, do you mean issue #419 https://github.com/ethereum/hevm/issues/419 ? Can I close this issue then? 😃
— Reply to this email directly, view it on GitHub https://github.com/ethereum/hevm/issues/418#issuecomment-1798579249, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2CNL6KM47H552NU7I2JTK3YDI5MJAVCNFSM6AAAAAA67KM7B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYGU3TSMRUHE . You are receiving this because you authored the thread.Message ID: @.***>
OK, thanks! So we'll track this at #419 I'm closing this and picking that up :) Thanks again for reporting!
Configuration: MacBook Pro, Apple M1 Pro, Sonoma 14.0, 32GB
hevm version: 0.52.0 (static version)
+++++++++++++++ Scenario +++++++++++++++++++ Given this function
where uint256 public constant ONE = 1e18;
and this test function
The above test function reports PASS in forge test and hevm test (using prove instead of test). The above code is the only one that seems to work properly with hevm test. But when we change the test function to
Only forge test reports FAIL because the above function will not revert indeed. hevm test reports PASS (using the prefix prove). And by changing the prefix to proveFail, hevm test reports FAIL with "result: Successful execution". What is the expected behavior here? Or is it a bug indeed?