aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stZeroKnowledge
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-09-19 18:43:33 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-09-19 18:43:33 +0800
commit56b751c7ba69ebd9f6328c33c8df9d7b09644966 (patch)
treef1eb89306b15ce4919ba39383b2c223ad58c0d9e /src/GeneralStateTestsFiller/stZeroKnowledge
parent6030be247fbcb2fab4c724f7221d3664feae48a2 (diff)
downloaddexon-tests-56b751c7ba69ebd9f6328c33c8df9d7b09644966.tar.gz
dexon-tests-56b751c7ba69ebd9f6328c33c8df9d7b09644966.tar.zst
dexon-tests-56b751c7ba69ebd9f6328c33c8df9d7b09644966.zip
Update the comment
Diffstat (limited to 'src/GeneralStateTestsFiller/stZeroKnowledge')
-rw-r--r--src/GeneralStateTestsFiller/stZeroKnowledge/ecpairing_one_point_with_g2_zero_and_g1_invalidFiller.json6
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"
+ ]
}
}