aboutsummaryrefslogtreecommitdiffstats
path: root/src/TransactionTestsFiller/ttGasLimit
diff options
context:
space:
mode:
Diffstat (limited to 'src/TransactionTestsFiller/ttGasLimit')
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/NotEnoughGasLimitFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow2Filler.json23
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63_1Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflowFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflow2Filler.json22
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflowFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithHighGasFiller.json27
-rw-r--r--src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json27
9 files changed, 209 insertions, 0 deletions
diff --git a/src/TransactionTestsFiller/ttGasLimit/NotEnoughGasLimitFiller.json b/src/TransactionTestsFiller/ttGasLimit/NotEnoughGasLimitFiller.json
new file mode 100644
index 000000000..6f83275d3
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/NotEnoughGasLimitFiller.json
@@ -0,0 +1,22 @@
+{
+ "NotEnoughGasLimit" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "0x",
+ "gasLimit" : "20000",
+ "gasPrice" : "1",
+ "nonce" : "3",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "10",
+ "v" : "28",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow2Filler.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow2Filler.json
new file mode 100644
index 000000000..09beaa01c
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow2Filler.json
@@ -0,0 +1,23 @@
+{
+ "TransactionWithGasLimitOverflow2" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "2^63",
+ "gasLimit" : "9223372036854775808",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63Filler.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63Filler.json
new file mode 100644
index 000000000..fdc7f5bb6
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithGasLimitOverflow63" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "9223372036854775808",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63_1Filler.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63_1Filler.json
new file mode 100644
index 000000000..19e6d4dfc
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflow63_1Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithGasLimitOverflow63_1" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "9223372036854775809",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflowFiller.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflowFiller.json
new file mode 100644
index 000000000..a1a0bca45
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitOverflowFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithGasLimitOverflow" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "11",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflow2Filler.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflow2Filler.json
new file mode 100644
index 000000000..a0680877a
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflow2Filler.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithGasLimitxPriceOverflow2" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "10000000",
+ "gasPrice" : "16769767339735900",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflowFiller.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflowFiller.json
new file mode 100644
index 000000000..e777d8842
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithGasLimitxPriceOverflowFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithGasLimitxPriceOverflow" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
+ "gasPrice" : "100000000000000000",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithHighGasFiller.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithHighGasFiller.json
new file mode 100644
index 000000000..cd05c0639
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithHighGasFiller.json
@@ -0,0 +1,27 @@
+{
+ "TransactionWithHighGas" : {
+ "expect" : [
+ {
+ "network" : ["Frontier"],
+ "result" : "valid"
+ },
+ {
+ "network" : ["Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "2^63 - 1",
+ "gasLimit" : "9223372036854775807",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json b/src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json
new file mode 100644
index 000000000..42eb6fa1f
--- /dev/null
+++ b/src/TransactionTestsFiller/ttGasLimit/TransactionWithHihghGasLimit63m1Filler.json
@@ -0,0 +1,27 @@
+{
+ "TransactionWithHihghGasLimit63m1" : {
+ "expect" : [
+ {
+ "network" : ["EIP158", "Byzantium", "Constantinople"],
+ "result" : "valid"
+ },
+ {
+ "network" : ["Frontier", "Homestead", "EIP150"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "2^63 - 1",
+ "gasLimit" : "9223372036854775807",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0",
+ "v" : "37",
+ "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
+ "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
+ }
+ }
+}