Open teor2345 opened 4 months ago
Here's my first attempt at this, it seems like it will be really tricky.
I got stuck when trying to implement all the arithmetic traits: https://github.com/Inversed-Tech/eyelid/tree/poly-u128
This is because both std::u128
and ark_ff::Field
are in other crates:
https://github.com/Ixrec/rust-orphan-rules#what-are-the-orphan-rules
To do this, we might need to:
ark-ff
u64
with a type aliasu128
Fq
size parameters
It might be faster to use
u128
as the coefficient type, rather than[u64; 2]
.But doesn't look like this will be easy,
ark-ff
is set up to assumeu64
in a lot of places, and the trait hierarchy is very deep.We might be able to fork
ark-ff
, and search and replaceu64
withu128
. Which seems like a lot of work, and it's not urgent.