aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stInitCodeTestFiller.json30
-rw-r--r--stSystemOperationsTestFiller.json102
2 files changed, 132 insertions, 0 deletions
diff --git a/stInitCodeTestFiller.json b/stInitCodeTestFiller.json
index 501b1ff2..ac6bbee1 100644
--- a/stInitCodeTestFiller.json
+++ b/stInitCodeTestFiller.json
@@ -92,6 +92,36 @@
"value" : "1"
}
},
+ "StackUnderFlowContractCreation" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" :
+ {
+ "data" : "0x6000f1",
+ "gasLimit" : "1000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : "0"
+ }
+ },
"TransactionSuicideInitCode" : {
"env" : {
diff --git a/stSystemOperationsTestFiller.json b/stSystemOperationsTestFiller.json
index 9fc8db77..34ab5078 100644
--- a/stSystemOperationsTestFiller.json
+++ b/stSystemOperationsTestFiller.json
@@ -1410,5 +1410,107 @@
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"data" : ""
}
+ },
+
+ "callValue": {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "0",
+ "currentGasLimit" : "10000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : 1,
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000000000",
+ "nonce" : 0,
+ "code" : "{ [[0]] (CALLVALUE) }",
+ "storage": {}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "nonce" : 0,
+ "code" : "",
+ "storage": {}
+ }
+ },
+ "transaction" : {
+ "nonce" : "0",
+ "gasPrice" : "1",
+ "gasLimit" : "10000000",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "data" : ""
+ }
+ },
+
+ "currentAccountBalance": {
+ "env": {
+ "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber": "0",
+ "currentGasLimit": "10000000",
+ "currentDifficulty": "256",
+ "currentTimestamp": 1,
+ "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre": {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87": {
+ "balance": "1000000000000000000",
+ "nonce": 0,
+ "code": "{ [[0]] (balance (address)) }",
+ "storage": {}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
+ "balance": "1000000000000000000",
+ "nonce": 0,
+ "code": "",
+ "storage": {}
+ }
+ },
+ "transaction": {
+ "nonce": "0",
+ "gasPrice": "1",
+ "gasLimit": "10000000",
+ "to": "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value": "100000",
+ "secretKey": "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "data": ""
+ }
+ },
+
+ "callerAccountBalance": {
+ "env": {
+ "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber": "0",
+ "currentGasLimit": "10000000",
+ "currentDifficulty": "256",
+ "currentTimestamp": 1,
+ "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre": {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87": {
+ "balance": "1000000000000000000",
+ "nonce": 0,
+ "code": "{ [[0]] (balance (caller)) }",
+ "storage": {}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
+ "balance": "1000000000000000000",
+ "nonce": 0,
+ "code": "",
+ "storage": {}
+ }
+ },
+ "transaction": {
+ "nonce": "0",
+ "gasPrice": "1",
+ "gasLimit": "10000000",
+ "to": "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value": "100000",
+ "secretKey": "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "data": ""
}
+ }
}