mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
Apply suggestions from code review
This commit is contained in:
parent
bfbfa39eb9
commit
283f1a10d1
1 changed files with 1 additions and 2 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue