diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-03-23 18:26:48 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-03-23 18:26:48 +0800 |
commit | 5af1002b96f34cd2c9252c1a6636826d47411ccd (patch) | |
tree | d646684225961ceff1cb89c35a30a0e3b2f66d3a | |
parent | 53ee7753d79c9cd8fde89e48c2fd8c2eaf8dd109 (diff) | |
download | tangerine-tests-5af1002b96f34cd2c9252c1a6636826d47411ccd.tar tangerine-tests-5af1002b96f34cd2c9252c1a6636826d47411ccd.tar.gz tangerine-tests-5af1002b96f34cd2c9252c1a6636826d47411ccd.tar.bz2 tangerine-tests-5af1002b96f34cd2c9252c1a6636826d47411ccd.tar.lz tangerine-tests-5af1002b96f34cd2c9252c1a6636826d47411ccd.tar.xz tangerine-tests-5af1002b96f34cd2c9252c1a6636826d47411ccd.tar.zst tangerine-tests-5af1002b96f34cd2c9252c1a6636826d47411ccd.zip |
check overflow of v value in tx tests
-rw-r--r-- | TransactionTests/ttTransactionTest.json | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/TransactionTests/ttTransactionTest.json b/TransactionTests/ttTransactionTest.json index 812ebc637..132fd548c 100644 --- a/TransactionTests/ttTransactionTest.json +++ b/TransactionTests/ttTransactionTest.json @@ -23,6 +23,21 @@ "AddressMoreThan20PrefixedBy0" : { "rlp" : "0xf867367b8203e89c0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d870b121ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" }, + "DataTest" : { + "rlp" : "0xf86d800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7c979f984b031ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", + "sender" : "33f4b78a24c0b941c385dd0bb4a635b8f5dd21d8", + "transaction" : { + "data" : "0x0358ac39584bc98a7c979f984b03", + "gasLimit" : "850", + "gasPrice" : "1", + "nonce" : "0", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "v" : "27", + "value" : "10" + } + }, "EmptyTransaction" : { "rlp" : "0xf85d80808094095e7baea6a6c7c4c2dfeb977efac326af552d8780801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", "sender" : "3e2ddf4fea89f584a735a1234cf20d8627421564", @@ -222,6 +237,18 @@ "TransactionWithTooManyRLPElements" : { "rlp" : "0xf865800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804851de98d0edd" }, + "V_overflow32bit" : { + "rlp" : "0xf86603018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a82554485010000001ba098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, + "V_overflow32bitSigned" : { + "rlp" : "0xf86503018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a825544847fffffffa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, + "V_overflow64bit" : { + "rlp" : "0xf86a03018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8255448901000000000000001ba098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, + "V_overflow64bitSigned" : { + "rlp" : "0xf86903018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a82554488ffffffffffffff1ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, "ValuesAsDec" : { "rlp" : "0xf86a830ffdc50183adc05394b94f5374fce5edbc8e2a8697c15331677e6ebf0b870ffdc5fffdc12c801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", "sender" : "3eb583df408b324b4ba3a8d63e6b2dba1c4f28f6", @@ -255,15 +282,18 @@ "WrongVRSTestIncorrectSize" : { "rlp" : "0xf86380018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca298ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3a28887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a302c3" }, - "WrongVRSTestVge31" : { - "rlp" : "0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801fa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" - }, - "WrongVRSTestVl26" : { + "WrongVRSTestVEqual26" : { "rlp" : "0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801aa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" }, - "WrongVRSTestVl29" : { + "WrongVRSTestVEqual29" : { "rlp" : "0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801da098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" }, + "WrongVRSTestVEqual31" : { + "rlp" : "0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801fa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, + "WrongVRSTestVOverflow" : { + "rlp" : "0xf86180018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a80820136a098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, "unpadedRValue" : { "rlp" : "0xf8880d8609184e72a000822710947c47ef93268a311f4cad0c750724299e9b72c26880a4379607f500000000000000000000000000000000000000000000000000000000000000051c9f6ab6dda9f4df56ea45583af36660329147f1753f3724ea5eb9ed83e812ca77a0495701e230667832c8999e884e366a61028633ecf951e8cd66d119f381ae5718", "sender" : "7adf3b3bce3a5c8c17e8b243f4c331dd97c60579", |