-
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
chore: test cases for smart contracts #119
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
3393846
to
f2ef372
Compare
hex"16001493adab0a7a8cb7675db135c9c97e81942025c2c9" | ||
) | ||
); | ||
// [FAIL. Reason: EvmError: OutOfGas] (gas: 9223372036854754743) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
during debugging found out that, this happens because the outputLength
calculations emit a huge value since the wrong output is given.
Therefore the assembly calculation here exhausts the gas.
Not sure want to handle this, as the estimated gas field will show a huge value if the inputs are wrong.
bb2b5bd
to
3b1a237
Compare
e909f65
to
45faf2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @nakul1010!
45faf2d
to
d9c4ff5
Compare
…akul/chore_testcases # Conflicts: # test/LightRelay.t.sol # test/swap/Ord_Marketplace.t.sol
The PR makes the following changes
Closes #90