aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests/Homestead
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2016-11-02 23:36:33 +0800
committerDimitry <dimitry@ethdev.com>2016-11-02 23:36:33 +0800
commit853333e7da312775fb8f32f2c2771b8578cd0d79 (patch)
tree05f550a0f27d543bf52dae975b8a6fb421e15b57 /StateTests/Homestead
parentcc6aaba2956b12e074a83ffb4c530787ab8e9bb3 (diff)
downloaddexon-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar
dexon-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.gz
dexon-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.bz2
dexon-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.lz
dexon-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.xz
dexon-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.tar.zst
dexon-tests-853333e7da312775fb8f32f2c2771b8578cd0d79.zip
fix wrong solidity in tests (not hf related)
Diffstat (limited to 'StateTests/Homestead')
-rw-r--r--StateTests/Homestead/stDelegatecallTest.json12
-rw-r--r--StateTests/Homestead/stPreCompiledContracts.json24
-rw-r--r--StateTests/Homestead/stSystemOperationsTest.json107
3 files changed, 33 insertions, 110 deletions
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",