diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-03-23 20:13:35 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-03-23 20:13:35 +0800 |
commit | 347626743dd22663a7505294d238c40280f41f4e (patch) | |
tree | f6d1e47b95b0ffe580ffa644a85fc348a81db366 /ttTransactionTestFiller.json | |
parent | aab0ec06781d44eb98fe2798bf813023889aa6b9 (diff) | |
download | dexon-solidity-347626743dd22663a7505294d238c40280f41f4e.tar dexon-solidity-347626743dd22663a7505294d238c40280f41f4e.tar.gz dexon-solidity-347626743dd22663a7505294d238c40280f41f4e.tar.bz2 dexon-solidity-347626743dd22663a7505294d238c40280f41f4e.tar.lz dexon-solidity-347626743dd22663a7505294d238c40280f41f4e.tar.xz dexon-solidity-347626743dd22663a7505294d238c40280f41f4e.tar.zst dexon-solidity-347626743dd22663a7505294d238c40280f41f4e.zip |
check overflow for v value in transacition test
Diffstat (limited to 'ttTransactionTestFiller.json')
-rw-r--r-- | ttTransactionTestFiller.json | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/ttTransactionTestFiller.json b/ttTransactionTestFiller.json index 105b64ab..0058feac 100644 --- a/ttTransactionTestFiller.json +++ b/ttTransactionTestFiller.json @@ -14,6 +14,66 @@ } }, + "V_overflow32bit" : { + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "2000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "4294967323", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + }, + + "V_overflow32bitSigned" : { + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "2000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "2147483647", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + }, + + "V_overflow64bit" : { + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "2000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "18446744073709551643", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + }, + + "V_overflow64bitSigned" : { + "transaction" : + { + "data" : "0x5544", + "gasLimit" : "2000", + "gasPrice" : "1", + "nonce" : "3", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10", + "v" : "18446744073709551388", + "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", + "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + } + }, + "WrongVRSTestVEqual26" : { "transaction" : { |