diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-07-28 14:35:02 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-07-28 14:35:02 +0800 |
commit | d88884d2470b99f5ce7ad16acd5e6852a11890ac (patch) | |
tree | 292c116917a776a4c67347b7dadbd7a832bc6f25 | |
parent | e0b800e3981e3f436a6bcdd9cb3266778b54221c (diff) | |
download | dexon-tests-d88884d2470b99f5ce7ad16acd5e6852a11890ac.tar dexon-tests-d88884d2470b99f5ce7ad16acd5e6852a11890ac.tar.gz dexon-tests-d88884d2470b99f5ce7ad16acd5e6852a11890ac.tar.bz2 dexon-tests-d88884d2470b99f5ce7ad16acd5e6852a11890ac.tar.lz dexon-tests-d88884d2470b99f5ce7ad16acd5e6852a11890ac.tar.xz dexon-tests-d88884d2470b99f5ce7ad16acd5e6852a11890ac.tar.zst dexon-tests-d88884d2470b99f5ce7ad16acd5e6852a11890ac.zip |
add extcodecopy stack test
-rw-r--r-- | StateTests/RandomTests/st201507231150PYTHON.json | 78 | ||||
-rw-r--r-- | StateTests/stSystemOperationsTest.json | 76 |
2 files changed, 76 insertions, 78 deletions
diff --git a/StateTests/RandomTests/st201507231150PYTHON.json b/StateTests/RandomTests/st201507231150PYTHON.json deleted file mode 100644 index b24879a29..000000000 --- a/StateTests/RandomTests/st201507231150PYTHON.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "randomStatetest2" : { - "env" : { - "currentCoinbase" : "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82", - "currentDifficulty" : "0x7fb7d889155ce8c6", - "currentGasLimit" : "0x58272e28", - "currentNumber" : "0x7608d138", - "currentTimestamp" : "0xa4befad141d51c4f", - "previousHash" : "d30f77155de00f207ad60109897e790f73e9f3431be25717bf3651d91949f041" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "000000000000000000000000000000001cd49878" : { - "balance" : "0x2a6bb607", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82" : { - "balance" : "0x06c5a7f85ff0", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x4d6769f8", - "code" : "0x5a60106017601160116018601c600f601b601d5f60026013600f601a8d5a5b7679177b5dd41a23db52998c4dcd14e88390dcc9f3ed5783601660145f6013600d601f60016011600e600c600d601f60138c7a58f20fd882eb51408a52e569ce80e93270ab53ae9de3fec5498a5c72ce1fcd11bb1553736959df779a616b738c1f407c12459490afe302da311a673488d09e71041d0761dee4829e3c38e0b1b1787810f2e11e2289983c1ab47cf5ebd38c12f1719232b5f3a7b27a9ea8858a071c4169392ec725646311235cbd9534e5d7cd8cb5e2287738a43f803384f4e62fe6629ea2e609a71759edab5c3a58b87e94c95f710aa6059b0663c9f374ce6ea0a000c5d594c41252d4a74d64896a987cc57c24df2ce8ffb85adcc27dce2d19f7006fbc1c5a7b79a319418fd6c27ddebcf170192262d82c1053333f6115c8b258b81e2e84d723c98dbd4535de7f922723a15827bbcfd07f9e2c5027c7736ed68c61b332059d7ec1bae1c1fd41a361d35b996d9740a588b6abf3293236afb927717328c014846148ce67eaf2b33d90672366dafeaae0714eb39e7fd5076a831d8eb4a3546288a3e1a0087aebe80b6bbfa4041330b05d094a697236fe7654d8a7ce630f83a832620125d781666e898f7fdcfd0031", - "nonce" : "0xdd", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x4f6ca0f3404f688d", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "4a6e5e51ebb2fc8d2bff38da7653e00f745c8cb626b4f2d1d6e783cf5900f747", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x05c81eb0", - "code" : "0x7f15688566a82f5f946c68028bf626b349e495daa43e33529a76437ac416cd1b7d6e7dae7454bb193b1c28e64a6a935bc373cea0c5cc171fa61277e5604a3bc8aef4de3d38820658600b80797ada6e82e95f6520383f95f5c7dae56b4dc13b6f22ecabfce07c3cff51", - "nonce" : "0xfe", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x4d6769f8", - "code" : "0x5a60106017601160116018601c600f601b601d5f60026013600f601a8d5a5b7679177b5dd41a23db52998c4dcd14e88390dcc9f3ed5783601660145f6013600d601f60016011600e600c600d601f60138c7a58f20fd882eb51408a52e569ce80e93270ab53ae9de3fec5498a5c72ce1fcd11bb1553736959df779a616b738c1f407c12459490afe302da311a673488d09e71041d0761dee4829e3c38e0b1b1787810f2e11e2289983c1ab47cf5ebd38c12f1719232b5f3a7b27a9ea8858a071c4169392ec725646311235cbd9534e5d7cd8cb5e2287738a43f803384f4e62fe6629ea2e609a71759edab5c3a58b87e94c95f710aa6059b0663c9f374ce6ea0a000c5d594c41252d4a74d64896a987cc57c24df2ce8ffb85adcc27dce2d19f7006fbc1c5a7b79a319418fd6c27ddebcf170192262d82c1053333f6115c8b258b81e2e84d723c98dbd4535de7f922723a15827bbcfd07f9e2c5027c7736ed68c61b332059d7ec1bae1c1fd41a361d35b996d9740a588b6abf3293236afb927717328c014846148ce67eaf2b33d90672366dafeaae0714eb39e7fd5076a831d8eb4a3546288a3e1a0087aebe80b6bbfa4041330b05d094a697236fe7654d8a7ce630f83a832620125d781666e898f7fdcfd0031", - "nonce" : "0xdd", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x4f6ca7b90ceb5fd4", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "0x6e27b0577f2549e5fa01e3db96e7b03a62e489115538620295677faf15040c1c1796bad130e2462a8b8d6bbe0fa35bf12087047ef4ff4e66df8772196b4401998ff7f4219c013a0d927b22d8d3fdf625809abb182507d180e687b666f4f1e4f3b8172e87760f436c701264b89739f3d7c50ec524f16b1a4f91397b760a5209b9b7710544694ecf2729643b3ca545c7", - "gasLimit" : "0x3bd760dd", - "gasPrice" : "0x1cd49878", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x24a39757" - } - } -} diff --git a/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json index 4fd9fd310..7f7cb1220 100644 --- a/StateTests/stSystemOperationsTest.json +++ b/StateTests/stSystemOperationsTest.json @@ -18022,6 +18022,82 @@ "value" : "0x0186a0" } }, + "extcodecopy" : { + "env" : { + "currentCoinbase" : "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82", + "currentDifficulty" : "0x7fb7d889155ce8c6", + "currentGasLimit" : "0x58272e28", + "currentNumber" : "0x7608d138", + "currentTimestamp" : "0xa4befad141d51c4f", + "previousHash" : "d30f77155de00f207ad60109897e790f73e9f3431be25717bf3651d91949f041" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "00000000002147c39fd6b5c19b7b89fc003e6b16" : { + "balance" : "0x2a6bb607", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82" : { + "balance" : "0x06c5a7f85ff0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x4d6769f8", + "code" : "0x5a60106017601160116018601c600f601b601d5f60026013600f601a8d5a5b7679177b5dd41a23db52998c4dcd14e88390dcc9f3ed5783601660145f6013600d601f60016011600e600c600d601f60138c7a58f20fd882eb51408a52e569ce80e93270ab53ae9de3fec5498a5c72ce1fcd11bb1553736959df779a616b738c1f407c12459490afe302da311a673488d09e71041d0761dee4829e3c38e0b1b1787810f2e11e2289983c1ab47cf5ebd38c12f1719232b5f3a7b27a9ea8858a071c4169392ec725646311235cbd9534e5d7cd8cb5e2287738a43f803384f4e62fe6629ea2e609a71759edab5c3a58b87e94c95f710aa6059b0663c9f374ce6ea0a000c5d594c41252d4a74d64896a987cc57c24df2ce8ffb85adcc27dce2d19f7006fbc1c5a7b79a319418fd6c27ddebcf170192262d82c1053333f6115c8b258b81e2e84d723c98dbd4535de7f922723a15827bbcfd07f9e2c5027c7736ed68c61b332059d7ec1bae1c1fd41a361d35b996d9740a588b6abf3293236afb927717328c014846148ce67eaf2b33d90672366dafeaae0714eb39e7fd5076a831d8eb4a3546288a3e1a0087aebe80b6bbfa4041330b05d094a697236fe7654d8a7ce630f83a832620125d781666e898f7fdcfd0031", + "nonce" : "0xdd", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x4f6ca0f3404f688d", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "19cf4c2d1e51b64210c6fe4b0094f8e592a5ac333234495a948f6a3c694453e3", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x05c81eb0", + "code" : "0x7f15688566a82f5f946c68028bf626b349e495daa43e33529a76437ac416cd1b7d6e7dae7454bb193b1c28e64a6a935bc373cea0c5cc171fa61277e5604a3bc8aef4de3d38820658600b80797ada6e82e95f6520383f95f5c7dae56b4dc13b6f22ecabfce07c3cff51", + "nonce" : "0xfe", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x4d6769f8", + "code" : "0x5a60106017601160116018601c600f601b601d5f60026013600f601a8d5a5b7679177b5dd41a23db52998c4dcd14e88390dcc9f3ed5783601660145f6013600d601f60016011600e600c600d601f60138c7a58f20fd882eb51408a52e569ce80e93270ab53ae9de3fec5498a5c72ce1fcd11bb1553736959df779a616b738c1f407c12459490afe302da311a673488d09e71041d0761dee4829e3c38e0b1b1787810f2e11e2289983c1ab47cf5ebd38c12f1719232b5f3a7b27a9ea8858a071c4169392ec725646311235cbd9534e5d7cd8cb5e2287738a43f803384f4e62fe6629ea2e609a71759edab5c3a58b87e94c95f710aa6059b0663c9f374ce6ea0a000c5d594c41252d4a74d64896a987cc57c24df2ce8ffb85adcc27dce2d19f7006fbc1c5a7b79a319418fd6c27ddebcf170192262d82c1053333f6115c8b258b81e2e84d723c98dbd4535de7f922723a15827bbcfd07f9e2c5027c7736ed68c61b332059d7ec1bae1c1fd41a361d35b996d9740a588b6abf3293236afb927717328c014846148ce67eaf2b33d90672366dafeaae0714eb39e7fd5076a831d8eb4a3546288a3e1a0087aebe80b6bbfa4041330b05d094a697236fe7654d8a7ce630f83a832620125d781666e898f7fdcfd0031", + "nonce" : "0xdd", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x4f6ca7b90ceb5fd4", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "0x6e27b0577f2549e5fa01e3db96e7b03a62e489115538620295677faf15040c1c1796bad130e2462a8b8d6bbe0fa35bf12087047ef4ff4e66df8772196b4401998ff7f4219c013a0d927b22d8d3fdf625809abb182507d180e687b666f4f1e4f3b8172e87760f436c701264b89739f3d7c50ec524f16b1a4f91397b760a5209b9b7710544694ecf2729643b3ca545c7", + "gasLimit" : "0x3bd760dd", + "gasPrice" : "0x1cd49878", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0x24a39757" + } + }, "return0" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", |