aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2016-10-05 20:55:25 +0800
committerDimitry <dimitry@ethdev.com>2016-10-05 20:55:25 +0800
commit29bedd9c05e0a1cefb9421ef24f32fc93c627945 (patch)
treec19b171ec2cf738bea4a1a55b9699b1262bff167
parent8e6108e01eded608368b0c16d4d60eac00f21d49 (diff)
downloaddexon-tests-29bedd9c05e0a1cefb9421ef24f32fc93c627945.tar
dexon-tests-29bedd9c05e0a1cefb9421ef24f32fc93c627945.tar.gz
dexon-tests-29bedd9c05e0a1cefb9421ef24f32fc93c627945.tar.bz2
dexon-tests-29bedd9c05e0a1cefb9421ef24f32fc93c627945.tar.lz
dexon-tests-29bedd9c05e0a1cefb9421ef24f32fc93c627945.tar.xz
dexon-tests-29bedd9c05e0a1cefb9421ef24f32fc93c627945.tar.zst
dexon-tests-29bedd9c05e0a1cefb9421ef24f32fc93c627945.zip
OutOfGasPrefundedContractCreation State Test
-rw-r--r--StateTests/Homestead/stInitCodeTest.json55
1 files changed, 55 insertions, 0 deletions
diff --git a/StateTests/Homestead/stInitCodeTest.json b/StateTests/Homestead/stInitCodeTest.json
index 55145cb20..679865f95 100644
--- a/StateTests/Homestead/stInitCodeTest.json
+++ b/StateTests/Homestead/stInitCodeTest.json
@@ -689,6 +689,61 @@
"value" : "0x01"
}
},
+ "OutOfGasPrefundedContractCreation" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x02b8feb0",
+ "currentGasLimit" : "0x05f5e100",
+ "currentNumber" : "0x118c30",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x01",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0f4240",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "postStateRoot" : "820dea567b5028afad5568712a2bbfcf60e44f845b8d9d5668e8abf00763867b",
+ "pre" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x01",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0f4240",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "0x600a80600c6000396000f200600160008035811a8100",
+ "gasLimit" : "0xd2f0",
+ "gasPrice" : "0x03",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : "0x01"
+ }
+ },
"ReturnTest" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",