diff options
-rw-r--r-- | src/GeneralStateTestsFiller/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalidFiller.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GeneralStateTestsFiller/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalidFiller.json b/src/GeneralStateTestsFiller/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalidFiller.json index 7e351ca97..1c9da738b 100644 --- a/src/GeneralStateTestsFiller/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalidFiller.json +++ b/src/GeneralStateTestsFiller/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalidFiller.json @@ -1,5 +1,8 @@ { "ecpairing_one_point_with_g2_zero_and_g1_invalid": { + "_info" : { + "comment" : "Use the ecpairing checker with one point, where g1 is not on the curve but g2 is zero. cpp-ethereum once had a bug in this case; as soon as cpp-ethereum recognized g2 zero, it returned something without checking the validity of g1" + }, "env": { "currentCoinbase": "0x3535353535353535353535353535353535353535", "currentDifficulty": "0x020000", @@ -269,7 +272,6 @@ } } } - ], - "explanation": "Puts the given data into the ECPAIRING precompile" + ] } } |