File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ func BenchmarkPrecompiledBn256ScalarMul(b *testing.B) { benchJson("bn256ScalarMu
262262
263263// Tests the sample inputs from the elliptic curve pairing check EIP 197.
264264func TestPrecompiledBn256Pairing (t * testing.T ) { testJson ("bn256Pairing" , "08" , t ) }
265+ func TestPrecompiledBn256PairingFail (t * testing.T ) { testJsonFail ("bn256Pairing" , "08" , t ) }
265266func BenchmarkPrecompiledBn256Pairing (b * testing.B ) { benchJson ("bn256Pairing" , "08" , b ) }
266267
267268func TestPrecompiledBlake2F (t * testing.T ) { testJson ("blake2F" , "09" , t ) }
@@ -326,7 +327,6 @@ func BenchmarkPrecompiledBLS12381MapG1(b *testing.B) { benchJson("blsMapG1"
326327func BenchmarkPrecompiledBLS12381MapG2 (b * testing.B ) { benchJson ("blsMapG2" , "12" , b ) }
327328
328329// Failure tests
329- func TestPrecompiledBn256PairingFail (t * testing.T ) { testJsonFail ("bn256Pairing" , "08" , t ) }
330330func TestPrecompiledBLS12381G1AddFail (t * testing.T ) { testJsonFail ("blsG1Add" , "0a" , t ) }
331331func TestPrecompiledBLS12381G1MulFail (t * testing.T ) { testJsonFail ("blsG1Mul" , "0b" , t ) }
332332func TestPrecompiledBLS12381G1MultiExpFail (t * testing.T ) { testJsonFail ("blsG1MultiExp" , "0c" , t ) }
You can’t perform that action at this time.
0 commit comments