diff options
author | Dimitry <dimitry@ethdev.com> | 2016-11-02 23:36:33 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2016-11-02 23:36:33 +0800 |
commit | 853333e7da312775fb8f32f2c2771b8578cd0d79 (patch) | |
tree | 05f550a0f27d543bf52dae975b8a6fb421e15b57 | |
parent | cc6aaba2956b12e074a83ffb4c530787ab8e9bb3 (diff) | |
download | tangerine-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar tangerine-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.gz tangerine-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.bz2 tangerine-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.lz tangerine-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.xz tangerine-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.zst tangerine-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.zip |
fix wrong solidity in tests (not hf related)
-rw-r--r-- | StateTests/EIP150/Homestead/stDelegatecallTest.json | 12 | ||||
-rw-r--r-- | StateTests/EIP150/Homestead/stPreCompiledContracts.json | 24 | ||||
-rw-r--r-- | StateTests/EIP150/Homestead/stSystemOperationsTest.json | 179 | ||||
-rw-r--r-- | StateTests/EIP158/Homestead/stDelegatecallTest.json | 12 | ||||
-rw-r--r-- | StateTests/EIP158/Homestead/stPreCompiledContracts.json | 24 | ||||
-rw-r--r-- | StateTests/EIP158/Homestead/stSystemOperationsTest.json | 179 | ||||
-rw-r--r-- | StateTests/Homestead/stDelegatecallTest.json | 12 | ||||
-rw-r--r-- | StateTests/Homestead/stPreCompiledContracts.json | 24 | ||||
-rw-r--r-- | StateTests/Homestead/stSystemOperationsTest.json | 107 | ||||
-rw-r--r-- | StateTests/stPreCompiledContracts.json | 24 | ||||
-rw-r--r-- | StateTests/stSystemOperationsTest.json | 305 | ||||
-rw-r--r-- | VMTests/vmEnvironmentalInfoTest.json | 8 | ||||
-rw-r--r-- | VMTests/vmIOandFlowOperationsTest.json | 4 | ||||
-rw-r--r-- | VMTests/vmPushDupSwapTest.json | 43 | ||||
-rw-r--r-- | VMTests/vmSystemOperationsTest.json | 62 |
15 files changed, 504 insertions, 515 deletions
diff --git a/StateTests/EIP150/Homestead/stDelegatecallTest.json b/StateTests/EIP150/Homestead/stDelegatecallTest.json index 8de8e3091..68e5a74e8 100644 --- a/StateTests/EIP150/Homestead/stDelegatecallTest.json +++ b/StateTests/EIP150/Homestead/stDelegatecallTest.json @@ -2348,11 +2348,11 @@ "nonce" : "0x00", "storage" : { "0x00" : "0x01", - "0x01" : "0x80" + "0x01" : "0x17" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xf125", + "balance" : "0xf124", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -2360,20 +2360,20 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6080600155", + "code" : "0x34600155", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7630ec4", + "balance" : "0x0de0b6b3a7630ec5", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "48bff583115901da1892da1ff92bcf59f3f61e643edb2e05df7f6bffabe248b0", + "postStateRoot" : "14122ff01c9fbf8e582d0f8e8b334179bc3cbb23eaa4b8a110fd68f1b837c2da", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", @@ -2384,7 +2384,7 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6080600155", + "code" : "0x34600155", "nonce" : "0x00", "storage" : { } diff --git a/StateTests/EIP150/Homestead/stPreCompiledContracts.json b/StateTests/EIP150/Homestead/stPreCompiledContracts.json index e4e5f098e..b8b944f3b 100644 --- a/StateTests/EIP150/Homestead/stPreCompiledContracts.json +++ b/StateTests/EIP150/Homestead/stPreCompiledContracts.json @@ -3520,34 +3520,34 @@ }, "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x01ace7", + "balance" : "0x01ace6", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a760cc79", + "balance" : "0x0de0b6b3a760cc7a", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "ac30fc2519ce7eeea5d2df68220b613efb0a1ee5946c5a1e8389634fc559e445", + "postStateRoot" : "638e4110cba967f52d8f95485362b38bb194d4391e05d0aef00e5dfd6a5a82a6", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } @@ -3592,34 +3592,34 @@ }, "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0x1122334455667788990011223344556677889900112233445566778899001122", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x01ace7", + "balance" : "0x01ace6", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a760cc79", + "balance" : "0x0de0b6b3a760cc7a", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "7ffb1dabfca05d63b880ca38e30fd854c827c58311203a945ad7e4864dc71a97", + "postStateRoot" : "04d25dda2e050f8dd39e03aab9e6b2d2ce018d5e1df87f6b2f19ed982baace27", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } diff --git a/StateTests/EIP150/Homestead/stSystemOperationsTest.json b/StateTests/EIP150/Homestead/stSystemOperationsTest.json index a317ee094..6059b229f 100644 --- a/StateTests/EIP150/Homestead/stSystemOperationsTest.json +++ b/StateTests/EIP150/Homestead/stSystemOperationsTest.json @@ -457,6 +457,82 @@ "value" : "0x0186a0" } }, + "CALLToReturn1" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x259518", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", + "nonce" : "0x00", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x021244", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a760671c", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "cf281a71bc15700f070763cc8f219504b57d8a01bde6a36cd5b08a497625b61c", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0493e0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0x0186a0" + } + }, "Call10" : { "env" : { "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", @@ -6290,7 +6366,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -6362,7 +6438,7 @@ "value" : "0x0186a0" } }, - "PostToReturn1" : { + "DELEGATECALLToReturn1" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", @@ -6377,13 +6453,13 @@ "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa602052600260006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350f4600055", "nonce" : "0x00", "storage" : { } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x5223", + "balance" : "0x012bc9", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -6391,31 +6467,31 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x603760005360026000f2", + "code" : "0x6001600155603760005360026000f2", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a762273d", + "balance" : "0x0de0b6b3a7614d97", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "c27f0d5e8260b639efd5ad04d7f9905dd13ec8c8830462d4b07b8a1227b82068", + "postStateRoot" : "fc23015cf89688c7669a77a925a4e30274d9d435c022d78dc6469708d8b62e07", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa602052600260006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350f4600055", "nonce" : "0x00", "storage" : { } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x603760005360026000f2", + "code" : "0x6001600155603760005360026000f2", "nonce" : "0x00", "storage" : { } @@ -7077,7 +7153,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -7135,83 +7211,6 @@ "value" : "0x0186a0" } }, - "callstatelessToReturn1" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x259518", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - "0x00" : "0x80" - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xa046", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a761d91a", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "2c45b3ae3047a7976d8acaabf89f74374791b6cee9afc350251e3ddafe52343d", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "", - "gasLimit" : "0x0493e0", - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0186a0" - } - }, "createNameRegistrator" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -7807,7 +7806,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -7870,7 +7869,7 @@ "currentCoinbase" : "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82", "currentDifficulty" : "0x7fb7d889155ce8c6", "currentGasLimit" : "0x58272e28", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x259518", "currentTimestamp" : "0xa4befad141d51c4f", "previousHash" : "d30f77155de00f207ad60109897e790f73e9f3431be25717bf3651d91949f041" }, @@ -8524,7 +8523,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x259518", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, diff --git a/StateTests/EIP158/Homestead/stDelegatecallTest.json b/StateTests/EIP158/Homestead/stDelegatecallTest.json index 1df5e74b6..5a32a8170 100644 --- a/StateTests/EIP158/Homestead/stDelegatecallTest.json +++ b/StateTests/EIP158/Homestead/stDelegatecallTest.json @@ -2348,11 +2348,11 @@ "nonce" : "0x00", "storage" : { "0x00" : "0x01", - "0x01" : "0x80" + "0x01" : "0x17" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xf125", + "balance" : "0xf124", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -2360,20 +2360,20 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6080600155", + "code" : "0x34600155", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7630ec4", + "balance" : "0x0de0b6b3a7630ec5", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "48bff583115901da1892da1ff92bcf59f3f61e643edb2e05df7f6bffabe248b0", + "postStateRoot" : "14122ff01c9fbf8e582d0f8e8b334179bc3cbb23eaa4b8a110fd68f1b837c2da", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", @@ -2384,7 +2384,7 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6080600155", + "code" : "0x34600155", "nonce" : "0x00", "storage" : { } diff --git a/StateTests/EIP158/Homestead/stPreCompiledContracts.json b/StateTests/EIP158/Homestead/stPreCompiledContracts.json index 3115df2a0..c8c0dde77 100644 --- a/StateTests/EIP158/Homestead/stPreCompiledContracts.json +++ b/StateTests/EIP158/Homestead/stPreCompiledContracts.json @@ -3450,34 +3450,34 @@ "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x014b3f", + "balance" : "0x014b3e", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7612e21", + "balance" : "0x0de0b6b3a7612e22", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "5c8ddae8ab2048c475ec8ddec29661945c44b76880eee95d8554bda181bf9425", + "postStateRoot" : "64c2d838b0cacb5932e2f2a7f7b5d08db2ef73491dbbc607dcbaef412d057da5", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } @@ -3515,34 +3515,34 @@ "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0x1122334455667788990011223344556677889900112233445566778899001122", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x014b3f", + "balance" : "0x014b3e", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7612e21", + "balance" : "0x0de0b6b3a7612e22", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "32e6d99ccfcf299f7e93503523769bdf5710e164cc0b8e59027061b0911af6d8", + "postStateRoot" : "8f8558ab35c3f053d7e065850a39becadadd83f84b4a9286e2026e5fc6a8f51c", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } diff --git a/StateTests/EIP158/Homestead/stSystemOperationsTest.json b/StateTests/EIP158/Homestead/stSystemOperationsTest.json index f6d152a67..06d3e9e1d 100644 --- a/StateTests/EIP158/Homestead/stSystemOperationsTest.json +++ b/StateTests/EIP158/Homestead/stSystemOperationsTest.json @@ -457,6 +457,82 @@ "value" : "0x0186a0" } }, + "CALLToReturn1" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x3567e0", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", + "nonce" : "0x00", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x021244", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a760671c", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "cf281a71bc15700f070763cc8f219504b57d8a01bde6a36cd5b08a497625b61c", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0493e0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0x0186a0" + } + }, "Call10" : { "env" : { "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", @@ -6290,7 +6366,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x3567e0", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -6362,7 +6438,7 @@ "value" : "0x0186a0" } }, - "PostToReturn1" : { + "DELEGATECALLToReturn1" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", @@ -6377,13 +6453,13 @@ "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa602052600260006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350f4600055", "nonce" : "0x00", "storage" : { } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x5223", + "balance" : "0x012bc9", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -6391,31 +6467,31 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x603760005360026000f2", + "code" : "0x6001600155603760005360026000f2", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a762273d", + "balance" : "0x0de0b6b3a7614d97", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "c27f0d5e8260b639efd5ad04d7f9905dd13ec8c8830462d4b07b8a1227b82068", + "postStateRoot" : "fc23015cf89688c7669a77a925a4e30274d9d435c022d78dc6469708d8b62e07", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa602052600260006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350f4600055", "nonce" : "0x00", "storage" : { } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x603760005360026000f2", + "code" : "0x6001600155603760005360026000f2", "nonce" : "0x00", "storage" : { } @@ -7077,7 +7153,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x3567e0", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -7135,83 +7211,6 @@ "value" : "0x0186a0" } }, - "callstatelessToReturn1" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x3567e0", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - "0x00" : "0x80" - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xa046", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a761d91a", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "2c45b3ae3047a7976d8acaabf89f74374791b6cee9afc350251e3ddafe52343d", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "", - "gasLimit" : "0x0493e0", - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0186a0" - } - }, "createNameRegistrator" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -7807,7 +7806,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x3567e0", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -7870,7 +7869,7 @@ "currentCoinbase" : "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82", "currentDifficulty" : "0x7fb7d889155ce8c6", "currentGasLimit" : "0x58272e28", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x3567e0", "currentTimestamp" : "0xa4befad141d51c4f", "previousHash" : "d30f77155de00f207ad60109897e790f73e9f3431be25717bf3651d91949f041" }, @@ -8524,7 +8523,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x3567e0", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, diff --git a/StateTests/Homestead/stDelegatecallTest.json b/StateTests/Homestead/stDelegatecallTest.json index d7c5ad89e..aa954f84d 100644 --- a/StateTests/Homestead/stDelegatecallTest.json +++ b/StateTests/Homestead/stDelegatecallTest.json @@ -2329,11 +2329,11 @@ "nonce" : "0x00", "storage" : { "0x00" : "0x01", - "0x01" : "0x80" + "0x01" : "0x17" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xee91", + "balance" : "0xee90", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -2341,20 +2341,20 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6080600155", + "code" : "0x34600155", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7631158", + "balance" : "0x0de0b6b3a7631159", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "46a3cf4cd0cbb527d6e711296a68829ac8605987f1ece964dac6a3d56b1929f6", + "postStateRoot" : "bbfbd005f26707e3c305c91bce59be351d4364f047e8207a352a312a9ebfd474", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", @@ -2365,7 +2365,7 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6080600155", + "code" : "0x34600155", "nonce" : "0x00", "storage" : { } diff --git a/StateTests/Homestead/stPreCompiledContracts.json b/StateTests/Homestead/stPreCompiledContracts.json index 7ae0bc352..26bbaf4d6 100644 --- a/StateTests/Homestead/stPreCompiledContracts.json +++ b/StateTests/Homestead/stPreCompiledContracts.json @@ -3520,34 +3520,34 @@ }, "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x01aa53", + "balance" : "0x01aa52", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a760cf0d", + "balance" : "0x0de0b6b3a760cf0e", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "64f7a0ea764350db949d9a9f9ec5e5400acef5bad92ed340011266791ad5b74b", + "postStateRoot" : "39a3e642f9dae481af1cf868fdf45c9e7a969198ce5e28992ba13f2245414753", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } @@ -3592,34 +3592,34 @@ }, "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0x1122334455667788990011223344556677889900112233445566778899001122", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x01aa53", + "balance" : "0x01aa52", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a760cf0d", + "balance" : "0x0de0b6b3a760cf0e", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "67af1f3bd8f8619c936e56b87b5910c8beeb8035be00fddeeb3346a5aa31e230", + "postStateRoot" : "65a33fe0392e3358f07118cbeb290cc4ff26b0b8521a16279fdbd01172fe532c", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } diff --git a/StateTests/Homestead/stSystemOperationsTest.json b/StateTests/Homestead/stSystemOperationsTest.json index c9bfba850..3925640e7 100644 --- a/StateTests/Homestead/stSystemOperationsTest.json +++ b/StateTests/Homestead/stSystemOperationsTest.json @@ -16221,13 +16221,13 @@ "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a76586a0", - "code" : "0x6001601f60006000601773945304eb96065b2a98b57a48a06ae28d285a71b56103e8f1600055600051600155", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", "nonce" : "0x00", "storage" : { } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xa074", + "balance" : "0x020fb0", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -16235,31 +16235,31 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6001600155602a601f536001601ff3", + "code" : "0x603760005360026000f2", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a761d8ec", + "balance" : "0x0de0b6b3a76069b0", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "17272b576fb7b4b74a5305080e983036905199834abeb29756991089bd61c912", + "postStateRoot" : "738c22e3b7f57763d11b32f395f44a01341a2d20d1f6166c67229761394bd033", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x6001601f60006000601773945304eb96065b2a98b57a48a06ae28d285a71b56103e8f1600055600051600155", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", "nonce" : "0x00", "storage" : { } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x6001600155602a601f536001601ff3", + "code" : "0x603760005360026000f2", "nonce" : "0x00", "storage" : { } @@ -16511,7 +16511,7 @@ "value" : "0x0186a0" } }, - "PostToReturn1" : { + "DELEGATECALLToReturn1" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", @@ -16526,13 +16526,13 @@ "post" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa602052600260006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350f4600055", "nonce" : "0x00", "storage" : { } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x5223", + "balance" : "0x012935", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -16540,31 +16540,31 @@ }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x603760005360026000f2", + "code" : "0x6001600155603760005360026000f2", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a762273d", + "balance" : "0x0de0b6b3a761502b", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "c27f0d5e8260b639efd5ad04d7f9905dd13ec8c8830462d4b07b8a1227b82068", + "postStateRoot" : "8fbef492f8752d235d3e170d6f4a91f9c5d291813e010fc65659c94128cd2d05", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa602052600260006040600073945304eb96065b2a98b57a48a06ae28d285a71b561c350f4600055", "nonce" : "0x00", "storage" : { } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { "balance" : "0x17", - "code" : "0x603760005360026000f2", + "code" : "0x6001600155603760005360026000f2", "nonce" : "0x00", "storage" : { } @@ -17284,83 +17284,6 @@ "value" : "0x0186a0" } }, - "callstatelessToReturn1" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x118c30", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - "0x00" : "0x80" - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xa046", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a761d91a", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "2c45b3ae3047a7976d8acaabf89f74374791b6cee9afc350251e3ddafe52343d", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "", - "gasLimit" : "0x0493e0", - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0186a0" - } - }, "createNameRegistrator" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", diff --git a/StateTests/stPreCompiledContracts.json b/StateTests/stPreCompiledContracts.json index 981e66b66..ce95ad0da 100644 --- a/StateTests/stPreCompiledContracts.json +++ b/StateTests/stPreCompiledContracts.json @@ -3520,34 +3520,34 @@ }, "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x01aa53", + "balance" : "0x01aa52", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a760cf0d", + "balance" : "0x0de0b6b3a760cf0e", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "64f7a0ea764350db949d9a9f9ec5e5400acef5bad92ed340011266791ad5b74b", + "postStateRoot" : "39a3e642f9dae481af1cf868fdf45c9e7a969198ce5e28992ba13f2245414753", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } @@ -3592,34 +3592,34 @@ }, "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x0132b3a0", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { "0x00" : "0x1122334455667788990011223344556677889900112233445566778899001122", - "0x01" : "0x80", + "0x01" : "0xa0", "0x02" : "0x01" } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x01aa53", + "balance" : "0x01aa52", "code" : "0x", "nonce" : "0x00", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a760cf0d", + "balance" : "0x0de0b6b3a760cf0e", "code" : "0x", "nonce" : "0x01", "storage" : { } } }, - "postStateRoot" : "67af1f3bd8f8619c936e56b87b5910c8beeb8035be00fddeeb3346a5aa31e230", + "postStateRoot" : "65a33fe0392e3358f07118cbeb290cc4ff26b0b8521a16279fdbd01172fe532c", "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "0x01312d00", - "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f16002556080516000556080600155", + "code" : "0x7f11223344556677889900112233445566778899001122334455667788990011226080527f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601d6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560805160005559600155", "nonce" : "0x00", "storage" : { } diff --git a/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json index 051442b52..a50298466 100644 --- a/StateTests/stSystemOperationsTest.json +++ b/StateTests/stSystemOperationsTest.json @@ -458,6 +458,158 @@ "value" : "0x0186a0" } }, + "CALLCODEToReturn1" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526002600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b561c350f2600055", + "nonce" : "0x00", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x014c60", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x6001600155603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7612d00", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "58d52b07bfa2c76bfe645953dd567c9420e41e6d9437d468df62c7ba94f45003", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526002600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b561c350f2600055", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x6001600155603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0493e0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0x0186a0" + } + }, + "CALLToReturn1" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a76586a0", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", + "nonce" : "0x00", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x020fb0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a76069b0", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "738c22e3b7f57763d11b32f395f44a01341a2d20d1f6166c67229761394bd033", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620186a0f1600155", + "nonce" : "0x00", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x17", + "code" : "0x603760005360026000f2", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0493e0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0x0186a0" + } + }, "Call10" : { "env" : { "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", @@ -16511,82 +16663,6 @@ "value" : "0x0186a0" } }, - "PostToReturn1" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x00", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", - "nonce" : "0x00", - "storage" : { - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x5223", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a762273d", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "c27f0d5e8260b639efd5ad04d7f9905dd13ec8c8830462d4b07b8a1227b82068", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "", - "gasLimit" : "0x0493e0", - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0186a0" - } - }, "TestNameRegistrator" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -17284,83 +17360,6 @@ "value" : "0x0186a0" } }, - "callstatelessToReturn1" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x00", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a76586a0", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - "0x00" : "0x80" - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0xa046", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a761d91a", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "2c45b3ae3047a7976d8acaabf89f74374791b6cee9afc350251e3ddafe52343d", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", - "nonce" : "0x00", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0x17", - "code" : "0x6001600155603760005360026000f2", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "", - "gasLimit" : "0x0493e0", - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0186a0" - } - }, "createNameRegistrator" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", diff --git a/VMTests/vmEnvironmentalInfoTest.json b/VMTests/vmEnvironmentalInfoTest.json index 855b069fa..d117778d7 100644 --- a/VMTests/vmEnvironmentalInfoTest.json +++ b/VMTests/vmEnvironmentalInfoTest.json @@ -1845,7 +1845,7 @@ { "data" : "0x1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff", "destination" : "", - "gasLimit" : "0x1748766aa5", + "gasLimit" : "0x1748766a8c", "value" : "0x00" }, { @@ -1865,14 +1865,14 @@ "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "code" : "0x583031333234363a608041424344455836600035602635601335387f1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff600052602060006000f06020600060206000600030610bb8f1600051611000525960200260002030ff60016002f3", + "code" : "0x583031333234363a600143034041424344455836600035602635601335387f1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff600052602060006000f06020600060206000600030610bb8f1600051611000525960200260002030ff60016002f3", "data" : "0xdeadbeef", "gas" : "0x174876e801", "gasPrice" : "0x07df", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0x2386f26fd1f447" }, - "gas" : "0x1748755711", + "gas" : "0x17487556f8", "logs" : [ ], "out" : "0x", @@ -1881,7 +1881,7 @@ "pre" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x8ac7230489e880e8", - "code" : "0x583031333234363a608041424344455836600035602635601335387f1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff600052602060006000f06020600060206000600030610bb8f1600051611000525960200260002030ff60016002f3", + "code" : "0x583031333234363a600143034041424344455836600035602635601335387f1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff600052602060006000f06020600060206000600030610bb8f1600051611000525960200260002030ff60016002f3", "nonce" : "0x58", "storage" : { } diff --git a/VMTests/vmIOandFlowOperationsTest.json b/VMTests/vmIOandFlowOperationsTest.json index 5a9b46e06..4f46a5410 100644 --- a/VMTests/vmIOandFlowOperationsTest.json +++ b/VMTests/vmIOandFlowOperationsTest.json @@ -2484,7 +2484,7 @@ "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "code" : "0x6060035b60600160800380606002576868010000000000000016565b6363badf000d6060115500", + "code" : "0x6060035b606001900380606002576868010000000000000016565b6363badf000d6060115500", "data" : "0x", "gas" : "0x0186a0", "gasPrice" : "0x5af3107a4000", @@ -2494,7 +2494,7 @@ "pre" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x6060035b60600160800380606002576868010000000000000016565b6363badf000d6060115500", + "code" : "0x6060035b606001900380606002576868010000000000000016565b6363badf000d6060115500", "nonce" : "0x00", "storage" : { } diff --git a/VMTests/vmPushDupSwapTest.json b/VMTests/vmPushDupSwapTest.json index b522ed3e6..6ecc32c07 100644 --- a/VMTests/vmPushDupSwapTest.json +++ b/VMTests/vmPushDupSwapTest.json @@ -2091,6 +2091,49 @@ } } }, + "push32Undefined3" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x7f", + "data" : "0x", + "gas" : "0x0186a0", + "gasPrice" : "0x5af3107a4000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "0x0de0b6b3a7640000" + }, + "gas" : "0x01869d", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x152d02c7e14af6800000", + "code" : "0x7f", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x152d02c7e14af6800000", + "code" : "0x7f", + "nonce" : "0x00", + "storage" : { + } + } + } + }, "push33" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", diff --git a/VMTests/vmSystemOperationsTest.json b/VMTests/vmSystemOperationsTest.json index 975f869a0..977b87248 100644 --- a/VMTests/vmSystemOperationsTest.json +++ b/VMTests/vmSystemOperationsTest.json @@ -894,6 +894,12 @@ }, "PostToNameRegistrator0" : { "callcreates" : [ + { + "data" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa", + "destination" : "945304eb96065b2a98b57a48a06ae28d285a71b5", + "gasLimit" : "0x0f4b3c", + "value" : "0x17" + } ], "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -905,23 +911,24 @@ "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "data" : "0x", "gas" : "0x09184e72a000", "gasPrice" : "0x5af3107a4000", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0x0186a0" }, - "gas" : "0x09184e729fe5", + "gas" : "0x09184e72375c", "logs" : [ ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "nonce" : "0x00", "storage" : { + "0x00" : "0x01" } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { @@ -935,7 +942,7 @@ "pre" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "nonce" : "0x00", "storage" : { } @@ -951,6 +958,12 @@ }, "PostToReturn1" : { "callcreates" : [ + { + "data" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa", + "destination" : "945304eb96065b2a98b57a48a06ae28d285a71b5", + "gasLimit" : "0x0f4b3c", + "value" : "0x17" + } ], "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -962,23 +975,24 @@ "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "data" : "0x", "gas" : "0x09184e72a000", "gasPrice" : "0x5af3107a4000", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0x0186a0" }, - "gas" : "0x09184e729fe5", + "gas" : "0x09184e72375c", "logs" : [ ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "nonce" : "0x00", "storage" : { + "0x00" : "0x01" } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { @@ -992,7 +1006,7 @@ "pre" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526040600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "nonce" : "0x00", "storage" : { } @@ -1180,6 +1194,12 @@ }, "callstatelessToNameRegistrator0" : { "callcreates" : [ + { + "data" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa", + "destination" : "945304eb96065b2a98b57a48a06ae28d285a71b5", + "gasLimit" : "0x0f4b3c", + "value" : "0x17" + } ], "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -1191,24 +1211,24 @@ "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526000604060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "data" : "0x", "gas" : "0x09184e72a000", "gasPrice" : "0x5af3107a4000", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0x0186a0" }, - "gas" : "0x09184e7251c2", + "gas" : "0x09184e72375c", "logs" : [ ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526000604060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "nonce" : "0x00", "storage" : { - "0x00" : "0x80" + "0x00" : "0x01" } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { @@ -1222,7 +1242,7 @@ "pre" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526000604060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5620f4240f1600055", "nonce" : "0x00", "storage" : { } @@ -1238,6 +1258,12 @@ }, "callstatelessToReturn1" : { "callcreates" : [ + { + "data" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa", + "destination" : "945304eb96065b2a98b57a48a06ae28d285a71b5", + "gasLimit" : "0x1c84", + "value" : "0x17" + } ], "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -1249,24 +1275,24 @@ "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526002600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5611388f1600055", "data" : "0x", "gas" : "0x09184e72a000", "gasPrice" : "0x5af3107a4000", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0x0186a0" }, - "gas" : "0x09184e7251c2", + "gas" : "0x09184e72375c", "logs" : [ ], "out" : "0x", "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526002600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5611388f1600055", "nonce" : "0x00", "storage" : { - "0x00" : "0x80" + "0x00" : "0x01" } }, "945304eb96065b2a98b57a48a06ae28d285a71b5" : { @@ -1280,7 +1306,7 @@ "pre" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x152d02c7e14af6800000", - "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526080600055", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000527faaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa6020526002600060406000601773945304eb96065b2a98b57a48a06ae28d285a71b5611388f1600055", "nonce" : "0x00", "storage" : { } |