Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EIP2315] Add tests for subroutines #685

Merged
merged 7 commits into from
May 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"beginSubAtEndOfCode_d0g0v0_Berlin" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "besu/1.4.6/osx-x86_64/adoptopenjdk-java-13",
"filling-tool-version" : "retesteth-0.0.2+commit.e8018889.Darwin.appleclang",
"lllcversion" : "Version: 0.5.14-develop.2020.5.12+commit.dc43d470.mod.Darwin.appleclang",
"source" : "src/GeneralStateTestsFiller/stSubroutine/beginSubAtEndOfCodeFiller.json",
"sourceHash" : "d1f81beceb1b1d31a837eb3dfa66b4ed7952fc0000359ee94b31d81ae1b482e5"
},
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x00",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0x00",
"hash" : "0xbb3f13d936305c2da2980b7c4248cef9073db0a6f20011919116396a1cfe5b56",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0x1ef706b23b7aaeabcd3f5cba309ad5d3c5283057d297ec8eee18f9be62603ad8",
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x6003b3b2",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x7fffffffffffffff",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
}
},
"postState" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"code" : "0x",
"nonce" : "0x01",
"balance" : "0x7fffffffffffadec",
"storage" : {
}
},
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"code" : "0x",
"nonce" : "0x00",
"balance" : "0x1bc16d674ec85213",
"storage" : {
}
},
"0x1000000000000000000000000000000000000000" : {
"code" : "0x6003b3b2",
"nonce" : "0x00",
"balance" : "0x0de0b6b3a7640000",
"storage" : {
}
}
},
"network" : "Berlin",
"sealEngine" : "NoProof",
"lastblockhash" : "0x8d19ba84e900622658194dc92012dd905eed7e870f28a432bb8ee6b4874f9afd",
"genesisRLP" : "0xf901fdf901f8a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa01ef706b23b7aaeabcd3f5cba309ad5d3c5283057d297ec8eee18f9be62603ad8a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
"blocks" : [
{
"rlp" : "0xf90264f901fca0bb3f13d936305c2da2980b7c4248cef9073db0a6f20011919116396a1cfe5b56a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f4d00db9cc78e8c5532874318d537af319a437614ccf0efcbe3bbbcc2f5415f7a07bbad74a5b4f94ab79f9c09a33e7bc62ee345c027b337fdc7365ad8a7b4d4881a09be9b4f3d6206c77bfbbddf025bed57b2d56ff19b4e981df7cbe56b21fe53f15b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff8252138203e800a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183061a8094100000000000000000000000000000000000000080801ca0436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3a017eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360c0",
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x00",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0x5213",
"hash" : "0x8d19ba84e900622658194dc92012dd905eed7e870f28a432bb8ee6b4874f9afd",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0xbb3f13d936305c2da2980b7c4248cef9073db0a6f20011919116396a1cfe5b56",
"receiptTrie" : "0x9be9b4f3d6206c77bfbbddf025bed57b2d56ff19b4e981df7cbe56b21fe53f15",
"stateRoot" : "0xf4d00db9cc78e8c5532874318d537af319a437614ccf0efcbe3bbbcc2f5415f7",
"timestamp" : "0x03e8",
"transactionsTrie" : "0x7bbad74a5b4f94ab79f9c09a33e7bc62ee345c027b337fdc7365ad8a7b4d4881",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"transactions" : [
{
"data" : "0x",
"gasLimit" : "0x061a80",
"gasPrice" : "0x01",
"nonce" : "0x00",
"to" : "0x1000000000000000000000000000000000000000",
"value" : "0x00",
"v" : "0x1c",
"r" : "0x436c8420915217ae867d043179d78b4a8abc7a66f7658df0a06d4aa1f60475f3",
"s" : "0x17eab00aa21e61a07156519a1639a46bf5fb97e3fb07ea39ca885e9bb9145360"
}
]
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"shouldErrorWhenExecuteBeginSub_d0g0v0_Berlin" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "besu/1.4.6/osx-x86_64/adoptopenjdk-java-13",
"filling-tool-version" : "retesteth-0.0.2+commit.e8018889.Darwin.appleclang",
"lllcversion" : "Version: 0.5.14-develop.2020.5.12+commit.dc43d470.mod.Darwin.appleclang",
"source" : "src/GeneralStateTestsFiller/stSubroutine/shouldErrorWhenExecuteBeginSubFiller.json",
"sourceHash" : "902ec2e633fd002afa88a772b6de2974dcb407c53ca76d910f0772a8771d81b2"
},
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x00",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0x00",
"hash" : "0x417cc4019a8311cb7091fced79cb96e262fcfc268f3aa42cef2cec29d45aaac1",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xadc589b5f8346f1e4418ce250d97e60df42dd24f0b51ef405f8bc6e1f64a8c75",
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x610400b2",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0fffffffffffffffffffffffffffffffffffffffff",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
}
},
"postState" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"code" : "0x",
"nonce" : "0x01",
"balance" : "0x0fffffffffffffffffffffffffffffffffff00000d",
"storage" : {
}
},
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"code" : "0x",
"nonce" : "0x00",
"balance" : "0x1bc16d674fc7fff2",
"storage" : {
}
},
"0x1000000000000000000000000000000000000000" : {
"code" : "0x610400b2",
"nonce" : "0x00",
"balance" : "0x0de0b6b3a7640000",
"storage" : {
}
}
},
"network" : "Berlin",
"sealEngine" : "NoProof",
"lastblockhash" : "0x016b7572975ab262fd86c7e90dcb3b9896b804f50d40528ea0811d8ca0ac3934",
"genesisRLP" : "0xf901fdf901f8a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0adc589b5f8346f1e4418ce250d97e60df42dd24f0b51ef405f8bc6e1f64a8c75a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
"blocks" : [
{
"rlp" : "0xf90265f901fda0417cc4019a8311cb7091fced79cb96e262fcfc268f3aa42cef2cec29d45aaac1a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ace5cea69006b1f93b3b4e191a6cac4acaf22c36f3f5d30593a321fc2549c69fa0b86351ce31ef677b4e79e136df7c70b112a57f716ad14a0fd1b1b8bfa7642a52a0eea6e11081825ff91d5fa1bc7ba4cb4bbde803f37d907064ee0e3d93bb7fabb2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff83fffff28203e800a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183fffff294100000000000000000000000000000000000000080801ba00b21a9ad27313b9653967f1c6c9efc9a6d5d593005799cacbb1c0c3c841cbd01a02d9710b98d8d298b7c66bf0cb06190a6c0ecc9bce13a2c4d832495e60d1dfd4dc0",
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x00",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0xfffff2",
"hash" : "0x016b7572975ab262fd86c7e90dcb3b9896b804f50d40528ea0811d8ca0ac3934",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x417cc4019a8311cb7091fced79cb96e262fcfc268f3aa42cef2cec29d45aaac1",
"receiptTrie" : "0xeea6e11081825ff91d5fa1bc7ba4cb4bbde803f37d907064ee0e3d93bb7fabb2",
"stateRoot" : "0xace5cea69006b1f93b3b4e191a6cac4acaf22c36f3f5d30593a321fc2549c69f",
"timestamp" : "0x03e8",
"transactionsTrie" : "0xb86351ce31ef677b4e79e136df7c70b112a57f716ad14a0fd1b1b8bfa7642a52",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"transactions" : [
{
"data" : "0x",
"gasLimit" : "0xfffff2",
"gasPrice" : "0x01",
"nonce" : "0x00",
"to" : "0x1000000000000000000000000000000000000000",
"value" : "0x00",
"v" : "0x1b",
"r" : "0x0b21a9ad27313b9653967f1c6c9efc9a6d5d593005799cacbb1c0c3c841cbd01",
"s" : "0x2d9710b98d8d298b7c66bf0cb06190a6c0ecc9bce13a2c4d832495e60d1dfd4d"
}
]
}
]
}
}
Loading