From c0bbc2eccd027e14cc60e7c10369951e8018225a Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 1 Mar 2017 20:36:54 +0400 Subject: zkSnark filler --- .../stZeroKnoladge/pointAddFiller.json | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/GeneralStateTestsFiller/stZeroKnoladge/pointAddFiller.json (limited to 'src') 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" + ] + } + } +} -- cgit v1.2.3