From 2a2d8c2ed1297ef0f56d12752dd135491cfe96c5 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Thu, 23 Mar 2017 12:38:45 +0300 Subject: zeroSig transaction test fillers --- .../zeroSigTransacrionCreateFiller.json | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json (limited to 'src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json') diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json new file mode 100644 index 000000000..f7acd36a3 --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json @@ -0,0 +1,93 @@ +{ + "zeroSigTransacrionCreate" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP158", "EIP150"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [1], + "gas" : -1, + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [1,2,3], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [0], + "value" : -1 + }, + "network" : ["Metropolis"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x01", + "nonce" : "0x01" + } + } + } + ], + "pre" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "1", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "", + "value" : [ + "1" + ] + } + } +} -- cgit v1.2.3