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

feauture request: make Op.OOG pseudo Opcode #455

Closed
winsvega opened this issue Feb 25, 2024 · 1 comment
Closed

feauture request: make Op.OOG pseudo Opcode #455

winsvega opened this issue Feb 25, 2024 · 1 comment

Comments

@winsvega
Copy link
Collaborator

in the test we can use this parametrization:

@pytest.mark.parametrize("call_return", [Op.REVERT, Op.RETURN])

which easilty types with

action=Op.MSTORE(0, Op.TLOAD(0)) + call_return(0, 32),

but then I need to check one more revert scenario is when the call goes OOG.
would be nice to have just one more Op.OOG that would just put this bytes into code Op.SHA3(0, Op.SUB(0, 1)) and ignore arguments

@marioevz
Copy link
Member

marioevz commented Apr 1, 2024

Closing as PR was merged.

@marioevz marioevz closed this as completed Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants