Skip to content

Commit d6f1005

Browse files
committed
Add asymetrical stack tests
1 parent 2154285 commit d6f1005

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/checklist_templates/eip_testing_checklist_template.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ The EIP introduces one or more new opcodes to the EVM.
2929
- [ ] 2**64-1 bytes expansion
3030
- [ ] 2**64 bytes expansion
3131
- [ ] 2**256-1 bytes expansion
32-
- [ ] Stack over/underflows
33-
- [ ] If the opcode pushes one or more items to the stack, and the opcode pushes more elements than it pops, verify that the opcode execution results in exeptional abort when pushing elements to the stack would result in the stack having more than 1024 elements.
34-
- [ ] If the opcode pops one or more items to the stack, or it has a minimum stack height of one or more, verify that the opcode execution results in exeptional abort then stack has 1 less item than the minimum stack height expected.
32+
- [ ] Stack
33+
- [ ] Overflows/Underflows
34+
- [ ] If the opcode pushes one or more items to the stack, and the opcode pushes more elements than it pops, verify that the opcode execution results in exeptional abort when pushing elements to the stack would result in the stack having more than 1024 elements.
35+
- [ ] If the opcode pops one or more items to the stack, or it has a minimum stack height of one or more, verify that the opcode execution results in exeptional abort then stack has 1 less item than the minimum stack height expected.
36+
- [ ] If opcode performs stack operations different of simple pop->push, test for these operations on an asymmetrical stack.
3537
- [ ] Execution context
3638
- [ ] CALL
3739
- [ ] STATICCALL

0 commit comments

Comments
 (0)