From 283f1a10d111ce6e98edbaf1c30b6812417536d4 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 17 Jun 2025 13:27:24 +0200 Subject: [PATCH] Apply suggestions from code review --- crypto/bn256/gnark/native_format_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crypto/bn256/gnark/native_format_test.go b/crypto/bn256/gnark/native_format_test.go index 238826ae69..a34395c379 100644 --- a/crypto/bn256/gnark/native_format_test.go +++ b/crypto/bn256/gnark/native_format_test.go @@ -11,11 +11,10 @@ func TestNativeGnarkFormatIncompatibility(t *testing.T) { _, _, g1Gen, _ := bn254.Generators() wrongSer := g1Gen.Bytes() - // This should fail since the evm serializes points in a different format var evmG1 G1 _, err := evmG1.Unmarshal(wrongSer[:]) if err == nil { - t.Fatalf("Points serialized using the official bn254 serialization algorithm, should not work with the evm format") + t.Fatalf("points serialized using the official bn254 serialization algorithm, should not work with the evm format") } }