Skip to content

Commit 16fa567

Browse files
author
winsvega
authored
Merge pull request #693 from matkt/feature/eip2315-update-implementation
EIP-2315 changes in gascosts and update opcode
2 parents f41e867 + d42a380 commit 16fa567

33 files changed

Lines changed: 2570 additions & 0 deletions
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"beginSubAtEndOfCode_d0g0v0_Berlin" : {
3+
"_info" : {
4+
"comment" : "",
5+
"filling-rpc-server" : "besu/v1.4.7/osx-x86_64/adoptopenjdk-java-13",
6+
"filling-tool-version" : "retesteth-0.0.2+commit.e8018889.Darwin.appleclang",
7+
"lllcversion" : "Version: 0.5.14-develop.2020.6.3+commit.f07a86ee.mod.Darwin.appleclang",
8+
"source" : "src/GeneralStateTestsFiller/stSubroutine/beginSubAtEndOfCodeFiller.json",
9+
"sourceHash" : "2a52c1e87c3e4797926c7ce75ab9957b69c7a6bc7548c6498ca0a62e5fa5c7b3"
10+
},
11+
"genesisBlockHeader" : {
12+
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
13+
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
14+
"difficulty" : "0x020000",
15+
"extraData" : "0x00",
16+
"gasLimit" : "0x7fffffffffffffff",
17+
"gasUsed" : "0x00",
18+
"hash" : "0x0bc0cada816db10e9ef9f46ee2a05f02b2b99d612e9c9a5ac2dc97a2b3f6173b",
19+
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
20+
"nonce" : "0x0000000000000000",
21+
"number" : "0x00",
22+
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
23+
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
24+
"stateRoot" : "0xa7a786beff45f47541de149e15a9938907834e22f379da9c21e2ee9432e65fff",
25+
"timestamp" : "0x00",
26+
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
27+
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
28+
},
29+
"pre" : {
30+
"0x1000000000000000000000000000000000000000" : {
31+
"balance" : "0x0de0b6b3a7640000",
32+
"code" : "0x60035e5c",
33+
"nonce" : "0x00",
34+
"storage" : {
35+
}
36+
},
37+
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
38+
"balance" : "0x7fffffffffffffff",
39+
"code" : "0x",
40+
"nonce" : "0x00",
41+
"storage" : {
42+
}
43+
}
44+
},
45+
"postState" : {
46+
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
47+
"code" : "0x",
48+
"nonce" : "0x01",
49+
"balance" : "0x7fffffffffffadea",
50+
"storage" : {
51+
}
52+
},
53+
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
54+
"code" : "0x",
55+
"nonce" : "0x00",
56+
"balance" : "0x1bc16d674ec85215",
57+
"storage" : {
58+
}
59+
},
60+
"0x1000000000000000000000000000000000000000" : {
61+
"code" : "0x60035e5c",
62+
"nonce" : "0x00",
63+
"balance" : "0x0de0b6b3a7640000",
64+
"storage" : {
65+
}
66+
}
67+
},
68+
"network" : "Berlin",
69+
"sealEngine" : "NoProof",
70+
"lastblockhash" : "0xb9cbba769cbbc6694f2a50d3cde54eb7865eb915a3bf4ed30ac40d22e53c4642",
71+
"genesisRLP" : "0xf901fdf901f8a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a7a786beff45f47541de149e15a9938907834e22f379da9c21e2ee9432e65fffa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
72+
"blocks" : [
73+
{
74+
"rlp" : "0xf90264f901fca00bc0cada816db10e9ef9f46ee2a05f02b2b99d612e9c9a5ac2dc97a2b3f6173ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa09ce1f26175c70250e4fee58bf8df08ca91194ad9d8dad630398723d5f880d5e6a07bbad74a5b4f94ab79f9c09a33e7bc62ee345c027b337fdc7365ad8a7b4d4881a0b3b4ec2d65fd7d606c836a67f6121ffbdc990a14edec6aa97c70b42669a52b3fb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff8252158203e800a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183061a8094100000000000000000000000000000000000000080801ca0436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3a017eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360c0",
75+
"blockHeader" : {
76+
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
77+
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
78+
"difficulty" : "0x020000",
79+
"extraData" : "0x00",
80+
"gasLimit" : "0x7fffffffffffffff",
81+
"gasUsed" : "0x5215",
82+
"hash" : "0xb9cbba769cbbc6694f2a50d3cde54eb7865eb915a3bf4ed30ac40d22e53c4642",
83+
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
84+
"nonce" : "0x0000000000000000",
85+
"number" : "0x01",
86+
"parentHash" : "0x0bc0cada816db10e9ef9f46ee2a05f02b2b99d612e9c9a5ac2dc97a2b3f6173b",
87+
"receiptTrie" : "0xb3b4ec2d65fd7d606c836a67f6121ffbdc990a14edec6aa97c70b42669a52b3f",
88+
"stateRoot" : "0x9ce1f26175c70250e4fee58bf8df08ca91194ad9d8dad630398723d5f880d5e6",
89+
"timestamp" : "0x03e8",
90+
"transactionsTrie" : "0x7bbad74a5b4f94ab79f9c09a33e7bc62ee345c027b337fdc7365ad8a7b4d4881",
91+
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
92+
},
93+
"transactions" : [
94+
{
95+
"data" : "0x",
96+
"gasLimit" : "0x061a80",
97+
"gasPrice" : "0x01",
98+
"nonce" : "0x00",
99+
"to" : "0x1000000000000000000000000000000000000000",
100+
"value" : "0x00",
101+
"v" : "0x1c",
102+
"r" : "0x436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3",
103+
"s" : "0x17eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360"
104+
}
105+
]
106+
}
107+
]
108+
}
109+
}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"shouldErrorWhenExecuteBeginSub_d0g0v0_Berlin" : {
3+
"_info" : {
4+
"comment" : "",
5+
"filling-rpc-server" : "besu/v1.4.7/osx-x86_64/adoptopenjdk-java-13",
6+
"filling-tool-version" : "retesteth-0.0.2+commit.e8018889.Darwin.appleclang",
7+
"lllcversion" : "Version: 0.5.14-develop.2020.6.3+commit.f07a86ee.mod.Darwin.appleclang",
8+
"source" : "src/GeneralStateTestsFiller/stSubroutine/shouldErrorWhenExecuteBeginSubFiller.json",
9+
"sourceHash" : "6a244e250053090b634821730e4ee3d26ac9a819807b861f5c461d90f0274e87"
10+
},
11+
"genesisBlockHeader" : {
12+
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
13+
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
14+
"difficulty" : "0x020000",
15+
"extraData" : "0x00",
16+
"gasLimit" : "0x7fffffffffffffff",
17+
"gasUsed" : "0x00",
18+
"hash" : "0x1549c5360347c715a62f3053e9aeec282bcc9aec0adad3ed499cf05234e536d1",
19+
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
20+
"nonce" : "0x0000000000000000",
21+
"number" : "0x00",
22+
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
23+
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
24+
"stateRoot" : "0x10a73cf73efdec799e737a68e45148083b0f61faca7da795cf8facccb735cc6a",
25+
"timestamp" : "0x00",
26+
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
27+
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
28+
},
29+
"pre" : {
30+
"0x1000000000000000000000000000000000000000" : {
31+
"balance" : "0x0de0b6b3a7640000",
32+
"code" : "0x6104005c00",
33+
"nonce" : "0x00",
34+
"storage" : {
35+
}
36+
},
37+
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
38+
"balance" : "0x0fffffffffffffffffffffffffffffffffffffffff",
39+
"code" : "0x",
40+
"nonce" : "0x00",
41+
"storage" : {
42+
}
43+
}
44+
},
45+
"postState" : {
46+
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
47+
"code" : "0x",
48+
"nonce" : "0x01",
49+
"balance" : "0x0fffffffffffffffffffffffffffffffffff00000d",
50+
"storage" : {
51+
}
52+
},
53+
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
54+
"code" : "0x",
55+
"nonce" : "0x00",
56+
"balance" : "0x1bc16d674fc7fff2",
57+
"storage" : {
58+
}
59+
},
60+
"0x1000000000000000000000000000000000000000" : {
61+
"code" : "0x6104005c00",
62+
"nonce" : "0x00",
63+
"balance" : "0x0de0b6b3a7640000",
64+
"storage" : {
65+
}
66+
}
67+
},
68+
"network" : "Berlin",
69+
"sealEngine" : "NoProof",
70+
"lastblockhash" : "0x143b6015392ae584a79b083dda279c9555c0a92497ff947d31f5d16bd1b1ae03",
71+
"genesisRLP" : "0xf901fdf901f8a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa010a73cf73efdec799e737a68e45148083b0f61faca7da795cf8facccb735cc6aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
72+
"blocks" : [
73+
{
74+
"rlp" : "0xf90265f901fda01549c5360347c715a62f3053e9aeec282bcc9aec0adad3ed499cf05234e536d1a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0c50128af157d110576d52f209cb64b644642256d9f65efd4cdbae6dbfb473591a0b86351ce31ef677b4e79e136df7c70b112a57f716ad14a0fd1b1b8bfa7642a52a0eea6e11081825ff91d5fa1bc7ba4cb4bbde803f37d907064ee0e3d93bb7fabb2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff83fffff28203e800a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183fffff294100000000000000000000000000000000000000080801ba00b21a9ad27313b9653967f1c6c9efc9a6d5d593005799cacbb1c0c3c841cbd01a02d9710b98d8d298b7c66bf0cb06190a6c0ecc9bce13a2c4d832495e60d1dfd4dc0",
75+
"blockHeader" : {
76+
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
77+
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
78+
"difficulty" : "0x020000",
79+
"extraData" : "0x00",
80+
"gasLimit" : "0x7fffffffffffffff",
81+
"gasUsed" : "0xfffff2",
82+
"hash" : "0x143b6015392ae584a79b083dda279c9555c0a92497ff947d31f5d16bd1b1ae03",
83+
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
84+
"nonce" : "0x0000000000000000",
85+
"number" : "0x01",
86+
"parentHash" : "0x1549c5360347c715a62f3053e9aeec282bcc9aec0adad3ed499cf05234e536d1",
87+
"receiptTrie" : "0xeea6e11081825ff91d5fa1bc7ba4cb4bbde803f37d907064ee0e3d93bb7fabb2",
88+
"stateRoot" : "0xc50128af157d110576d52f209cb64b644642256d9f65efd4cdbae6dbfb473591",
89+
"timestamp" : "0x03e8",
90+
"transactionsTrie" : "0xb86351ce31ef677b4e79e136df7c70b112a57f716ad14a0fd1b1b8bfa7642a52",
91+
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
92+
},
93+
"transactions" : [
94+
{
95+
"data" : "0x",
96+
"gasLimit" : "0xfffff2",
97+
"gasPrice" : "0x01",
98+
"nonce" : "0x00",
99+
"to" : "0x1000000000000000000000000000000000000000",
100+
"value" : "0x00",
101+
"v" : "0x1b",
102+
"r" : "0x0b21a9ad27313b9653967f1c6c9efc9a6d5d593005799cacbb1c0c3c841cbd01",
103+
"s" : "0x2d9710b98d8d298b7c66bf0cb06190a6c0ecc9bce13a2c4d832495e60d1dfd4d"
104+
}
105+
]
106+
}
107+
]
108+
}
109+
}

0 commit comments

Comments
 (0)