crypto/bn256/gnark: align marshaling behavior

This commit is contained in:
MariusVanDerWijden 2025-06-20 10:44:02 +02:00
parent 7fcfb98a28
commit a29786b480

View file

@ -21,7 +21,7 @@ type G2 struct {
// Unmarshal deserializes `buf` into `g` // Unmarshal deserializes `buf` into `g`
// //
// The input is expected to be in the EVM format: // The input is expected to be in the EVM format:
// 128 bytes: [32-byte x.0][32-byte x.1][32-byte y.0][32-byte y.1] // 128 bytes: [32-byte x.1][32-byte x.0][32-byte y.1][32-byte y.0]
// where each value is a big-endian integer. // where each value is a big-endian integer.
// //
// This method also checks whether the point is on the // This method also checks whether the point is on the