Skip to content

Commit cd85648

Browse files
committed
PVM tests v0.4: remove read-only panicking tests
1 parent bf3c81a commit cd85648

File tree

3 files changed

+0
-156
lines changed

3 files changed

+0
-156
lines changed

pvm/TESTCASES.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4042,24 +4042,6 @@ Final value of the program counter: 0
40424042
Gas consumed: 10000 -> 9998
40434043

40444044

4045-
## inst_store_imm_u8_trap_read_only
4046-
4047-
Initial page map:
4048-
* RO: 0x10000-0x11000 (0x1000 bytes)
4049-
4050-
```
4051-
: @0
4052-
0: 1e 03 00 00 01 12 u8 [0x10000] = 0x12
4053-
6: invalid
4054-
```
4055-
4056-
Program should end with: panic
4057-
4058-
Final value of the program counter: 0
4059-
4060-
Gas consumed: 10000 -> 9998
4061-
4062-
40634045
## inst_store_indirect_u16_with_offset_nok
40644046

40654047
Initial page map:
@@ -4462,27 +4444,6 @@ Final value of the program counter: 0
44624444
Gas consumed: 10000 -> 9998
44634445

44644446

4465-
## inst_store_u8_trap_read_only
4466-
4467-
Initial page map:
4468-
* RO: 0x10000-0x11000 (0x1000 bytes)
4469-
4470-
Initial non-zero registers:
4471-
* r7 = 0x12345678
4472-
4473-
```
4474-
: @0
4475-
0: 3b 07 00 00 01 u8 [0x10000] = r7
4476-
5: invalid
4477-
```
4478-
4479-
Program should end with: panic
4480-
4481-
Final value of the program counter: 0
4482-
4483-
Gas consumed: 10000 -> 9998
4484-
4485-
44864447
## inst_sub_32
44874448

44884449
Initial non-zero registers:

pvm/programs/inst_store_imm_u8_trap_read_only.json

Lines changed: 0 additions & 59 deletions
This file was deleted.

pvm/programs/inst_store_u8_trap_read_only.json

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)