Skip to content

Commit 3ad8a32

Browse files
committed
fix(docs,checklists): Rename section to be more descriptive
1 parent 129e57c commit 3ad8a32

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

docs/writing_tests/checklist_templates/eip_testing_checklist_template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ If the opcode contains variables in its data portion, for each variable `n` of t
8484

8585
| ID | Description | Status | Tests |
8686
| ------------------------------------------------------------ | ------------------ | ------ | ----- |
87-
| `opcode/test/stack_complex_operations/variable_n/top` | Top stack item. | | |
88-
| `opcode/test/stack_complex_operations/variable_n/bottom` | Bottom stack item. | | |
89-
| `opcode/test/stack_complex_operations/variable_n/middle` | Middle stack item. | | |
87+
| `opcode/test/stack_complex_operations/data_portion_variables/top` | Top stack item. | | |
88+
| `opcode/test/stack_complex_operations/data_portion_variables/bottom` | Bottom stack item. | | |
89+
| `opcode/test/stack_complex_operations/data_portion_variables/middle` | Middle stack item. | | |
9090

9191
#### Execution context
9292

src/ethereum_test_checklists/eip_checklist.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,21 +201,24 @@ class Even(ChecklistItem):
201201

202202
pass
203203

204-
class VariableN(ChecklistItem):
205-
"""Variable N tests for stack manipulation."""
204+
class DataPortionVariables(ChecklistItem, override_name="data_portion_variables"):
205+
"""
206+
If the opcode contains variables in its data portion, for each variable `n`
207+
of the opcode that accesses the nth stack item, test `n` being.
208+
"""
206209

207210
class Top(ChecklistItem):
208-
"""Top stack item."""
211+
"""`n` is the top stack item."""
209212

210213
pass
211214

212215
class Bottom(ChecklistItem):
213-
"""Bottom stack item."""
216+
"""`n` is the bottom stack item."""
214217

215218
pass
216219

217220
class Middle(ChecklistItem):
218-
"""Middle stack item."""
221+
"""`n` is the middle stack item."""
219222

220223
pass
221224

0 commit comments

Comments
 (0)