aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/TransactionTests/ttTransactionTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/TransactionTests/ttTransactionTest.json')
-rw-r--r--tests/files/TransactionTests/ttTransactionTest.json123
1 files changed, 123 insertions, 0 deletions
diff --git a/tests/files/TransactionTests/ttTransactionTest.json b/tests/files/TransactionTests/ttTransactionTest.json
new file mode 100644
index 000000000..5949b4f50
--- /dev/null
+++ b/tests/files/TransactionTests/ttTransactionTest.json
@@ -0,0 +1,123 @@
+{
+ "EmptyTransaction" : {
+ "rlp" : "0xf8498080808080801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "sender" : "66c7b5c28121e4b66583d15481c92f5ad848fe1f",
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "",
+ "gasPrice" : "",
+ "nonce" : "",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "to" : "",
+ "v" : "27",
+ "value" : ""
+ }
+ },
+ "RLPElementsWithZeros" : {
+ "rlp" : "0xf8662c538203e894095e7baea6a6c7c4c2dfeb977efac326af552d870987000000112223331ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "sender" : "f8cf3e78f097103c068225ce61e34f29078191a5",
+ "transaction" : {
+ "data" : "0x0000011222333",
+ "gasLimit" : "1000",
+ "gasPrice" : "00123",
+ "nonce" : "0054",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "27",
+ "value" : "00000011"
+ }
+ },
+ "RLPWrongHexElements" : {
+ "rlp" : "0xf864367b8203e894095e7baea6a6c7c4c2dfeb977efac326af552d870b8500000000121ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "sender" : "65959aab09090881850fd56f8a1cacb3abc4e811",
+ "transaction" : {
+ "data" : "0x0000000012",
+ "gasLimit" : "1000",
+ "gasPrice" : "123",
+ "nonce" : "54",
+ "r" : "0x0048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x00efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "27",
+ "value" : "11"
+ }
+ },
+ "RightVRSTest" : {
+ "rlp" : "0xf86103018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8255441ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3",
+ "sender" : "5ba306ae3650c72c3586da6f1dbac3c9fa7e529e",
+ "transaction" : {
+ "data" : "0x5544",
+ "gasLimit" : "2000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "v" : "28",
+ "value" : "10"
+ }
+ },
+ "SenderTest" : {
+ "//" : "sender a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "rlp" : "0xf85f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "sender" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "850",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "27",
+ "value" : "10"
+ }
+ },
+ "TransactionWithGasLimitOverflow" : {
+ "rlp" : "0xf87e807ba101000000000000000000000000000000000000000000000000000000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ },
+ "TransactionWithGasPriceOverflow" : {
+ "rlp" : "0xf88080a101000000000000000000000000000000000000000000000000000000000000000082035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ },
+ "TransactionWithHihghValue" : {
+ "rlp" : "0xf87f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d87a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "sender" : "50702f47f1c4bfc6b75e65e2b995a8024fe25be9",
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "850",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "27",
+ "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
+ }
+ },
+ "TransactionWithHihghValueOverflow" : {
+ "rlp" : "0xf880800182035294095e7baea6a6c7c4c2dfeb977efac326af552d87a1010000000000000000000000000000000000000000000000000000000000000000801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ },
+ "TransactionWithNonceOverflow" : {
+ "rlp" : "0xf880a10100000000000000000000000000000000000000000000000000000000000000000182035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ },
+ "TransactionWithRvalueOverflow" : {
+ "rlp" : "0xf85f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ },
+ "TransactionWithSvalueOverflow" : {
+ "rlp" : "0xf85f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"
+ },
+ "TransactionWithTooFewRLPElements" : {
+ "rlp" : "0xf85b800194095e7baea6a6c7c4c2dfeb977efac326af552d87801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ },
+ "TransactionWithTooManyRLPElements" : {
+ "rlp" : "0xf865800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804851de98d0edd"
+ },
+ "WrongVRSTestVge31" : {
+ "rlp" : "0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801fa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ },
+ "WrongVRSTestVl27" : {
+ "rlp" : "0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801aa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+} \ No newline at end of file