From f344a5affd1ab8b75f429b57769881fe26413e1d Mon Sep 17 00:00:00 2001 From: Dimitry Date: Fri, 1 Dec 2017 01:05:06 +0300 Subject: move wrong Transaction RLP tests --- ...actionWithGasLimitOverflow2_correctSFiller.json | 23 ++++++++++++++++++++++ ...ionWithGasLimitOverflow63_1_correctSFiller.json | 22 +++++++++++++++++++++ ...ctionWithGasLimitOverflow63_correctSFiller.json | 22 +++++++++++++++++++++ ...WithGasLimitxPriceOverflow2_correctSFiller.json | 22 +++++++++++++++++++++ ...nWithGasLimitxPriceOverflow_correctSFiller.json | 22 +++++++++++++++++++++ ...ransactionWithHighGasPrice2_correctSFiller.json | 22 +++++++++++++++++++++ ...TransactionWithHighGasPrice_correctSFiller.json | 22 +++++++++++++++++++++ ...TransactionWithHighNonce256_correctSFiller.json | 22 +++++++++++++++++++++ .../TransactionWithHighNonce32_correctSFiller.json | 22 +++++++++++++++++++++ .../TransactionWithRvalue1_correctSFiller.json | 22 +++++++++++++++++++++ ...sactionWithRvaluePrefixed00_correctSFiller.json | 22 +++++++++++++++++++++ 11 files changed, 243 insertions(+) create mode 100644 src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow2_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_1_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow2_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice2_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce256_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce32_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvalue1_correctSFiller.json create mode 100644 src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvaluePrefixed00_correctSFiller.json (limited to 'src/TransactionTestsFiller/ttFrontier') diff --git a/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow2_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow2_correctSFiller.json new file mode 100644 index 000000000..d9be226e6 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow2_correctSFiller.json @@ -0,0 +1,23 @@ +{ + "TransactionWithGasLimitOverflow2_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "2^63", + "gasLimit" : "9223372036854775808", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_1_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_1_correctSFiller.json new file mode 100644 index 000000000..bdd787ba6 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_1_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithGasLimitOverflow63_1_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "9223372036854775809", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_correctSFiller.json new file mode 100644 index 000000000..642726937 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitOverflow63_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithGasLimitOverflow63_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "9223372036854775808", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow2_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow2_correctSFiller.json new file mode 100644 index 000000000..dd869c462 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow2_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithGasLimitxPriceOverflow2_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "10000000", + "gasPrice" : "16769767339735900", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow_correctSFiller.json new file mode 100644 index 000000000..a1159e2d8 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/gasLimitTests/TransactionWithGasLimitxPriceOverflow_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithGasLimitxPriceOverflow_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "gasPrice" : "100000000000000000", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice2_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice2_correctSFiller.json new file mode 100644 index 000000000..d8d12d484 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice2_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithHighGasPrice2_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "167697673397359", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice_correctSFiller.json new file mode 100644 index 000000000..3a0020f46 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/gasPriceTests/TransactionWithHighGasPrice_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithHighGasPrice_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce256_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce256_correctSFiller.json new file mode 100644 index 000000000..58526d961 --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce256_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithHighNonce256_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce32_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce32_correctSFiller.json new file mode 100644 index 000000000..43038c87b --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/nonceTests/TransactionWithHighNonce32_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithHighNonce32_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "4294967296", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvalue1_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvalue1_correctSFiller.json new file mode 100644 index 000000000..c211b157c --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvalue1_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithRvalue1_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x01", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvaluePrefixed00_correctSFiller.json b/src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvaluePrefixed00_correctSFiller.json new file mode 100644 index 000000000..b80f4c4ec --- /dev/null +++ b/src/TransactionTestsFiller/ttFrontier/rsValueTests/TransactionWithRvaluePrefixed00_correctSFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithRvaluePrefixed00_correctS" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0xebaaedce6af48a03bbfd25e8cd0364141", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} -- cgit v1.2.3