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 3 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 @@
{
"shouldErrorWhenReturnStackGrowsAbove1023_d0g0v0_Berlin" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "besu/v1.4.5/osx-x86_64/adoptopenjdk-java-13",
"filling-tool-version" : "retesteth-0.0.2+commit.e8018889.Darwin.appleclang",
"lllcversion" : "Version: 0.5.14-develop.2020.4.27+commit.8f259595.Darwin.appleclang",
"source" : "src/GeneralStateTestsFiller/stSubroutine/shouldErrorWhenReturnStackGrowsAbove1023Filler.json",
"sourceHash" : "1fc2ab50ce6aa5705db007dc414b84ebf168af6983104416e93228a178ffb81f"
},
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x00",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0x00",
"hash" : "0x1391e34d4fe8c66d9288762a44df4355d4ac9c3dc4cf036b9a476e780ba2e956",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xe92905f37bc2174260d37870cfb657a23601b425e393f3595c2ab7431ed2213e",
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x610401600055b260016000540380156018576000556006b35b",
"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" : "0x610401600055b260016000540380156018576000556006b35b",
"nonce" : "0x00",
"balance" : "0x0de0b6b3a7640000",
"storage" : {
}
}
},
"network" : "Berlin",
"sealEngine" : "NoProof",
"lastblockhash" : "0x7c413be7eb6d8129bc1716c0d41c95c56e9f09cd6ba8f6b3683dd225e78a5820",
"genesisRLP" : "0xf901fdf901f8a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e92905f37bc2174260d37870cfb657a23601b425e393f3595c2ab7431ed2213ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
"blocks" : [
{
"rlp" : "0xf90265f901fda01391e34d4fe8c66d9288762a44df4355d4ac9c3dc4cf036b9a476e780ba2e956a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0039ba54065886f34888bb0c5a2670c32842b2c527ec2e27f1d350a28ef253d34a0b86351ce31ef677b4e79e136df7c70b112a57f716ad14a0fd1b1b8bfa7642a52a0eea6e11081825ff91d5fa1bc7ba4cb4bbde803f37d907064ee0e3d93bb7fabb2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff83fffff28203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183fffff294100000000000000000000000000000000000000080801ba00b21a9ad27313b9653967f1c6c9efc9a6d5d593005799cacbb1c0c3c841cbd01a02d9710b98d8d298b7c66bf0cb06190a6c0ecc9bce13a2c4d832495e60d1dfd4dc0",
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0xfffff2",
"hash" : "0x7c413be7eb6d8129bc1716c0d41c95c56e9f09cd6ba8f6b3683dd225e78a5820",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x1391e34d4fe8c66d9288762a44df4355d4ac9c3dc4cf036b9a476e780ba2e956",
"receiptTrie" : "0xeea6e11081825ff91d5fa1bc7ba4cb4bbde803f37d907064ee0e3d93bb7fabb2",
"stateRoot" : "0x039ba54065886f34888bb0c5a2670c32842b2c527ec2e27f1d350a28ef253d34",
"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"
}
]
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"shouldSucceedWhenReturnStackGrowsUntil1023_d0g0v0_Berlin" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "besu/v1.4.5/osx-x86_64/adoptopenjdk-java-13",
"filling-tool-version" : "retesteth-0.0.2+commit.e8018889.Darwin.appleclang",
"lllcversion" : "Version: 0.5.14-develop.2020.4.27+commit.8f259595.Darwin.appleclang",
"source" : "src/GeneralStateTestsFiller/stSubroutine/shouldSucceedWhenReturnStackGrowsUntil1023Filler.json",
"sourceHash" : "e97982f71193a575f6b784a5f8312784faaed45e9d61d23a4e07ab44108b767b"
},
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x00",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0x00",
"hash" : "0x4d2cdbb4464a661e9397a6f8294075c591d7d3e4ef9145b9bb46e91b587f6ef4",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xac4201c789106bdb0292e16a2febed9ac8a384e358fa8acf43e6e0d555231238",
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x610400600055b260016000540380156018576000556006b35b",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0fffffffffffffffffffffffffffffffffffffffff",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
}
},
"postState" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"code" : "0x",
"nonce" : "0x01",
"balance" : "0x0fffffffffffffffffffffffffffffffffffe5b6fe",
"storage" : {
}
},
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"code" : "0x",
"nonce" : "0x00",
"balance" : "0x1bc16d674ee24901",
"storage" : {
}
},
"0x1000000000000000000000000000000000000000" : {
"code" : "0x610400600055b260016000540380156018576000556006b35b",
"nonce" : "0x00",
"balance" : "0x0de0b6b3a7640000",
"storage" : {
"0x" : "0x01"
}
}
},
"network" : "Berlin",
"sealEngine" : "NoProof",
"lastblockhash" : "0x15afa8015d872690478542bb0f307b2fe1d1253f52923c967ee2c541dc9d0bc6",
"genesisRLP" : "0xf901fdf901f8a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ac4201c789106bdb0292e16a2febed9ac8a384e358fa8acf43e6e0d555231238a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
"blocks" : [
{
"rlp" : "0xf90265f901fda04d2cdbb4464a661e9397a6f8294075c591d7d3e4ef9145b9bb46e91b587f6ef4a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa045137bdc4f9565bf26577271fbd07276ef1846d1376704dafce3b424b1e94a40a0b86351ce31ef677b4e79e136df7c70b112a57f716ad14a0fd1b1b8bfa7642a52a053e2d98219b86ddd113912c22c1abfdbd64d4f1582572c9efc7b937eae60f99eb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff831a49018203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183fffff294100000000000000000000000000000000000000080801ba00b21a9ad27313b9653967f1c6c9efc9a6d5d593005799cacbb1c0c3c841cbd01a02d9710b98d8d298b7c66bf0cb06190a6c0ecc9bce13a2c4d832495e60d1dfd4dc0",
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x020000",
"extraData" : "0x",
"gasLimit" : "0x7fffffffffffffff",
"gasUsed" : "0x1a4901",
"hash" : "0x15afa8015d872690478542bb0f307b2fe1d1253f52923c967ee2c541dc9d0bc6",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x4d2cdbb4464a661e9397a6f8294075c591d7d3e4ef9145b9bb46e91b587f6ef4",
"receiptTrie" : "0x53e2d98219b86ddd113912c22c1abfdbd64d4f1582572c9efc7b937eae60f99e",
"stateRoot" : "0x45137bdc4f9565bf26577271fbd07276ef1846d1376704dafce3b424b1e94a40",
"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