diff options
author | wanderer <mjbecze@gmail.com> | 2014-12-23 23:01:20 +0800 |
---|---|---|
committer | wanderer <mjbecze@gmail.com> | 2014-12-23 23:01:20 +0800 |
commit | 8c34e93b512676f23b877f7eb7e78b806dcb9401 (patch) | |
tree | 948fb42ff84ea81812b9b5dd305d1f6f5bad335e | |
parent | 8a285d258ac4a939c43297ac58bebde7460da896 (diff) | |
download | go-tangerine-8c34e93b512676f23b877f7eb7e78b806dcb9401.tar.gz go-tangerine-8c34e93b512676f23b877f7eb7e78b806dcb9401.tar.zst go-tangerine-8c34e93b512676f23b877f7eb7e78b806dcb9401.zip |
added stackOverFlow test to initCode
-rw-r--r-- | StateTests/stInitCodeTest.json | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/StateTests/stInitCodeTest.json b/StateTests/stInitCodeTest.json index 9f611e1a1..1c4670cef 100644 --- a/StateTests/stInitCodeTest.json +++ b/StateTests/stInitCodeTest.json @@ -651,6 +651,60 @@ "value" : "1" } }, + "StackUnderFlowContractCreation" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "1000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "9000", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "0x6000f1", + "gasLimit" : "1000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "0" + } + }, "TransactionContractCreation" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -867,4 +921,4 @@ "value" : "1" } } -}
\ No newline at end of file +} |