aboutsummaryrefslogtreecommitdiffstats
path: root/src/TransactionTestsFiller/ttVValue
diff options
context:
space:
mode:
Diffstat (limited to 'src/TransactionTestsFiller/ttVValue')
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow32bitSignedFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus27Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json26
5 files changed, 114 insertions, 0 deletions
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json b/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json
new file mode 100644
index 000000000..8f33bab6d
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json
@@ -0,0 +1,22 @@
+{
+ "V_overflow32bit" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "4294967323",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow32bitSignedFiller.json b/src/TransactionTestsFiller/ttVValue/V_overflow32bitSignedFiller.json
new file mode 100644
index 000000000..6da73844b
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow32bitSignedFiller.json
@@ -0,0 +1,22 @@
+{
+ "V_overflow32bitSigned" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "2147483647",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus27Filler.json b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus27Filler.json
new file mode 100644
index 000000000..9ac891e9d
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus27Filler.json
@@ -0,0 +1,22 @@
+{
+ "V_overflow64bitPlus27" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "22000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "18446744073709551643",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json
new file mode 100644
index 000000000..67c1c7f5d
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json
@@ -0,0 +1,22 @@
+{
+ "V_overflow64bitPlus28" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "22000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "18446744073709551644",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json b/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json
new file mode 100644
index 000000000..a89dbec88
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json
@@ -0,0 +1,26 @@
+{
+ "V_overflow64bitSigned" : {
+ "expect" : [
+ {
+ "network" : ["Frontier"],
+ "result" : "valid"
+ },
+ {
+ "network" : ["Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "28",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}