aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-03-23 17:38:45 +0800
committerDimitry <winsvega@mail.ru>2017-03-23 17:38:45 +0800
commit2a2d8c2ed1297ef0f56d12752dd135491cfe96c5 (patch)
treed6921cdd32dcc956f85c1b6af4ea0a8a4a54f8ce /src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json
parent8e5e26d20e9d3a76fd493f84ab6f79fc1990764d (diff)
downloaddexon-tests-2a2d8c2ed1297ef0f56d12752dd135491cfe96c5.tar
dexon-tests-2a2d8c2ed1297ef0f56d12752dd135491cfe96c5.tar.gz
dexon-tests-2a2d8c2ed1297ef0f56d12752dd135491cfe96c5.tar.bz2
dexon-tests-2a2d8c2ed1297ef0f56d12752dd135491cfe96c5.tar.lz
dexon-tests-2a2d8c2ed1297ef0f56d12752dd135491cfe96c5.tar.xz
dexon-tests-2a2d8c2ed1297ef0f56d12752dd135491cfe96c5.tar.zst
dexon-tests-2a2d8c2ed1297ef0f56d12752dd135491cfe96c5.zip
zeroSig transaction test fillers
Diffstat (limited to 'src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransacrionCreateFiller.json93
1 files changed, 93 insertions, 0 deletions
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"
+ ]
+ }
+ }
+}