diff options
Diffstat (limited to 'tests/files/StateTests/Homestead')
19 files changed, 79 insertions, 5 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..d7c5ad89e 100755..100644 --- a/tests/files/StateTests/Homestead/stDelegatecallTest.json +++ b/tests/files/StateTests/Homestead/stDelegatecallTest.json 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..7ae0bc352 100755..100644 --- a/tests/files/StateTests/Homestead/stPreCompiledContracts.json +++ b/tests/files/StateTests/Homestead/stPreCompiledContracts.json 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..c9bfba850 100755..100644 --- a/tests/files/StateTests/Homestead/stSystemOperationsTest.json +++ b/tests/files/StateTests/Homestead/stSystemOperationsTest.json @@ -16439,7 +16439,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x118c30", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -17226,7 +17226,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x118c30", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -17963,7 +17963,7 @@ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x0100", "currentGasLimit" : "0x989680", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x118c30", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, @@ -18026,7 +18026,7 @@ "currentCoinbase" : "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82", "currentDifficulty" : "0x7fb7d889155ce8c6", "currentGasLimit" : "0x58272e28", - "currentNumber" : "0xa7d8c0", + "currentNumber" : "0x118c30", "currentTimestamp" : "0xa4befad141d51c4f", "previousHash" : "d30f77155de00f207ad60109897e790f73e9f3431be25717bf3651d91949f041" }, @@ -18680,7 +18680,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 |