aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOriginFiller.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOriginFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOriginFiller.json110
1 files changed, 110 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOriginFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOriginFiller.json
new file mode 100644
index 000000000..9509efdd4
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOriginFiller.json
@@ -0,0 +1,110 @@
+{
+ "zeroSigTransactionOrigin" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [0,3],
+ "value" : 0
+ },
+ "network" : ["Constantinople"],
+ "result" : {
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0xffffffffffffffffffffffffffffffffffffffff",
+ "0x01" : "0xffffffffffffffffffffffffffffffffffffffff"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : [1,2],
+ "value" : 0
+ },
+ "network" : ["Constantinople"],
+ "result" : {
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x00" : "0",
+ "0x01" : "0"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"],
+ "result" : {
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "ffffffffffffffffffffffffffffffffffffffff" : {
+ "balance" : "100000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "100000",
+ "code" : "{ [[0]] (ORIGIN) [[1]] (CALLER) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "70000", "20000", "21000", "121000"
+ ],
+ "gasPrice" : "0",
+ "nonce" : "0",
+ "v" : "1",
+ "r" : "0",
+ "s" : "0",
+ "to" : "1000000000000000000000000000000000000000",
+ "value" : [
+ "0", "1", "100000"
+ ]
+ }
+ }
+}