aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-07-27 23:54:51 +0800
committerDimitry <winsvega@mail.ru>2016-07-27 23:54:51 +0800
commitd2081b17e81132e72f09a44f9d823bf6cbe6c281 (patch)
tree1be5334a0e986332c4025eadd94e17edec45bec7
parent34c84cad0f50c356bc20e7c7aa8e843651048a35 (diff)
downloaddexon-tests-d2081b17e81132e72f09a44f9d823bf6cbe6c281.tar
dexon-tests-d2081b17e81132e72f09a44f9d823bf6cbe6c281.tar.gz
dexon-tests-d2081b17e81132e72f09a44f9d823bf6cbe6c281.tar.bz2
dexon-tests-d2081b17e81132e72f09a44f9d823bf6cbe6c281.tar.lz
dexon-tests-d2081b17e81132e72f09a44f9d823bf6cbe6c281.tar.xz
dexon-tests-d2081b17e81132e72f09a44f9d823bf6cbe6c281.tar.zst
dexon-tests-d2081b17e81132e72f09a44f9d823bf6cbe6c281.zip
update annoying gasLimit
-rw-r--r--StateTests/Homestead/stCallCodes.json2
-rw-r--r--StateTests/stCallCreateCallCodeTest.json7
-rw-r--r--StateTests/stSolidityTest.json22
-rw-r--r--StateTests/stSpecialTest.json2
-rw-r--r--StateTests/stSystemOperationsTest.json4
5 files changed, 18 insertions, 19 deletions
diff --git a/StateTests/Homestead/stCallCodes.json b/StateTests/Homestead/stCallCodes.json
index 3766aa7be..d54a9829a 100644
--- a/StateTests/Homestead/stCallCodes.json
+++ b/StateTests/Homestead/stCallCodes.json
@@ -7017,4 +7017,4 @@
"value" : "0x00"
}
}
-}
+} \ No newline at end of file
diff --git a/StateTests/stCallCreateCallCodeTest.json b/StateTests/stCallCreateCallCodeTest.json
index 8538c02d0..c350252cd 100644
--- a/StateTests/stCallCreateCallCodeTest.json
+++ b/StateTests/stCallCreateCallCodeTest.json
@@ -3,7 +3,6 @@
"env" : {
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "2^63-1",
"currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x00",
"currentTimestamp" : "0x01",
@@ -479,7 +478,7 @@
"env" : {
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x00",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -558,7 +557,7 @@
"env" : {
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x00",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -2759,4 +2758,4 @@
"value" : "0x00"
}
}
-}
+} \ No newline at end of file
diff --git a/StateTests/stSolidityTest.json b/StateTests/stSolidityTest.json
index c64073b5f..2115b7017 100644
--- a/StateTests/stSolidityTest.json
+++ b/StateTests/stSolidityTest.json
@@ -261,7 +261,7 @@
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0x3635c9adc5dea00000",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x78",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -564,7 +564,7 @@
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0x3635c9adc5dea00000",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x78",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -575,32 +575,32 @@
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x018704",
- "code" : "0x7c01000000000000000000000000000000000000000000000000000000006000350463c04062268114610039578063e97384dc1461004b57005b61004161005d565b8060005260206000f35b61005361008c565b8060005260206000f35b600061006761008c565b600060006101000a81548160ff0219169083021790555060ff60016000540416905090565b6001732adc25665018aa1fe0e6bc666dac8fc2697ff9ba73ffffffffffffffffffffffffffffffffffffffff411614156100c5576100cd565b5060006101c7565b446302b8feb014156100de576100e6565b5060006101c7565b45683635c9adc5dea0000014156100fc57610104565b5060006101c7565b43607814156101125761011a565b5060006101c7565b5a503373ffffffffffffffffffffffffffffffffffffffff1673a94f5374fce5edbc8e2a8697c15331677e6ebf0b14156101535761015b565b5060006101c7565b346064141561016957610171565b5060006101c7565b3a6001141561017f57610187565b5060006101c7565b3273ffffffffffffffffffffffffffffffffffffffff1673a94f5374fce5edbc8e2a8697c15331677e6ebf0b14156101be576101c6565b5060006101c7565b5b9056",
+ "code" : "0x60606040526000357c010000000000000000000000000000000000000000000000000000000090048063c040622614610044578063e97384dc1461006957610042565b005b610051600480505061008e565b60405180821515815260200191505060405180910390f35b61007660048050506100c9565b60405180821515815260200191505060405180910390f35b60006100986100c9565b600060006101000a81548160ff02191690830217905550600060009054906101000a900460ff1690506100c6565b90565b6000600190508050732adc25665018aa1fe0e6bc666dac8fc2697ff9ba4173ffffffffffffffffffffffffffffffffffffffff1614151561010d57600090506101f7565b6302b8feb04414151561012357600090506101f7565b677fffffffffffffff4514151561013d57600090506101f7565b60784314151561015057600090506101f7565b6078405042505a5073a94f5374fce5edbc8e2a8697c15331677e6ebf0b3373ffffffffffffffffffffffffffffffffffffffff1614151561019457600090506101f7565b6064341415156101a757600090506101f7565b60013a1415156101ba57600090506101f7565b73a94f5374fce5edbc8e2a8697c15331677e6ebf0b3273ffffffffffffffffffffffffffffffffffffffff161415156101f657600090506101f7565b5b9056",
"nonce" : "0x00",
"storage" : {
"0x00" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "0xa396",
+ "balance" : "0xa3e9",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0e9e46",
+ "balance" : "0x0e9df3",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
}
},
- "postStateRoot" : "7cd344479a3d29c91dd9d9492f35811b5671e6a756a6c6dc223961fd34a1038e",
+ "postStateRoot" : "5c55e4635b0f5ff392e89266a8560c8b52cd75e95f5a2bdf56ddd72e9004cfb2",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x0186a0",
- "code" : "0x7c01000000000000000000000000000000000000000000000000000000006000350463c04062268114610039578063e97384dc1461004b57005b61004161005d565b8060005260206000f35b61005361008c565b8060005260206000f35b600061006761008c565b600060006101000a81548160ff0219169083021790555060ff60016000540416905090565b6001732adc25665018aa1fe0e6bc666dac8fc2697ff9ba73ffffffffffffffffffffffffffffffffffffffff411614156100c5576100cd565b5060006101c7565b446302b8feb014156100de576100e6565b5060006101c7565b45683635c9adc5dea0000014156100fc57610104565b5060006101c7565b43607814156101125761011a565b5060006101c7565b5a503373ffffffffffffffffffffffffffffffffffffffff1673a94f5374fce5edbc8e2a8697c15331677e6ebf0b14156101535761015b565b5060006101c7565b346064141561016957610171565b5060006101c7565b3a6001141561017f57610187565b5060006101c7565b3273ffffffffffffffffffffffffffffffffffffffff1673a94f5374fce5edbc8e2a8697c15331677e6ebf0b14156101be576101c6565b5060006101c7565b5b9056",
+ "code" : "0x60606040526000357c010000000000000000000000000000000000000000000000000000000090048063c040622614610044578063e97384dc1461006957610042565b005b610051600480505061008e565b60405180821515815260200191505060405180910390f35b61007660048050506100c9565b60405180821515815260200191505060405180910390f35b60006100986100c9565b600060006101000a81548160ff02191690830217905550600060009054906101000a900460ff1690506100c6565b90565b6000600190508050732adc25665018aa1fe0e6bc666dac8fc2697ff9ba4173ffffffffffffffffffffffffffffffffffffffff1614151561010d57600090506101f7565b6302b8feb04414151561012357600090506101f7565b677fffffffffffffff4514151561013d57600090506101f7565b60784314151561015057600090506101f7565b6078405042505a5073a94f5374fce5edbc8e2a8697c15331677e6ebf0b3373ffffffffffffffffffffffffffffffffffffffff1614151561019457600090506101f7565b6064341415156101a757600090506101f7565b60013a1415156101ba57600090506101f7565b73a94f5374fce5edbc8e2a8697c15331677e6ebf0b3273ffffffffffffffffffffffffffffffffffffffff161415156101f657600090506101f7565b5b9056",
"nonce" : "0x00",
"storage" : {
}
@@ -760,7 +760,7 @@
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0x3635c9adc5dea00000",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x78",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -907,7 +907,7 @@
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0x3635c9adc5dea00000",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x78",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -970,7 +970,7 @@
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0x3635c9adc5dea00000",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x78",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -1038,7 +1038,7 @@
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0x3635c9adc5dea00000",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x78",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
diff --git a/StateTests/stSpecialTest.json b/StateTests/stSpecialTest.json
index 9031b863e..0b53e2ce9 100644
--- a/StateTests/stSpecialTest.json
+++ b/StateTests/stSpecialTest.json
@@ -3,7 +3,7 @@
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x00",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
diff --git a/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json
index ff381f9b6..3f81cc043 100644
--- a/StateTests/stSystemOperationsTest.json
+++ b/StateTests/stSystemOperationsTest.json
@@ -462,7 +462,7 @@
"env" : {
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x02b8feb0",
- "currentGasLimit" : "0xffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x7fffffffffffffff",
"currentNumber" : "0x00",
"currentTimestamp" : "0x01",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -528,7 +528,7 @@
},
"transaction" : {
"data" : "",
- "gasLimit" : "0xffffffffffffffffffffffffffffff",
+ "gasLimit" : "0x7ffffffffffffff0",
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",