diff options
Diffstat (limited to 'src')
110 files changed, 3071 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransaction0PriceFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransaction0PriceFiller.json new file mode 100644 index 000000000..4ffa0e04b --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransaction0PriceFiller.json @@ -0,0 +1,119 @@ +{ + "zeroSigTransaction0Price" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [1,2], + "value" : -1 + }, + "network" : ["ALL"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0,3], + "value" : 0 + }, + "network" : ["Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0,3], + "value" : 1 + }, + "network" : ["Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionCreateFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionCreateFiller.json new file mode 100644 index 000000000..73b115efd --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionCreateFiller.json @@ -0,0 +1,125 @@ +{ + "zeroSigTransactionCreate" : { + "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", "Byzantium"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [1], + "gas" : -1, + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [1,2], + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [0,3], + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [2], + "gas" : [3], + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x01" : "0xffffffffffffffffffffffffffffffffffffffff" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + } + ], + "pre" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910", "0x3260005533600155" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionCreatePrice0Filler.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionCreatePrice0Filler.json new file mode 100644 index 000000000..13baa8c87 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionCreatePrice0Filler.json @@ -0,0 +1,125 @@ +{ + "zeroSigTransactionCreatePrice0" : { + "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", "Byzantium"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "96b19ced219f86286c413422a6698a7439d1fa52" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [1], + "gas" : -1, + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [1,2], + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "shouldnotexist" : "1" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [0,3], + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : [2], + "gas" : [0,3], + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b318d82866cd9f7d7a55dbbf0a80f787b72bf97c" : { + "balance" : "0x00", + "nonce" : "0x01" + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + } + ], + "pre" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910", "0x6000" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionFiller.json new file mode 100644 index 000000000..587c33a2c --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionFiller.json @@ -0,0 +1,119 @@ +{ + "zeroSigTransaction" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [1,2], + "value" : -1 + }, + "network" : ["ALL"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0,3], + "value" : 0 + }, + "network" : ["Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [0], + "value" : 1 + }, + "network" : ["Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1", "100000" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvChainIDFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvChainIDFiller.json new file mode 100644 index 000000000..6211d4b87 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvChainIDFiller.json @@ -0,0 +1,65 @@ +{ + "zeroSigTransactionInvChainID" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["ALL"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "0", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvNonce2Filler.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvNonce2Filler.json new file mode 100644 index 000000000..c8393019c --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvNonce2Filler.json @@ -0,0 +1,83 @@ +{ + "zeroSigTransactionInvNonce2" : { + "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", "Byzantium"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "1" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "1", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "1", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvNonceFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvNonceFiller.json new file mode 100644 index 000000000..c8e2f0f7c --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionInvNonceFiller.json @@ -0,0 +1,83 @@ +{ + "zeroSigTransactionInvNonce" : { + "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", "Byzantium"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "10", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOOGFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOOGFiller.json new file mode 100644 index 000000000..b722c779b --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionOOGFiller.json @@ -0,0 +1,119 @@ +{ + "zeroSigTransactionOOG" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : [1,2], + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "Byzantium"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : 0, + "gas" : [1], + "value" : -1 + }, + "network" : ["EIP158", "Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : [1,2], + "value" : -1 + }, + "network" : ["EIP158", "Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [3,0], + "value" : 0 + }, + "network" : ["Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x01" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "shouldnotexist" : "1" + } + } + } + ], + "pre" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ [[0]] 1 }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "0", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0", "1" + ] + } + } +} 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" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionToZero2Filler.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionToZero2Filler.json new file mode 100644 index 000000000..eb4fc12ae --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionToZero2Filler.json @@ -0,0 +1,248 @@ +{ + "zeroSigTransactionToZero2" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : 1 + }, + "network" : ["Constantinople"], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x00" + } + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "2000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "3000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : [0], + "gas" : [0], + "value" : 0 + }, + "network" : ["Constantinople"], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01" + } + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x03" : "0xa000000000000000000000000000000000000000" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : [1], + "gas" : [0], + "value" : 0 + }, + "network" : ["Constantinople"], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01" + } + }, + "2000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x03" : "0xa000000000000000000000000000000000000000" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : [2], + "gas" : [0], + "value" : 0 + }, + "network" : ["Constantinople"], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01" + } + }, + "3000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0xffffffffffffffffffffffffffffffffffffffff", + "0x03" : "0xa000000000000000000000000000000000000000" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : [1,2], + "value" : 0 + }, + "network" : ["Constantinople"], + "result" : { + "a000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x00" + } + }, + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "2000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "3000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158", "Byzantium"], + "result" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + } + ], + "pre" : { + "a000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[0]](CALL (GAS) (CALLDATALOAD 0) (CALLVALUE) 0 0 0 0) }", + "nonce" : "0", + "storage" : { + } + }, + "1000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[1]] (CALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", + "nonce" : "0", + "storage" : { + } + }, + "2000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[1]] (CALLCODE (GAS) 0xffffffffffffffffffffffffffffffffffffffff (CALLVALUE) 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", + "nonce" : "0", + "storage" : { + } + }, + "3000000000000000000000000000000000000000" : { + "balance" : "100000", + "code" : "{ [[1]] (DELEGATECALL (GAS) 0xffffffffffffffffffffffffffffffffffffffff 0 0 0 0) [[2]] (ORIGIN) [[3]] (CALLER) }", + "nonce" : "0", + "storage" : { + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000001000000000000000000000000000000000000000", + "0x0000000000000000000000002000000000000000000000000000000000000000", + "0x0000000000000000000000003000000000000000000000000000000000000000" + ], + "gasLimit" : [ + "600000", "20000", "0" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "a000000000000000000000000000000000000000", + "value" : [ + "0", "100" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionToZeroFiller.json b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionToZeroFiller.json new file mode 100644 index 000000000..8e5c1dfe0 --- /dev/null +++ b/src/GeneralStateTestsFiller/stZeroSigTests/zeroSigTransactionToZeroFiller.json @@ -0,0 +1,74 @@ +{ + "zeroSigTransactionToZero" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Constantinople"], + "result" : { + "ffffffffffffffffffffffffffffffffffffffff" : { + "balance" : "100000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + }, + { + "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" : { + } + } + }, + "transaction" : { + "data" : [ + "", "0x1122334455667788990011223344556677889910" + ], + "gasLimit" : [ + "60000", "20000", "21000", "121000" + ], + "gasPrice" : "0", + "nonce" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "to" : "ffffffffffffffffffffffffffffffffffffffff", + "value" : [ + "0", "1", "100000" + ] + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction2Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction2Filler.json new file mode 100644 index 000000000..fe88fd480 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction2Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransaction2" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0000000000", + "r" : "00000000000000", + "s" : "0000000000" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction2_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction2_gnvFiller.json new file mode 100644 index 000000000..8b0ac9764 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction2_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransaction2_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "0000000000", + "r" : "00000000000000", + "s" : "0000000000" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction3Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction3Filler.json new file mode 100644 index 000000000..6c4634824 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction3Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransaction3" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "1", + "r" : "00000000000000", + "s" : "0000000000" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction3_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction3_gnvFiller.json new file mode 100644 index 000000000..d3009c5c7 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction3_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransaction3_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "1", + "r" : "00000000000000", + "s" : "0000000000" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionFiller.json new file mode 100644 index 000000000..af3791e67 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransaction" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "0", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV1Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV1Filler.json new file mode 100644 index 000000000..7a28730bc --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV1Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV1" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV1_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV1_gnvFiller.json new file mode 100644 index 000000000..c842418d8 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV1_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV1_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV2Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV2Filler.json new file mode 100644 index 000000000..2578a25e7 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV2Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV2" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "2", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV2_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV2_gnvFiller.json new file mode 100644 index 000000000..15c2a0220 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV2_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV2_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "2", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV3Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV3Filler.json new file mode 100644 index 000000000..4c10834fa --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV3Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV3" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "3", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV3_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV3_gnvFiller.json new file mode 100644 index 000000000..6eb1cf285 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV3_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV3_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "3", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV4Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV4Filler.json new file mode 100644 index 000000000..52dd76914 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV4Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV4" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "4", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV4_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV4_gnvFiller.json new file mode 100644 index 000000000..65ba8a097 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionV4_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionV4_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "4", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp1Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp1Filler.json new file mode 100644 index 000000000..a213668eb --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp1Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp1" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "000000000001", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp1_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp1_gnvFiller.json new file mode 100644 index 000000000..3126713b7 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp1_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp1_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "000000000001", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp2Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp2Filler.json new file mode 100644 index 000000000..f859b2c0e --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp2Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp2" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "000000000002", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp2_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp2_gnvFiller.json new file mode 100644 index 000000000..53549d4b1 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp2_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp2_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "000000000002", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp3Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp3Filler.json new file mode 100644 index 000000000..1f6b03e20 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp3Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp3" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "000000000003", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp3_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp3_gnvFiller.json new file mode 100644 index 000000000..f8985c9fc --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp3_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp3_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "000000000003", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp4Filler.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp4Filler.json new file mode 100644 index 000000000..bef84b61e --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp4Filler.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp4" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "000000000004", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp4_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp4_gnvFiller.json new file mode 100644 index 000000000..2cc36c279 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransactionVp4_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransactionVp4_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "000000000004", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction_gnvFiller.json b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction_gnvFiller.json new file mode 100644 index 000000000..1bb0546a6 --- /dev/null +++ b/src/TransactionTestsFiller/ttSpecConstantinople/ZeroSigTransaction_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "ZeroSigTransaction_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "sender" : "ffffffffffffffffffffffffffffffffffffffff", + "transaction" : + { + "data" : "0x", + "gasLimit" : "51000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "0", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Filler.json new file mode 100644 index 000000000..4f9c9cf31 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Filler.json @@ -0,0 +1,18 @@ +{ + "AddressLessThan20" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "0b9331677e6ebf", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Prefixed0Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Prefixed0Filler.json new file mode 100644 index 000000000..792b24261 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Prefixed0Filler.json @@ -0,0 +1,18 @@ +{ + "AddressLessThan20Prefixed0" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "0x000000000000000000000000000b9331677e6ebf", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Prefixed0_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Prefixed0_gnvFiller.json new file mode 100644 index 000000000..ea88cdb7f --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressLessThan20Prefixed0_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "AddressLessThan20Prefixed0_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "0x000000000000000000000000000b9331677e6ebf", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressMoreThan20Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressMoreThan20Filler.json new file mode 100644 index 000000000..c10c05be6 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressMoreThan20Filler.json @@ -0,0 +1,18 @@ +{ + "AddressMoreThan20" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressMoreThan20PrefixedBy0Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressMoreThan20PrefixedBy0Filler.json new file mode 100644 index 000000000..0597fc225 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/AddressMoreThan20PrefixedBy0Filler.json @@ -0,0 +1,18 @@ +{ + "AddressMoreThan20PrefixedBy0" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x12", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "0x0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestEnoughGASFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestEnoughGASFiller.json new file mode 100644 index 000000000..f015e0c9b --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestEnoughGASFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestEnoughGAS" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0358ac39584bc98a7c979f984b03", + "gasLimit" : "23000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestEnoughGAS_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestEnoughGAS_gnvFiller.json new file mode 100644 index 000000000..e4ee6f08f --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestEnoughGAS_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestEnoughGAS_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0358ac39584bc98a7c979f984b03", + "gasLimit" : "23000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestFirstZeroBytesFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestFirstZeroBytesFiller.json new file mode 100644 index 000000000..5792693fd --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestFirstZeroBytesFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestFirstZeroBytes" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0000000000000000000000000001000000000000000000000000000000", + "gasLimit" : "25000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestFirstZeroBytes_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestFirstZeroBytes_gnvFiller.json new file mode 100644 index 000000000..70034f358 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestFirstZeroBytes_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestFirstZeroBytes_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0000000000000000000000000001000000000000000000000000000000", + "gasLimit" : "25000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestLastZeroBytesFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestLastZeroBytesFiller.json new file mode 100644 index 000000000..4a725aea8 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestLastZeroBytesFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestLastZeroBytes" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0100000000000000000000000000000000000000000000000000000000", + "gasLimit" : "25000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestLastZeroBytes_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestLastZeroBytes_gnvFiller.json new file mode 100644 index 000000000..d7c55e2a5 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestLastZeroBytes_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestLastZeroBytes_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0100000000000000000000000000000000000000000000000000000000", + "gasLimit" : "25000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestNotEnoughGASFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestNotEnoughGASFiller.json new file mode 100644 index 000000000..db0535133 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestNotEnoughGASFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestNotEnoughGAS" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0358ac39584bc98a7c979f984b03", + "gasLimit" : "21020", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestZeroBytesFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestZeroBytesFiller.json new file mode 100644 index 000000000..5292273b0 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestZeroBytesFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestZeroBytes" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000", + "gasLimit" : "25000", + "gasPrice" : "0", + "nonce" : "1", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestZeroBytes_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestZeroBytes_gnvFiller.json new file mode 100644 index 000000000..90a64bb55 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/DataTestZeroBytes_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "DataTestZeroBytes_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0000000000000000000000000000000000000000000000000000000000", + "gasLimit" : "25000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/EmptyTransactionFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/EmptyTransactionFiller.json new file mode 100644 index 000000000..f501d78e9 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/EmptyTransactionFiller.json @@ -0,0 +1,18 @@ +{ + "EmptyTransaction" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "0", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/NotEnoughGasLimitFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/NotEnoughGasLimitFiller.json new file mode 100644 index 000000000..4dceb2550 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/NotEnoughGasLimitFiller.json @@ -0,0 +1,18 @@ +{ + "NotEnoughGasLimit" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x", + "gasLimit" : "20000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/NotEnoughGasLimit_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/NotEnoughGasLimit_gnvFiller.json new file mode 100644 index 000000000..14058a6da --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/NotEnoughGasLimit_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "NotEnoughGasLimit_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x", + "gasLimit" : "20000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/RightVRSTestFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/RightVRSTestFiller.json new file mode 100644 index 000000000..fec74d2d7 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/RightVRSTestFiller.json @@ -0,0 +1,18 @@ +{ + "RightVRSTest" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/RightVRSTest_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/RightVRSTest_gnvFiller.json new file mode 100644 index 000000000..58f3258af --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/RightVRSTest_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "RightVRSTest_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow2Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow2Filler.json new file mode 100644 index 000000000..1cf2e0fba --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow2Filler.json @@ -0,0 +1,19 @@ +{ + "TransactionWithGasLimitOverflow2" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "2^63", + "gasLimit" : "9223372036854775808", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow2_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow2_gnvFiller.json new file mode 100644 index 000000000..dd0953edb --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow2_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "TransactionWithGasLimitOverflow2_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "2^63", + "gasLimit" : "9223372036854775808", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63Filler.json new file mode 100644 index 000000000..3a33f2290 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasLimitOverflow63" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "9223372036854775808", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_1Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_1Filler.json new file mode 100644 index 000000000..110d5d6ac --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_1Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasLimitOverflow63_1" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "9223372036854775809", + "gasPrice" : "0", + "nonce" : "1", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_1_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_1_gnvFiller.json new file mode 100644 index 000000000..d2aafbb0b --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_1_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasLimitOverflow63_1_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "9223372036854775809", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_gnvFiller.json new file mode 100644 index 000000000..8cd32da60 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflow63_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasLimitOverflow63_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "9223372036854775808", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflowFiller.json new file mode 100644 index 000000000..4ac73d7cb --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasLimitOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitxPriceOverflow2Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitxPriceOverflow2Filler.json new file mode 100644 index 000000000..0a37c9685 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitxPriceOverflow2Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasLimitxPriceOverflow2" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "10000000", + "gasPrice" : "16769767339735900", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitxPriceOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitxPriceOverflowFiller.json new file mode 100644 index 000000000..44b6cb653 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasLimitxPriceOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasLimitxPriceOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "gasPrice" : "100000000000000000", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasPriceOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasPriceOverflowFiller.json new file mode 100644 index 000000000..6d40b1cc5 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithGasPriceOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithGasPriceOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHighValueOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHighValueOverflowFiller.json new file mode 100644 index 000000000..ec04f4234 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHighValueOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithHighValueOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasLimit63m1Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasLimit63m1Filler.json new file mode 100644 index 000000000..253013604 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasLimit63m1Filler.json @@ -0,0 +1,19 @@ +{ + "TransactionWithHihghGasLimit63m1" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "2^63 - 1", + "gasLimit" : "9223372036854775807", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasLimit63m1_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasLimit63m1_gnvFiller.json new file mode 100644 index 000000000..826785872 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasLimit63m1_gnvFiller.json @@ -0,0 +1,19 @@ +{ + "TransactionWithHihghGasLimit63m1_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "2^63 - 1", + "gasLimit" : "9223372036854775807", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasPrice2Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasPrice2Filler.json new file mode 100644 index 000000000..a9ae7b7f2 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasPrice2Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithHihghGasPrice2" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "55000", + "gasPrice" : "167697673397359", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasPriceFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasPriceFiller.json new file mode 100644 index 000000000..4cae4faf0 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghGasPriceFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithHihghGasPrice" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce256Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce256Filler.json new file mode 100644 index 000000000..3ae22b1e7 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce256Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithHihghNonce256" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce32Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce32Filler.json new file mode 100644 index 000000000..1cb0fc83b --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce32Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithHihghNonce32" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x0358ac39584bc98a7c979f984b03", + "gasLimit" : "23000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce32_2Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce32_2Filler.json new file mode 100644 index 000000000..eab3bb73b --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghNonce32_2Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithHihghNonce32_2" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "4294967296", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghValueFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghValueFiller.json new file mode 100644 index 000000000..1418b34f2 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithHihghValueFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithHihghValue" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithNonceOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithNonceOverflowFiller.json new file mode 100644 index 000000000..c787aded6 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithNonceOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithNonceOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRSvalue0Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRSvalue0Filler.json new file mode 100644 index 000000000..731de7d98 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRSvalue0Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithRSvalue0" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalue0Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalue0Filler.json new file mode 100644 index 000000000..c1c2cf2b7 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalue0Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithRvalue0" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalue1Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalue1Filler.json new file mode 100644 index 000000000..7322acf9a --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalue1Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithRvalue1" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0x01", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueHighFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueHighFiller.json new file mode 100644 index 000000000..2d8b826b5 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueHighFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithRvalueHigh" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueOverflowFiller.json new file mode 100644 index 000000000..73dc820e1 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithRvalueOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvaluePrefixed00Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvaluePrefixed00Filler.json new file mode 100644 index 000000000..1699806ea --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvaluePrefixed00Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithRvaluePrefixed00" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "000000000000000000", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueTooHighFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueTooHighFiller.json new file mode 100644 index 000000000..4012941a2 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithRvalueTooHighFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithRvalueTooHigh" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalue0Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalue0Filler.json new file mode 100644 index 000000000..3f7a23cec --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalue0Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvalue0" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalue1Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalue1Filler.json new file mode 100644 index 000000000..133ac3816 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalue1Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvalue1" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0x01" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueEqual_c_secp256k1n_x05Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueEqual_c_secp256k1n_x05Filler.json new file mode 100644 index 000000000..f3e2bc51f --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueEqual_c_secp256k1n_x05Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvalueEqual_c_secp256k1n_x05" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueHighFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueHighFiller.json new file mode 100644 index 000000000..379f444a2 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueHighFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvalueHigh" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueLargerThan_c_secp256k1n_x05Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueLargerThan_c_secp256k1n_x05Filler.json new file mode 100644 index 000000000..9af975bf6 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueLargerThan_c_secp256k1n_x05Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvalueLargerThan_c_secp256k1n_x05" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueOverflowFiller.json new file mode 100644 index 000000000..5e16338d3 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvalueOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvaluePrefixed00Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvaluePrefixed00Filler.json new file mode 100644 index 000000000..b687f4618 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvaluePrefixed00Filler.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvaluePrefixed00" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "1", + "r" : "0", + "s" : "0x0000000000000000000000000000" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvaluePrefixed00_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvaluePrefixed00_gnvFiller.json new file mode 100644 index 000000000..8153ae405 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvaluePrefixed00_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvaluePrefixed00_gnv" : { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0x0000000000000000000000000000" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueTooHighFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueTooHighFiller.json new file mode 100644 index 000000000..21fbd2abc --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithSvalueTooHighFiller.json @@ -0,0 +1,18 @@ +{ + "TransactionWithSvalueTooHigh" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithTooFewRLPElementsFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithTooFewRLPElementsFiller.json new file mode 100644 index 000000000..345ecc678 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithTooFewRLPElementsFiller.json @@ -0,0 +1,16 @@ +{ + "TransactionWithTooFewRLPElements" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "v" : "1", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithTooManyRLPElementsFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithTooManyRLPElementsFiller.json new file mode 100644 index 000000000..6dde765b3 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/TransactionWithTooManyRLPElementsFiller.json @@ -0,0 +1,19 @@ +{ + "TransactionWithTooManyRLPElements" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "1", + "r" : "0", + "s" : "0", + "extrafield" : "128472387293" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitFiller.json new file mode 100644 index 000000000..fc364b58c --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitFiller.json @@ -0,0 +1,18 @@ +{ + "V_overflow32bit" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "4294967323", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitSignedFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitSignedFiller.json new file mode 100644 index 000000000..ef9b6741c --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitSignedFiller.json @@ -0,0 +1,18 @@ +{ + "V_overflow32bitSigned" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "2147483647", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitSigned_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitSigned_gnvFiller.json new file mode 100644 index 000000000..4bbf1e567 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bitSigned_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "V_overflow32bitSigned_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "2147483647", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bit_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bit_gnvFiller.json new file mode 100644 index 000000000..59b2c719f --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow32bit_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "V_overflow32bit_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "4294967323", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus27Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus27Filler.json new file mode 100644 index 000000000..8463d4020 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus27Filler.json @@ -0,0 +1,18 @@ +{ + "V_overflow64bitPlus27" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "22000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "18446744073709551643", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus27_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus27_gnvFiller.json new file mode 100644 index 000000000..e23ce680e --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus27_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "V_overflow64bitPlus27_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "22000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "18446744073709551643", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus28Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus28Filler.json new file mode 100644 index 000000000..04949098a --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus28Filler.json @@ -0,0 +1,18 @@ +{ + "V_overflow64bitPlus28" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "22000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "18446744073709551644", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus28_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus28_gnvFiller.json new file mode 100644 index 000000000..c747ad7a0 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitPlus28_gnvFiller.json @@ -0,0 +1,18 @@ +{ + "V_overflow64bitPlus28_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "22000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "18446744073709551644", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitSignedFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitSignedFiller.json new file mode 100644 index 000000000..a6ac3281d --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/V_overflow64bitSignedFiller.json @@ -0,0 +1,18 @@ +{ + "V_overflow64bitSigned" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "18446744073709551388", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestIncorrectSizeFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestIncorrectSizeFiller.json new file mode 100644 index 000000000..48bf46593 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestIncorrectSizeFiller.json @@ -0,0 +1,18 @@ +{ + "WrongVRSTestIncorrectSize" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "1", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual26Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual26Filler.json new file mode 100644 index 000000000..c4ed7fd62 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual26Filler.json @@ -0,0 +1,18 @@ +{ + "WrongVRSTestVEqual26" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "26", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual29Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual29Filler.json new file mode 100644 index 000000000..160426905 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual29Filler.json @@ -0,0 +1,18 @@ +{ + "WrongVRSTestVEqual29" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "29", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual31Filler.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual31Filler.json new file mode 100644 index 000000000..bc1d21136 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVEqual31Filler.json @@ -0,0 +1,18 @@ +{ + "WrongVRSTestVEqual31" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "31", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVOverflowFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVOverflowFiller.json new file mode 100644 index 000000000..14c6395dc --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/WrongVRSTestVOverflowFiller.json @@ -0,0 +1,18 @@ +{ + "WrongVRSTestVOverflow" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "0", + "nonce" : "0", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "0", + "v" : "310", + "r" : "0", + "s" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/dataTx_bcValidBlockTestFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/dataTx_bcValidBlockTestFiller.json new file mode 100644 index 000000000..deb2e3c2f --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/dataTx_bcValidBlockTestFiller.json @@ -0,0 +1,17 @@ +{ + "dataTx_bcValidBlockTest": { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction": { + "nonce": "1", + "gasPrice": "0", + "gasLimit": "80000", + "to": "", + "data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56", + "r" : "0", + "s" : "0", + "v": "1", + "value": "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/dataTx_bcValidBlockTest_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/dataTx_bcValidBlockTest_gnvFiller.json new file mode 100644 index 000000000..455b05c0f --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/dataTx_bcValidBlockTest_gnvFiller.json @@ -0,0 +1,17 @@ +{ + "dataTx_bcValidBlockTest_gnv": { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction": { + "nonce": "0", + "gasPrice": "0", + "gasLimit": "80000", + "to": "", + "data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56", + "r" : "0", + "s" : "0", + "v": "1", + "value": "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/invalidSignatureFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/invalidSignatureFiller.json new file mode 100644 index 000000000..a232acbe0 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/invalidSignatureFiller.json @@ -0,0 +1,17 @@ +{ + "invalidSignature" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : { + "data" : "", + "gasLimit" : "1000000", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "v": "27", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "100000" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/invalidSignature_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/invalidSignature_gnvFiller.json new file mode 100644 index 000000000..dbf9a38f6 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/invalidSignature_gnvFiller.json @@ -0,0 +1,17 @@ +{ + "invalidSignature_gnv" : { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction" : { + "data" : "", + "gasLimit" : "1000000", + "gasPrice" : "0", + "nonce" : "0", + "r" : "0", + "s" : "0", + "v": "27", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/libsecp256k1testFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/libsecp256k1testFiller.json new file mode 100644 index 000000000..b92fb6fd5 --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/libsecp256k1testFiller.json @@ -0,0 +1,17 @@ +{ + "libsecp256k1test": { + "expect" : "invalid", + "blocknumber" : "0x500000", + "transaction": { + "nonce": "0", + "gasPrice": "0x09184e72a000", + "gasLimit": "0xf388", + "to": "", + "data": "0x", + "r": "0", + "s": "0", + "v": "1", + "value": "0" + } + } +} diff --git a/src/TransactionTestsFiller/ttZeroSigConstantinople/libsecp256k1test_gnvFiller.json b/src/TransactionTestsFiller/ttZeroSigConstantinople/libsecp256k1test_gnvFiller.json new file mode 100644 index 000000000..d0f2ee98f --- /dev/null +++ b/src/TransactionTestsFiller/ttZeroSigConstantinople/libsecp256k1test_gnvFiller.json @@ -0,0 +1,17 @@ +{ + "libsecp256k1test_gnv": { + "expect" : "valid", + "blocknumber" : "0x500000", + "transaction": { + "nonce": "0", + "gasPrice": "0", + "gasLimit": "0xf388", + "to": "", + "data": "0x", + "r": "0", + "s": "0", + "v": "1", + "value": "0" + } + } +} |