-
Notifications
You must be signed in to change notification settings - Fork 167
new(tests): EOF - EIP-4750: add fibonacci and factorial tests for CALLF #915
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
Conversation
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.
Do we have the rest of CALLF_RETF_Execution cases covered with this?
Not this one, #914 finishes the job. |
tests/osaka/eip7692_eof_v1/eip4750_functions/test_callf_execution.py
Outdated
Show resolved
Hide resolved
tests/osaka/eip7692_eof_v1/eip4750_functions/test_callf_execution.py
Outdated
Show resolved
Hide resolved
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.
LGTM. I agree with the other two comments, we can merge after they are implemented.
tests/osaka/eip7692_eof_v1/eip4750_functions/test_callf_execution.py
Outdated
Show resolved
Hide resolved
6e659a4
to
6cf1f6d
Compare
Add tests implementing fibonacci sequence and factorial using recursive CALLF instructions. They were originally contributed to ethereum/tests by @hugo-dc in ethereum/tests@89c2147. Tests were additionally parametrized.
6cf1f6d
to
7286b04
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.
LGTM, thanks for the changes.
🗒️ Description
Add tests implementing fibonacci sequance and factorial using recursive CALLF instructions.
They were originally contributed to ethereum/tests by @hugo-dc in ethereum/tests@89c2147.
I'm migrating the tests separately because they are nice examples.
✅ Checklist
mkdocs serve
locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.