aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-09-14 23:36:06 +0800
committerDimitry <winsvega@mail.ru>2016-09-14 23:36:06 +0800
commitc951a3c105d600ccd8f1c3fc87856b2bcca3df0a (patch)
treec7b6c74d6edc2ff55f8feaf0928cd59949363c62 /StateTests
parent0ebea194ff870c75d4cbb88e91d91e8ccb3d0b2c (diff)
downloadtangerine-tests-c951a3c105d600ccd8f1c3fc87856b2bcca3df0a.tar
tangerine-tests-c951a3c105d600ccd8f1c3fc87856b2bcca3df0a.tar.gz
tangerine-tests-c951a3c105d600ccd8f1c3fc87856b2bcca3df0a.tar.bz2
tangerine-tests-c951a3c105d600ccd8f1c3fc87856b2bcca3df0a.tar.lz
tangerine-tests-c951a3c105d600ccd8f1c3fc87856b2bcca3df0a.tar.xz
tangerine-tests-c951a3c105d600ccd8f1c3fc87856b2bcca3df0a.tar.zst
tangerine-tests-c951a3c105d600ccd8f1c3fc87856b2bcca3df0a.zip
add tests for call additional gas costs
Diffstat (limited to 'StateTests')
-rw-r--r--StateTests/Homestead/stCallCodes.json138
1 files changed, 138 insertions, 0 deletions
diff --git a/StateTests/Homestead/stCallCodes.json b/StateTests/Homestead/stCallCodes.json
index d54a9829a..e4f96c925 100644
--- a/StateTests/Homestead/stCallCodes.json
+++ b/StateTests/Homestead/stCallCodes.json
@@ -1,4 +1,142 @@
{
+ "call_OOG_additionalGasCosts1" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0xb2d05e00",
+ "currentNumber" : "0x118c30",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60406000604060006000731000000000000000000000000000000000000001611770f1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x7530",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7638ad0",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "postStateRoot" : "8062bf5562f807ca2bd8f94dc31bc3b77775d5fef1e6b9ed74549acf3742cbbe",
+ "pre" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60406000604060006000731000000000000000000000000000000000000001611770f1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "0x7530",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1000000000000000000000000000000000000000",
+ "value" : "0x00"
+ }
+ },
+ "call_OOG_additionalGasCosts2" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0xb2d05e00",
+ "currentNumber" : "0x118c30",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60406000604060006001731000000000000000000000000000000000000001611770f1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "1000000000000000000000000000000000000001" : {
+ "balance" : "0x00",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x7530",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7638ad0",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "postStateRoot" : "955466c86ec6ae7bead1f090c49283297a57ccaee9cbced7e7f03f21539503e6",
+ "pre" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x60406000604060006001731000000000000000000000000000000000000001611770f1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "1000000000000000000000000000000000000001" : {
+ "balance" : "0x00",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "0x7530",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1000000000000000000000000000000000000000",
+ "value" : "0x00"
+ }
+ },
"callcall_00" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",