Layr-Labs/eigensdk-rs

Issue in BLSapkregistry reading points from some Holesky events for NewPubkeyRegistration

Closed this issue · 4 comments

Rust SDK says point is not on curve (but its already registered on holesky https://holesky.etherscan.io/tx/0x607945ba90bf344ba5d5c9a391ac2cdbacfd014272429979943811806f2c534b).

The mismatch seems to be in the way Gnark Crypto golang library and arkworks work.

The keys in the example are generated using the Gnark Crypto golang library is most cases up until now. Gnark implements a different form of the equation compared to arkworks and because of that, when verifying in rust it comes out as false. Ref: https://github.com/Consensys/gnark-crypto/blob/master/ecc/bn254/g1.go#L474

This issue is stale because it has been open for 21 days with no activity.

I think this issue can be marked as solved

This issue is stale because it has been open for 21 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.