-
Notifications
You must be signed in to change notification settings - Fork 36
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
False positive when running mxpy contract test
#205
Comments
mxpy contract test
mxpy contract test
Hello @ctindogaru, thank you for the report 🙏 Currently, In your case, a temporary workaround, suggested by @psorinionut, is to write an additional Rust unit test to execute the JSON scenarios, as well:
Of course, we have to also improve the |
That's not the problem. The same scenario is run by both |
Hello @ctindogaru, Currently, We will adjust Thank you 🙏 |
Hey @andreibancioiu. I think there is a misunderstanding here. I'm saying that I have a mandos test that is run for sure by both I'm 100% confident that the mandos test is run by both cargo and mxpy. If I'm adding a false assertion on purpose inside the test, the test fails on both |
Thank you, we will check using the provided repository, and return with an answer 🙏
|
I'm not having any rust tests, only JSON-base scenarios. |
We've reproduced the issue with the provided code, thank you! While
... the tool that executes the JSON scenarios,
Thus, I'll forward the issue to |
No problem. Is |
See https://github.com/ctindogarus4f/elrond-smart-contracts/tree/mxpy-false-positive/staking for reproducing the issue.
The test passes when running
mxpy contract test
, but fails when runningcargo test
.The test should always fail, but for some reason, when running it with
mxpy contract test
, the test passes, giving us a false positive and making the smart contracts error-prone.The text was updated successfully, but these errors were encountered: