diff options
author | Dimitry <dimitry@ethereum.org> | 2017-12-01 06:05:06 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2017-12-01 06:05:06 +0800 |
commit | f344a5affd1ab8b75f429b57769881fe26413e1d (patch) | |
tree | a84b7b0a9abdc5adfa04d3344b7c0e77e12f39d7 /src/TransactionTestsFiller/ttFrontier/gasLimitTests | |
parent | c200d9beebed39296c2e3cf09c2472e836ef8f30 (diff) | |
download | dexon-tests-f344a5affd1ab8b75f429b57769881fe26413e1d.tar dexon-tests-f344a5affd1ab8b75f429b57769881fe26413e1d.tar.gz dexon-tests-f344a5affd1ab8b75f429b57769881fe26413e1d.tar.bz2 dexon-tests-f344a5affd1ab8b75f429b57769881fe26413e1d.tar.lz dexon-tests-f344a5affd1ab8b75f429b57769881fe26413e1d.tar.xz dexon-tests-f344a5affd1ab8b75f429b57769881fe26413e1d.tar.zst dexon-tests-f344a5affd1ab8b75f429b57769881fe26413e1d.zip |
move wrong Transaction RLP tests
Diffstat (limited to 'src/TransactionTestsFiller/ttFrontier/gasLimitTests')
5 files changed, 111 insertions, 0 deletions
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" + } + } +} |