aboutsummaryrefslogtreecommitdiffstats
path: root/ttTransactionTestFiller.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-23 20:13:35 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-23 20:13:35 +0800
commit347626743dd22663a7505294d238c40280f41f4e (patch)
treef6d1e47b95b0ffe580ffa644a85fc348a81db366 /ttTransactionTestFiller.json
parentaab0ec06781d44eb98fe2798bf813023889aa6b9 (diff)
downloaddexon-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.json60
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" :
{