aboutsummaryrefslogtreecommitdiffstats
path: root/src/StateTestsFiller
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2016-12-09 04:32:13 +0800
committerDimitry <dimitry@ethdev.com>2016-12-09 04:32:13 +0800
commitbc512375d120e8c527e7d0151190b78c08336841 (patch)
tree7070f3ef2841424b5734e14425a433d7e3ae469b /src/StateTestsFiller
parentb8f2f1a38e977f3c1c584f7070d469285be98901 (diff)
downloadtangerine-tests-bc512375d120e8c527e7d0151190b78c08336841.tar
tangerine-tests-bc512375d120e8c527e7d0151190b78c08336841.tar.gz
tangerine-tests-bc512375d120e8c527e7d0151190b78c08336841.tar.bz2
tangerine-tests-bc512375d120e8c527e7d0151190b78c08336841.tar.lz
tangerine-tests-bc512375d120e8c527e7d0151190b78c08336841.tar.xz
tangerine-tests-bc512375d120e8c527e7d0151190b78c08336841.tar.zst
tangerine-tests-bc512375d120e8c527e7d0151190b78c08336841.zip
OutOfGasPrefundedContractCreation in Frontier
Diffstat (limited to 'src/StateTestsFiller')
-rw-r--r--src/StateTestsFiller/stInitCodeTestFiller.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/StateTestsFiller/stInitCodeTestFiller.json b/src/StateTestsFiller/stInitCodeTestFiller.json
index 562ac174a..8659055a8 100644
--- a/src/StateTestsFiller/stInitCodeTestFiller.json
+++ b/src/StateTestsFiller/stInitCodeTestFiller.json
@@ -813,5 +813,53 @@
"to" : "194f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : "0"
}
+ },
+
+ "OutOfGasPrefundedContractCreation" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "100000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x0278d0"
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0cc970",
+ "nonce" : "0x01"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x01"
+ }
+ },
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0f4240",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x01",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "0x600a80600c6000396000f200600160008035811a8100",
+ "gasLimit" : "54000",
+ "gasPrice" : "3",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : "1"
+ }
}
}