Skip to content
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

EVM runtime: implement unit tests for precompiles #842

Closed
raulk opened this issue Sep 6, 2022 · 6 comments
Closed

EVM runtime: implement unit tests for precompiles #842

raulk opened this issue Sep 6, 2022 · 6 comments

Comments

@raulk
Copy link
Member

raulk commented Sep 6, 2022

Unit tests for #695, as per #695 (comment).

@raulk
Copy link
Member Author

raulk commented Sep 12, 2022

The sha256 precompile earned a unit test here: filecoin-project/builtin-actors#615.
But all other precompiles remain untested.

@maciejwitowski -- what do you think about closing this issue and opening one per precompile that requires a unit test, to track more granularly?

@maciejwitowski
Copy link
Contributor

If we think testing all precompiles is big enough that we won't fit all in 1 week, then splitting them is a good idea.
@mriise could you help me and open 1 issue per each precompile which needs testing and add it to the Obsidian release https://github.com/filecoin-project/ref-fvm/milestone/11 ? (I wouldn't like to increase the scope of Iron now after we planned the week).

@mriise
Copy link
Contributor

mriise commented Sep 14, 2022

How extensive do we expect precompile tests to be? I dont think having an issue -per precompile test is needed, rather just a checklist.

@maciejwitowski
Copy link
Contributor

@mriise thanks! Can we just move the unchecked ones to the new issue or more issues if we know these tests will take more than eg 2-3 days and may not fit all into a single release? The goal is never to have a single issue span multiple releases. Eg this one is assigned to Copper, so we can create a new one and assign it to one of the next releases.

@mriise
Copy link
Contributor

mriise commented Sep 14, 2022

This should all be finished in a few hours.

@filecoin-project filecoin-project deleted a comment from karim-agha Sep 14, 2022
@maciejwitowski
Copy link
Contributor

Closing this one as it will be addressed in #879

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants