aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-03-03 05:36:19 +0800
committerDimitry <dimitry@ethdev.com>2017-03-03 05:36:19 +0800
commite1ba116512faf56829ae08a4541596b84fbcd481 (patch)
treee3f84d046fabb664c044d7459466633a3ff096e0 /src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json
parent95f348fb175fa7161dcef12af9ae8a578da0808d (diff)
downloaddexon-tests-e1ba116512faf56829ae08a4541596b84fbcd481.tar.gz
dexon-tests-e1ba116512faf56829ae08a4541596b84fbcd481.tar.zst
dexon-tests-e1ba116512faf56829ae08a4541596b84fbcd481.zip
more revert tests with precompiled
Diffstat (limited to 'src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json135
1 files changed, 135 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json
new file mode 100644
index 000000000..7a27473bd
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json
@@ -0,0 +1,135 @@
+{
+ "RevertPrecompiledTouch" : {
+ "env" : {
+ "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "4012015",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "0000000000000000000000000000000000000001" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000002" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000003" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000004" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000005" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000006" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000007" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000008" : {
+ "balance" : "0"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "{ (CALL 50000 1 0 0 0 0 0) (CALL 50000 2 0 0 0 0 0) (CALL 50000 3 0 0 0 0 0) (CALL 50000 4 0 0 0 0 0) (CALL 50000 5 0 0 0 0 0) (CALL 50000 6 0 0 0 0 0) (CALL 50000 7 0 0 0 0 0) (CALL 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "",
+ "nonce" : "1",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000001" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000002" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000003" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000004" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000005" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000006" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000007" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "0000000000000000000000000000000000000008" : {
+ "balance" : "0",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "60000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "1",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}