aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/Homestead
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/StateTests/Homestead')
-rw-r--r--tests/files/StateTests/Homestead/README.md4
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stCallCodes.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stCallCreateCallCodeTest.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stCallDelegateCodes.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stCallDelegateCodesCallCode.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stDelegatecallTest.json12
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stHomeSteadSpecific.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stInitCodeTest.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stLogTests.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stMemoryStressTest.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stMemoryTest.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stPreCompiledContracts.json24
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stQuadraticComplexityTest.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stRecursiveCreate.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stRefundTest.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stSpecialTest.json0
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stSystemOperationsTest.json117
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stTransactionTest.json70
-rw-r--r--[-rwxr-xr-x]tests/files/StateTests/Homestead/stWalletTest.json0
19 files changed, 112 insertions, 115 deletions
diff --git a/tests/files/StateTests/Homestead/README.md b/tests/files/StateTests/Homestead/README.md
new file mode 100644
index 000000000..82125f61e
--- /dev/null
+++ b/tests/files/StateTests/Homestead/README.md
@@ -0,0 +1,4 @@
+Rules for .json tests execution in this folder:
+
+All transaction are on Homestead rules.
+All tests's ENV blocknumber should be > 1150000 and < 245700
diff --git a/tests/files/StateTests/Homestead/stCallCodes.json b/tests/files/StateTests/Homestead/stCallCodes.json
index e4f96c925..e4f96c925 100755..100644
--- a/tests/files/StateTests/Homestead/stCallCodes.json
+++ b/tests/files/StateTests/Homestead/stCallCodes.json
diff --git a/tests/files/StateTests/Homestead/stCallCreateCallCodeTest.json b/tests/files/StateTests/Homestead/stCallCreateCallCodeTest.json
index 3caa298cf..3caa298cf 100755..100644
--- a/tests/files/StateTests/Homestead/stCallCreateCallCodeTest.json
+++ b/tests/files/StateTests/Homestead/stCallCreateCallCodeTest.json
diff --git a/tests/files/StateTests/Homestead/stCallDelegateCodes.json b/tests/files/StateTests/Homestead/stCallDelegateCodes.json
index dba76c382..dba76c382 100755..100644
--- a/tests/files/StateTests/Homestead/stCallDelegateCodes.json
+++ b/tests/files/StateTests/Homestead/stCallDelegateCodes.json
diff --git a/tests/files/StateTests/Homestead/stCallDelegateCodesCallCode.json b/tests/files/StateTests/Homestead/stCallDelegateCodesCallCode.json
index a6fb36bee..a6fb36bee 100755..100644
--- a/tests/files/StateTests/Homestead/stCallDelegateCodesCallCode.json
+++ b/tests/files/StateTests/Homestead/stCallDelegateCodesCallCode.json
diff --git a/tests/files/StateTests/Homestead/stDelegatecallTest.json b/tests/files/StateTests/Homestead/stDelegatecallTest.json
index d7c5ad89e..aa954f84d 100755..100644
--- a/tests/files/StateTests/Homestead/stDelegatecallTest.json
+++ b/tests/files/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/tests/files/StateTests/Homestead/stHomeSteadSpecific.json b/tests/files/StateTests/Homestead/stHomeSteadSpecific.json
index 53054a67c..53054a67c 100755..100644
--- a/tests/files/StateTests/Homestead/stHomeSteadSpecific.json
+++ b/tests/files/StateTests/Homestead/stHomeSteadSpecific.json
diff --git a/tests/files/StateTests/Homestead/stInitCodeTest.json b/tests/files/StateTests/Homestead/stInitCodeTest.json
index 679865f95..679865f95 100755..100644
--- a/tests/files/StateTests/Homestead/stInitCodeTest.json
+++ b/tests/files/StateTests/Homestead/stInitCodeTest.json
diff --git a/tests/files/StateTests/Homestead/stLogTests.json b/tests/files/StateTests/Homestead/stLogTests.json
index 2206029cc..2206029cc 100755..100644
--- a/tests/files/StateTests/Homestead/stLogTests.json
+++ b/tests/files/StateTests/Homestead/stLogTests.json
diff --git a/tests/files/StateTests/Homestead/stMemoryStressTest.json b/tests/files/StateTests/Homestead/stMemoryStressTest.json
index 2a7d6ff46..2a7d6ff46 100755..100644
--- a/tests/files/StateTests/Homestead/stMemoryStressTest.json
+++ b/tests/files/StateTests/Homestead/stMemoryStressTest.json
diff --git a/tests/files/StateTests/Homestead/stMemoryTest.json b/tests/files/StateTests/Homestead/stMemoryTest.json
index bedf0bb3a..bedf0bb3a 100755..100644
--- a/tests/files/StateTests/Homestead/stMemoryTest.json
+++ b/tests/files/StateTests/Homestead/stMemoryTest.json
diff --git a/tests/files/StateTests/Homestead/stPreCompiledContracts.json b/tests/files/StateTests/Homestead/stPreCompiledContracts.json
index 7ae0bc352..26bbaf4d6 100755..100644
--- a/tests/files/StateTests/Homestead/stPreCompiledContracts.json
+++ b/tests/files/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/tests/files/StateTests/Homestead/stQuadraticComplexityTest.json b/tests/files/StateTests/Homestead/stQuadraticComplexityTest.json
index af27a694c..af27a694c 100755..100644
--- a/tests/files/StateTests/Homestead/stQuadraticComplexityTest.json
+++ b/tests/files/StateTests/Homestead/stQuadraticComplexityTest.json
diff --git a/tests/files/StateTests/Homestead/stRecursiveCreate.json b/tests/files/StateTests/Homestead/stRecursiveCreate.json
index 18e27fd8b..18e27fd8b 100755..100644
--- a/tests/files/StateTests/Homestead/stRecursiveCreate.json
+++ b/tests/files/StateTests/Homestead/stRecursiveCreate.json
diff --git a/tests/files/StateTests/Homestead/stRefundTest.json b/tests/files/StateTests/Homestead/stRefundTest.json
index 2016998c7..2016998c7 100755..100644
--- a/tests/files/StateTests/Homestead/stRefundTest.json
+++ b/tests/files/StateTests/Homestead/stRefundTest.json
diff --git a/tests/files/StateTests/Homestead/stSpecialTest.json b/tests/files/StateTests/Homestead/stSpecialTest.json
index 31482b752..31482b752 100755..100644
--- a/tests/files/StateTests/Homestead/stSpecialTest.json
+++ b/tests/files/StateTests/Homestead/stSpecialTest.json
diff --git a/tests/files/StateTests/Homestead/stSystemOperationsTest.json b/tests/files/StateTests/Homestead/stSystemOperationsTest.json
index f944a4ed1..3925640e7 100755..100644
--- a/tests/files/StateTests/Homestead/stSystemOperationsTest.json
+++ b/tests/files/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" : {
}
@@ -16439,7 +16439,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x989680",
- "currentNumber" : "0xa7d8c0",
+ "currentNumber" : "0x118c30",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -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" : {
}
@@ -17226,7 +17226,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x989680",
- "currentNumber" : "0xa7d8c0",
+ "currentNumber" : "0x118c30",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -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",
@@ -17963,7 +17886,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x989680",
- "currentNumber" : "0xa7d8c0",
+ "currentNumber" : "0x118c30",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
@@ -18026,7 +17949,7 @@
"currentCoinbase" : "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82",
"currentDifficulty" : "0x7fb7d889155ce8c6",
"currentGasLimit" : "0x58272e28",
- "currentNumber" : "0xa7d8c0",
+ "currentNumber" : "0x118c30",
"currentTimestamp" : "0xa4befad141d51c4f",
"previousHash" : "d30f77155de00f207ad60109897e790f73e9f3431be25717bf3651d91949f041"
},
@@ -18680,7 +18603,7 @@
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x0100",
"currentGasLimit" : "0x989680",
- "currentNumber" : "0xa7d8c0",
+ "currentNumber" : "0x118c30",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
diff --git a/tests/files/StateTests/Homestead/stTransactionTest.json b/tests/files/StateTests/Homestead/stTransactionTest.json
index d8d9859ab..964162470 100755..100644
--- a/tests/files/StateTests/Homestead/stTransactionTest.json
+++ b/tests/files/StateTests/Homestead/stTransactionTest.json
@@ -1411,6 +1411,76 @@
"value" : "0x0a"
}
},
+ "StoreGasOnCreate" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x02b8feb0",
+ "currentGasLimit" : "0xe8d4a51000",
+ "currentNumber" : "0x118c30",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x011d42",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x04fcda",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x64",
+ "code" : "0x635a60fd556000526004601c6000f0",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : {
+ "balance" : "0x00",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ "0xfd" : "0x01340b"
+ }
+ }
+ },
+ "postStateRoot" : "4fcf97ddd84051f2363ad75ca6bba1e45b802b7ffd17644aa2117ea5e0bbfe0b",
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x061a80",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x635a60fd556000526004601c6000f0",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "0x02032a",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "0x64"
+ }
+ },
"SuicidesAndInternlCallSuicidesBonusGasAtCall" : {
"env" : {
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
diff --git a/tests/files/StateTests/Homestead/stWalletTest.json b/tests/files/StateTests/Homestead/stWalletTest.json
index 112d6b4b9..112d6b4b9 100755..100644
--- a/tests/files/StateTests/Homestead/stWalletTest.json
+++ b/tests/files/StateTests/Homestead/stWalletTest.json