aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2017-03-02 00:36:54 +0800
committerDimitry <dimitry@ethdev.com>2017-03-02 00:36:54 +0800
commitc0bbc2eccd027e14cc60e7c10369951e8018225a (patch)
tree0d6040a3d52efa27a7e60929018109b0320c969f
parent033661ec9b79d7d764d17b4ec48473ca7c12e5f4 (diff)
downloaddexon-tests-c0bbc2eccd027e14cc60e7c10369951e8018225a.tar
dexon-tests-c0bbc2eccd027e14cc60e7c10369951e8018225a.tar.gz
dexon-tests-c0bbc2eccd027e14cc60e7c10369951e8018225a.tar.bz2
dexon-tests-c0bbc2eccd027e14cc60e7c10369951e8018225a.tar.lz
dexon-tests-c0bbc2eccd027e14cc60e7c10369951e8018225a.tar.xz
dexon-tests-c0bbc2eccd027e14cc60e7c10369951e8018225a.tar.zst
dexon-tests-c0bbc2eccd027e14cc60e7c10369951e8018225a.zip
zkSnark filler
-rw-r--r--src/GeneralStateTestsFiller/stZeroKnoladge/pointAddFiller.json60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stZeroKnoladge/pointAddFiller.json b/src/GeneralStateTestsFiller/stZeroKnoladge/pointAddFiller.json
new file mode 100644
index 000000000..2c9881436
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stZeroKnoladge/pointAddFiller.json
@@ -0,0 +1,60 @@
+{
+ "pointAdd" : {
+ "env" : {
+ "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "4012015",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "0x00" : "0x01",
+ "0x01" : "0x030644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd3",
+ "0x02" : "0x15ed738c0e0a7c92e7845f96b2ae9c0a68a6a449e3538fc7ff3ebf7a5a18a2c4"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "",
+ "nonce" : "1",
+ "storage" : {
+ }
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "",
+ "code" : "{(MSTORE 0 (CALLDATALOAD 0)) (MSTORE 32 (CALLDATALOAD 32)) (MSTORE 64 (CALLDATALOAD 64)) (MSTORE 96 (CALLDATALOAD 96)) [[0]](CALLCODE 500000 6 0 0 128 200 64) [[1]] (MLOAD 200) [[2]] (MLOAD 232) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002"
+ ],
+ "gasLimit" : [
+ "1000000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "1",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}