Skip to content

Commit 18985ba

Browse files
committed
cleanup eof examples
1 parent 94a7188 commit 18985ba

11 files changed

+76
-14
lines changed

examples/eof/eof1.toml

-2
This file was deleted.

examples/eof/eof1_minimal.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
bytecode = """
2+
EF00 01
3+
01 0004
4+
02 0001 0001
5+
04 0000
6+
00
7+
8+
00 80 0000 00
9+
"""
10+
eof = true

examples/eof/eof2.toml

-2
This file was deleted.

examples/eof/eof2_infinite_loop.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
bytecode = """
2+
EF00 01
3+
01 0004
4+
02 0001 0003
5+
04 0000
6+
00
7+
8+
00 80 0000 E0FFFD
9+
"""
10+
eof = true

examples/eof/eof3.toml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
bytecode = """
2+
EF00 01
3+
01 0008
4+
02 0002 0006 0001
5+
04 0000
6+
00
7+
8+
00 80 0001
9+
01 01 0001
10+
11+
602A E30001 00
12+
E4
13+
"""
14+
eof = true

examples/eof/eof4.toml

-2
This file was deleted.

examples/eof/eof4_returncontract.toml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
bytecode = """
2+
EF00 01
3+
01 0004
4+
02 0001 0004
5+
03 0001 0014
6+
04 0000
7+
00
8+
9+
00 80 0002 5F5F EE00
10+
"""
11+
eof = true

examples/eof/eof5.toml

-6
This file was deleted.

examples/eof/eof5_eofcreate.toml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
bytecode = """
2+
EF00 01
3+
01 0004
4+
02 0001 0008
5+
03 0001 0030
6+
04 0000
7+
00
8+
9+
00 80 0004
10+
5F 5F 60FF 5F EC00 00
11+
12+
13+
EF00 01
14+
01 0004
15+
02 0001 0004
16+
03 0001 0014
17+
04 0000 00
18+
19+
00 80 0002
20+
5F 5F EE00
21+
22+
23+
EF00 01
24+
01 0004
25+
02 0001 0001
26+
04 0000
27+
00
28+
29+
00 80 0000 00
30+
"""
31+
eof = true
File renamed without changes.

0 commit comments

Comments
 (0)