aboutsummaryrefslogtreecommitdiffstats
path: root/src/TransactionTestsFiller/ttVValue
diff options
context:
space:
mode:
Diffstat (limited to 'src/TransactionTestsFiller/ttVValue')
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_equals37Filler.json27
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_equals38Filler.json27
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json2
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json2
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json4
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json22
18 files changed, 344 insertions, 4 deletions
diff --git a/src/TransactionTestsFiller/ttVValue/V_equals37Filler.json b/src/TransactionTestsFiller/ttVValue/V_equals37Filler.json
new file mode 100644
index 000000000..2a4408bcc
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_equals37Filler.json
@@ -0,0 +1,27 @@
+{
+ "V_equals37" : {
+ "expect" : [
+ {
+ "network" : ["EIP158", "Byzantium", "Constantinople"],
+ "result" : "valid",
+ "sender" : "2ea991808ba979ba103147edfd72304ebd95c028"
+ },
+ {
+ "network" : ["Frontier", "Homestead", "EIP150"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "55000",
+ "gasPrice" : "167697673397359",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "37",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_equals38Filler.json b/src/TransactionTestsFiller/ttVValue/V_equals38Filler.json
new file mode 100644
index 000000000..fe1f995eb
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_equals38Filler.json
@@ -0,0 +1,27 @@
+{
+ "V_equals38" : {
+ "expect" : [
+ {
+ "network" : ["EIP158", "Byzantium", "Constantinople"],
+ "result" : "valid",
+ "sender" : "10d1d0f00e24ed10a9290ab187ab008a2a210559"
+ },
+ {
+ "network" : ["Frontier", "Homestead", "EIP150"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "38",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json b/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json
index 8f33bab6d..e4414fc55 100644
--- a/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow32bitFiller.json
@@ -1,6 +1,6 @@
{
"V_overflow32bit" : {
- "expect" : [
+ "expect" : [
{
"network" : ["ALL"],
"result" : "invalid"
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json
index 67c1c7f5d..56d807549 100644
--- a/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow64bitPlus28Filler.json
@@ -1,6 +1,6 @@
{
"V_overflow64bitPlus28" : {
- "expect" : [
+ "expect" : [
{
"network" : ["ALL"],
"result" : "invalid"
diff --git a/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json b/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json
index a89dbec88..ef02e5ede 100644
--- a/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json
+++ b/src/TransactionTestsFiller/ttVValue/V_overflow64bitSignedFiller.json
@@ -1,11 +1,11 @@
{
"V_overflow64bitSigned" : {
- "expect" : [
+ "expect" : [
{
"network" : ["Frontier"],
"result" : "valid"
},
- {
+ {
"network" : ["Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
"result" : "invalid"
}
diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json
new file mode 100644
index 000000000..673c926e1
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_101Filler.json
@@ -0,0 +1,22 @@
+{
+ "V_wrongvalue_101" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "0x0101",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json
new file mode 100644
index 000000000..9ee600554
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_121Filler.json
@@ -0,0 +1,22 @@
+{
+ "V_wrongvalue_121" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "0x0121",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json
new file mode 100644
index 000000000..83c1b3d71
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_122Filler.json
@@ -0,0 +1,22 @@
+{
+ "V_wrongvalue_122" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "0x0122",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json
new file mode 100644
index 000000000..616b7a921
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_123Filler.json
@@ -0,0 +1,22 @@
+{
+ "V_wrongvalue_123" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "0x0123",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json
new file mode 100644
index 000000000..59e3c9f05
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_124Filler.json
@@ -0,0 +1,22 @@
+{
+ "V_wrongvalue_124" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "0x0124",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json
new file mode 100644
index 000000000..6bdd7842f
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffFiller.json
@@ -0,0 +1,22 @@
+{
+ "V_wrongvalue_ff" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "0xff",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json
new file mode 100644
index 000000000..14ae3e7bd
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/V_wrongvalue_ffffFiller.json
@@ -0,0 +1,22 @@
+{
+ "V_wrongvalue_ffff" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x5544",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "0xffff",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json
new file mode 100644
index 000000000..5e618a388
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual26Filler.json
@@ -0,0 +1,22 @@
+{
+ "WrongVRSTestVEqual26" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "26",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json
new file mode 100644
index 000000000..29f943ff1
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual29Filler.json
@@ -0,0 +1,22 @@
+{
+ "WrongVRSTestVEqual29" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "29",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json
new file mode 100644
index 000000000..f5f534ce6
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual31Filler.json
@@ -0,0 +1,22 @@
+{
+ "WrongVRSTestVEqual31" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "31",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json
new file mode 100644
index 000000000..dbcbdd6f8
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual36Filler.json
@@ -0,0 +1,22 @@
+{
+ "WrongVRSTestVEqual36" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "36",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json
new file mode 100644
index 000000000..8c9a0094a
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual39Filler.json
@@ -0,0 +1,22 @@
+{
+ "WrongVRSTestVEqual39" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "39",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json
new file mode 100644
index 000000000..23b335c1c
--- /dev/null
+++ b/src/TransactionTestsFiller/ttVValue/WrongVRSTestVEqual41Filler.json
@@ -0,0 +1,22 @@
+{
+ "WrongVRSTestVEqual41" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "41",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}