algebra
algebra copied to clipboard
`ark-vesta` uses a different point encoding than `pasta_curves`
assert_eq!(&ark_generator_bytes, &group_generator_bytes.as_ref());
fails with:
---- plugins::tests::test_compatible_pallas stdout ----
thread 'plugins::tests::test_compatible_pallas' panicked at src/plugins/tests.rs:92:5:
assertion `left == right` failed
left: [0, 0, 0, 0, 33, 235, 70, 140, 221, 168, 148, 9, 252, 152, 70, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0]
right: [0, 0, 0, 0, 33, 235, 70, 140, 221, 168, 148, 9, 252, 152, 70, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64]
Doesn't https://github.com/arkworks-rs/algebra/pull/639 fix it?
I think the issue that you're point out concerns representation in memory, but here I'm trying to make sure that the byte representation is identical!
it seems the reason is similar, but over the serialize implementation.