aboutsummaryrefslogtreecommitdiffstats
path: root/src/TransactionTestsFiller/ttValue
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/ttValue
parentbffedcb426663a4935782e91d28de3ece82df40f (diff)
downloaddexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.gz
dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.zst
dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.zip
convert Frontier and Homestead ttTests to new format
Diffstat (limited to 'src/TransactionTestsFiller/ttValue')
-rw-r--r--src/TransactionTestsFiller/ttValue/TransactionWithHighValueFiller.json22
-rw-r--r--src/TransactionTestsFiller/ttValue/TransactionWithHighValueOverflowFiller.json22
2 files changed, 44 insertions, 0 deletions
diff --git a/src/TransactionTestsFiller/ttValue/TransactionWithHighValueFiller.json b/src/TransactionTestsFiller/ttValue/TransactionWithHighValueFiller.json
new file mode 100644
index 000000000..50579c924
--- /dev/null
+++ b/src/TransactionTestsFiller/ttValue/TransactionWithHighValueFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithHighValue" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "valid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}
diff --git a/src/TransactionTestsFiller/ttValue/TransactionWithHighValueOverflowFiller.json b/src/TransactionTestsFiller/ttValue/TransactionWithHighValueOverflowFiller.json
new file mode 100644
index 000000000..d61fcf203
--- /dev/null
+++ b/src/TransactionTestsFiller/ttValue/TransactionWithHighValueOverflowFiller.json
@@ -0,0 +1,22 @@
+{
+ "TransactionWithHighValueOverflow" : {
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : "invalid"
+ }
+ ],
+ "transaction" :
+ {
+ "data" : "",
+ "gasLimit" : "21000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
+ "v" : "27",
+ "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
+ "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ }
+ }
+}