From b01cb5ebe3faa8b93b2105579b75454613fbc699 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Sat, 17 Feb 2018 12:07:26 +0300 Subject: fix syntax in tests --- .../modexp_37120_37111_97_1000000Filler.json | 8 ++++---- .../stZeroKnowledge/ecmul_7827-6598_5617_21000_128Filler.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/GeneralStateTestsFiller') diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json index 982f2a48b..6f81dda91 100644 --- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json +++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_37120_37111_97_1000000Filler.json @@ -4,7 +4,7 @@ "currentCoinbase": "0x3535353535353535353535353535353535353535", "currentDifficulty": "0x020000", "currentGasLimit": "0x5f5e100", - "currentNumber": "0x1", + "currentNumber": "1", "currentTimestamp": "1000", "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" }, @@ -83,8 +83,8 @@ "gasLimit": [ "0xfde18", "90000", "110000", "200000" ], - "gasPrice": "0x1", - "nonce": "0x1", + "gasPrice": "1", + "nonce": "1", "secretKey": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "to": "0xc305c901078781c232a2a521c2af7980f8385ee9", "value": [ @@ -192,7 +192,7 @@ "nonce": "1", "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012c576101856004356004013511151558576004356004013560200160043560040161014037600161034061014051610160600060056305f5e0fff11558576001610320526103206021806103808284600060046015f150505061038080516020820120905060005561038060206020820352604081510160206001820306601f820103905060208203f350005b", "storage": { - "0x00": "0x0" + "0x00": "0" } }, "0000000000000000000000000000000000000005": { diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_5617_21000_128Filler.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_5617_21000_128Filler.json index 7e3eebe4f..b59e4cdd2 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_5617_21000_128Filler.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecmul_7827-6598_5617_21000_128Filler.json @@ -407,7 +407,7 @@ "code": "0x" } } - + } ], "explanation": "Puts the point (11999875504842010600789954262886096740416429265635183817701593963271973497827, 11843594000332171325303933275547366297934113019079887694534126289021216356598) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495617 into the ECMUL precompile, truncating or expanding the input data to 128 bytes. Gives the execution 21000 bytes" } -- cgit v1.2.3