You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1258 I moved utility methods to internal packages as they seemed not to be useful outside of using gnark directly, but actually there were used downstream in zkevm-monorepo. Due to that, @Tabaie had to duplicate some of the functionality there.
But there are actually many utility methods used there which imo live better in gnark repository. I think we can add a github.com/consensys/gnark/utility package with the following subpackages etc:
algo_utils - sorting etc. used in GKR packages
circuit_utils - for utility methods which can be used inside the circuits (PLONK eval etc.)
witness_utils - for more convenient witness assignment which maps from *big.Int etc to frontend.Variable etc
We should also refactor the methods from the zkevm-monorepo which make sense.
The text was updated successfully, but these errors were encountered:
In #1258 I moved utility methods to internal packages as they seemed not to be useful outside of using gnark directly, but actually there were used downstream in zkevm-monorepo. Due to that, @Tabaie had to duplicate some of the functionality there.
But there are actually many utility methods used there which imo live better in gnark repository. I think we can add a
github.com/consensys/gnark/utility
package with the following subpackages etc:We should also refactor the methods from the zkevm-monorepo which make sense.
The text was updated successfully, but these errors were encountered: