-
Notifications
You must be signed in to change notification settings - Fork 966
feat(EOF): change oob behavior of RETURNDATALOAD and RETURNDATACOPY #1476
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
709bc4a
chore(interpreter): optimisation for BYTE, SHL, SHR and SAR
jpgonzalezra 7430167
test: add RETURNDATACOPY test and update RETURNDATALOAD
jpgonzalezra 9051655
feat: change oob behavior of returndataload
jpgonzalezra 74d9e8e
fix: stack order and name on returndatacopy test
jpgonzalezra b302cdc
feat: change oob behavior of RETURNDATACOPY
jpgonzalezra d55c796
chore: remove unused function make_me_a_table
jpgonzalezra 98882f7
fix: revert interpreter check
jpgonzalezra 4fc13da
chore: some tests
jpgonzalezra f1e2987
chore: use as_usize_or_fail! macro instead of as_usize_saturated!
jpgonzalezra 85cc8aa
fix: add backwards compatibility
jpgonzalezra 93c7b94
fix: collapsible-else-if
jpgonzalezra 3d0d5d0
self review
jpgonzalezra eb9d6ee
Merge remote-tracking branch 'origin/main' into eof_oob
rakita cc93fe6
refactor code. use set_data in returndatacopy
rakita f87e596
remove local as it is used once
rakita File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
else if {error}is missing. Will restructure code a little bit here.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.
You're right, go ahead 💪