You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#5133 has introduced some new functions. Looking through the tests there are a number of missing Sway tests.
ec_recover has no positive or negative test cases - likely because they exist elsewhere, perhaps in the sdk harness
ec_recover_r1 has no negative case
test_ec_recover_address_r1 has no negative case
ed_verify has no negative case
There are also some minor doc typos
Note that we may be unable to make the recovery panic ourselves and thus return an error but perhaps we may be able to return an incorrect recovery value.
The text was updated successfully, but these errors were encountered:
## Description
Only success test cases exist for the newly added `ed19` and `ecr1`
opcodes exist. Revert cases have been added to the inline tests.
Closes#5220
## Checklist
- [x] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [x] I have added tests that prove my fix is effective or that my
feature works.
- [x] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [x] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [x] I have requested a review from the relevant team or maintainers.
---------
Co-authored-by: bitzoic <[email protected]>
#5133 has introduced some new functions. Looking through the tests there are a number of missing Sway tests.
ec_recover
has no positive or negative test cases - likely because they exist elsewhere, perhaps in the sdk harnessec_recover_r1
has no negative casetest_ec_recover_address_r1
has no negative caseed_verify
has no negative caseThere are also some minor doc typos
Note that we may be unable to make the recovery panic ourselves and thus return an error but perhaps we may be able to return an incorrect recovery value.
The text was updated successfully, but these errors were encountered: