aboutsummaryrefslogtreecommitdiffstats
path: root/src/TransactionTestsFiller/ttRSValue
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2017-11-30 09:39:45 +0800
committerDimitry <dimitry@ethereum.org>2017-11-30 09:39:45 +0800
commitc200d9beebed39296c2e3cf09c2472e836ef8f30 (patch)
tree63d063eb67af4b67957ff7b7d184b0e640a392c7 /src/TransactionTestsFiller/ttRSValue
parentbffedcb426663a4935782e91d28de3ece82df40f (diff)
downloadtangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar
tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.gz
tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.bz2
tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.lz
tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.xz
tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.zst
tangerine-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.zip
convert Frontier and Homestead ttTests to new format
Diffstat (limited to 'src/TransactionTestsFiller/ttRSValue')
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue0Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue1Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue0Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue1Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueHighFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueOverflowFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRvaluePrefixed00Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueTooHighFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue0Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue1Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueEqual_c_secp256k1n_x05Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueHighFiller.json26
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLargerThan_c_secp256k1n_x05Filler.json26
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLessThan_c_secp256k1n_x05Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueOverflowFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvaluePrefixed00Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueTooHighFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttRSValue/unpadedRValueFiller.json21
18 files changed, 403 insertions, 0 deletions
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue0Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue0Filler.json
new file mode 100644
index 000000000..b8ff5d9f0
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue0Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRSvalue0" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0",
+ "s" : "0"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue1Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue1Filler.json
new file mode 100644
index 000000000..ed80153b2
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRSvalue1Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRSvalue1" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "1",
+ "s" : "1"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue0Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue0Filler.json
new file mode 100644
index 000000000..c6929549a
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue0Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRvalue0" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue1Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue1Filler.json
new file mode 100644
index 000000000..e5747c01d
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalue1Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRvalue1" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x01",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueHighFiller.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueHighFiller.json
new file mode 100644
index 000000000..2728538bd
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueHighFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRvalueHigh" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueOverflowFiller.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueOverflowFiller.json
new file mode 100644
index 000000000..263208df5
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueOverflowFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRvalueOverflow" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRvaluePrefixed00Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvaluePrefixed00Filler.json
new file mode 100644
index 000000000..5d25bca86
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvaluePrefixed00Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRvaluePrefixed00" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0xebaaedce6af48a03bbfd25e8cd0364141",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueTooHighFiller.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueTooHighFiller.json
new file mode 100644
index 000000000..c0d829c6a
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithRvalueTooHighFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithRvalueTooHigh" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue0Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue0Filler.json
new file mode 100644
index 000000000..93c90731c
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue0Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithSvalue0" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue1Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue1Filler.json
new file mode 100644
index 000000000..29651fd6e
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalue1Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithSvalue1" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x01"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueEqual_c_secp256k1n_x05Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueEqual_c_secp256k1n_x05Filler.json
new file mode 100644
index 000000000..861bd8a65
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueEqual_c_secp256k1n_x05Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithSvalueEqual_c_secp256k1n_x05" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueHighFiller.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueHighFiller.json
new file mode 100644
index 000000000..5c8cc29f5
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueHighFiller.json
@@ -0,0 +1,26 @@
+{
+ "TransactionWithSvalueHigh" : {
+ "expect" : [
+ {
+ "network" : ["Frontier"],
+ "result" : "valid"
+ },
+ {
+ "network" : ["Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLargerThan_c_secp256k1n_x05Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLargerThan_c_secp256k1n_x05Filler.json
new file mode 100644
index 000000000..d7193b0e4
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLargerThan_c_secp256k1n_x05Filler.json
@@ -0,0 +1,26 @@
+{
+ "TransactionWithSvalueLargerThan_c_secp256k1n_x05" : {
+ "expect" : [
+ {
+ "network" : ["Frontier"],
+ "result" : "valid"
+ },
+ {
+ "network" : ["Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLessThan_c_secp256k1n_x05Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLessThan_c_secp256k1n_x05Filler.json
new file mode 100644
index 000000000..9f8b11cc2
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueLessThan_c_secp256k1n_x05Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithSvalueLessThan_c_secp256k1n_x05" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b2090"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueOverflowFiller.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueOverflowFiller.json
new file mode 100644
index 000000000..a77de8cbf
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueOverflowFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithSvalueOverflow" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvaluePrefixed00Filler.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvaluePrefixed00Filler.json
new file mode 100644
index 000000000..5f376a0d5
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvaluePrefixed00Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithSvaluePrefixed00" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0xef0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueTooHighFiller.json b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueTooHighFiller.json
new file mode 100644
index 000000000..4a598934f
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/TransactionWithSvalueTooHighFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithSvalueTooHigh" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttRSValue/unpadedRValueFiller.json b/src/TransactionTestsFiller/ttRSValue/unpadedRValueFiller.json
new file mode 100644
index 000000000..b03dc72f7
--- /dev/null
+++ b/src/TransactionTestsFiller/ttRSValue/unpadedRValueFiller.json
@@ -0,0 +1,21 @@
+{
+ "unpadedRValue": {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction": {
+ "nonce": "13",
+ "gasPrice": "0x09184e72a000",
+ "gasLimit": "0xf710",
+ "to": "7c47ef93268a311f4cad0c750724299e9b72c268",
+ "data": "0x379607f50000000000000000000000000000000000000000000000000000000000000005",
+ "r": "0x006ab6dda9f4df56ea45583af36660329147f1753f3724ea5eb9ed83e812ca77",
+ "s": "0x495701e230667832c8999e884e366a61028633ecf951e8cd66d119f381ae5718",
+ "v": "28",
+ "value": ""
+ }
+ }
+}