Previously we use ark-zkey to decrease zkey size and loading time ark-zkey
But then we use new_unchecked to fix circom-compat zkey loading time
https://github.com/zkmopro/mopro/issues/25#issuecomment-2067880755
and ark-zkey serialization/deserialization is much more slower than the current load_zkey
Now we use zkey for mopro but ark-zkey is still doable and possible to decrease zkey size
Problem
Previously we use ark-zkey to decrease zkey size and loading time ark-zkey But then we use
new_unchecked
to fix circom-compat zkey loading time https://github.com/zkmopro/mopro/issues/25#issuecomment-2067880755 and ark-zkey serialization/deserialization is much more slower than the currentload_zkey
Now we use zkey for mopro but
ark-zkey
is still doable and possible to decrease zkey sizeApproaches
Serialization
could be
Deserialization e.g. https://github.com/arkworks-rs/circom-compat/blob/170b10fc9ed182b5f72ecf379033dda023d0bf07/src/zkey.rs#L328
Acceptance criteria
load arkzkey from
ark-zkey
and replaceload_zkey
in mopro-core