aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-10-15 03:02:21 +0800
committerDimitry <winsvega@mail.ru>2016-10-19 19:15:09 +0800
commit1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3 (patch)
tree74f3446008f7d496d7496738357251215e028928
parent6b70868317af4ccedb03cd13280f9be4e6cf2868 (diff)
downloadtangerine-tests-1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3.tar
tangerine-tests-1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3.tar.gz
tangerine-tests-1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3.tar.bz2
tangerine-tests-1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3.tar.lz
tangerine-tests-1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3.tar.xz
tangerine-tests-1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3.tar.zst
tangerine-tests-1ae6d457d6ddb5ea7fba73c7be14f34eb06a01b3.zip
fix wrong block number in state tests
-rw-r--r--StateTests/Homestead/stSystemOperationsTest.json10
-rw-r--r--StateTests/Homestead/stTransactionTest.json70
-rw-r--r--StateTests/stSystemOperationsTest.json2
3 files changed, 76 insertions, 6 deletions
diff --git a/StateTests/Homestead/stSystemOperationsTest.json b/StateTests/Homestead/stSystemOperationsTest.json
index f944a4ed1..c9bfba850 100644
--- a/StateTests/Homestead/stSystemOperationsTest.json
+++ b/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/StateTests/Homestead/stTransactionTest.json b/StateTests/Homestead/stTransactionTest.json
index d8d9859ab..964162470 100644
--- a/StateTests/Homestead/stTransactionTest.json
+++ b/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/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json
index 3f81cc043..051442b52 100644
--- a/StateTests/stSystemOperationsTest.json
+++ b/StateTests/stSystemOperationsTest.json
@@ -18019,7 +18019,7 @@
"currentCoinbase" : "4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82",
"currentDifficulty" : "0x7fb7d889155ce8c6",
"currentGasLimit" : "0x58272e28",
- "currentNumber" : "0x7608d138",
+ "currentNumber" : "0x00",
"currentTimestamp" : "0xa4befad141d51c4f",
"previousHash" : "d30f77155de00f207ad60109897e790f73e9f3431be25717bf3651d91949f041"
},