Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Engine API error defniitions."""
"""Engine API error definitions."""

from enum import IntEnum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ class EOFException(ExceptionBase):
"""Indicates that exception string is not mapped to an exception enum."""

UNDEFINED_INSTRUCTION = auto()
"""EOF container has undefined instruction in it's body code."""
"""EOF container has undefined instruction in its body code."""

UNKNOWN_VERSION = auto()
"""EOF container has an unknown version."""
Expand Down Expand Up @@ -543,17 +543,17 @@ class EOFException(ExceptionBase):
TOO_MANY_CODE_SECTIONS = auto()
"""EOF container header has too many code sections."""
MISSING_STOP_OPCODE = auto()
"""EOF container's code missing STOP bytecode at it's end."""
"""EOF container's code missing STOP bytecode at its end."""
INPUTS_OUTPUTS_NUM_ABOVE_LIMIT = auto()
"""EOF container code section inputs/outputs number is above the limit"""
UNREACHABLE_INSTRUCTIONS = auto()
"""EOF container's code have instructions that are unreachable."""
UNREACHABLE_CODE_SECTIONS = auto()
"""EOF container's body have code sections that are unreachable."""
STACK_UNDERFLOW = auto()
"""EOF container's code produces an stack underflow."""
"""EOF container's code produces a stack underflow."""
STACK_OVERFLOW = auto()
"""EOF container's code produces an stack overflow."""
"""EOF container's code produces a stack overflow."""
STACK_HEIGHT_MISMATCH = auto()
"""EOF container section stack height mismatch."""
MAX_STACK_INCREASE_ABOVE_LIMIT = auto()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class EOFException(ExceptionBase):
"""Indicates that exception string is not mapped to an exception enum."""

UNDEFINED_INSTRUCTION = auto()
"""EOF container has undefined instruction in it's body code."""
"""EOF container has undefined instruction in its body code."""

UNKNOWN_VERSION = auto()
"""EOF container has an unknown version."""
Expand Down Expand Up @@ -67,17 +67,17 @@ class EOFException(ExceptionBase):
TOO_MANY_CODE_SECTIONS = auto()
"""EOF container header has too many code sections."""
MISSING_STOP_OPCODE = auto()
"""EOF container's code missing STOP bytecode at it's end."""
"""EOF container's code missing STOP bytecode at its end."""
INPUTS_OUTPUTS_NUM_ABOVE_LIMIT = auto()
"""EOF container code section inputs/outputs number is above the limit"""
UNREACHABLE_INSTRUCTIONS = auto()
"""EOF container's code have instructions that are unreachable."""
UNREACHABLE_CODE_SECTIONS = auto()
"""EOF container's body have code sections that are unreachable."""
STACK_UNDERFLOW = auto()
"""EOF container's code produces an stack underflow."""
"""EOF container's code produces a stack underflow."""
STACK_OVERFLOW = auto()
"""EOF container's code produces an stack overflow."""
"""EOF container's code produces a stack overflow."""
STACK_HEIGHT_MISMATCH = auto()
"""EOF container section stack height mismatch."""
MAX_STACK_INCREASE_ABOVE_LIMIT = auto()
Expand Down
2 changes: 1 addition & 1 deletion repo_subpaths_for_grammar_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Status legend: `[ ]` pending, `[~]` in progress, `[x]` complete
- [x] `packages/testing/src/execution_testing/client_clis/**/*.py` (~21 files)
- [x] `packages/testing/src/execution_testing/base_types/**/*.py` (~15 files)
- [x] `packages/testing/src/execution_testing/forks/**/*.py` (~13 files)
- [ ] `packages/testing/src/execution_testing/tools/**/*.py`, `exceptions/**/*.py` (~24 files)
- [x] `packages/testing/src/execution_testing/tools/**/*.py`, `exceptions/**/*.py` (~24 files)
- [ ] `packages/testing/src/execution_testing/vm/**/*.py`, `rpc/**/*.py`, `config/**/*.py` (~17 files)
- [ ] `packages/testing/src/execution_testing/logging/**/*.py`, `execution/**/*.py`, `checklists/**/*.py`, `benchmark/**/*.py` (~14 files)
- [ ] `packages/testing/src/execution_testing/*.py` (root files, ~2 files)
Loading