Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Document opcode error preconditions #418

Open
adria0 opened this issue May 8, 2023 · 0 comments
Open

Document opcode error preconditions #418

adria0 opened this issue May 8, 2023 · 0 comments
Assignees

Comments

@adria0
Copy link
Member

adria0 commented May 8, 2023

At this moment we describe the protections that geth offers in the opcodes (U64 overflow, out of gas, etc..), in error_state.

This acts as a preconditions that really models how we write the constrains for the opcodes.

But at this moment, we have to check manually all defined errors if applies to the opcode, it will be nice if we document, per opcode which preconditions exists. It will make out specs easier to check if something is wrong.

@adria0 adria0 self-assigned this May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant