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
Alongside with pubkey and signature transaction caller may provide an inverted value then we can check the inversion (a * a_inv == 1) mod n. So that modexp call can be skipped
The text was updated successfully, but these errors were encountered:
Good idea, while this would certainly reduce computation gas cost, it would increase call data used and thus, the L1 calldata fee (which is the dominant cost) for users of the contract on L2s; Since that's the primary use case ATM we probably won't implement this.
Single 32 byte helper would suffice If it is multiple signature verification case with batch inversion technique. But I'm not sure it would worth to touch too many places if modexp cost is not that high
Alongside with pubkey and signature transaction caller may provide an inverted value then we can check the inversion
(a * a_inv == 1) mod n
. So that modexp call can be skippedThe text was updated successfully, but these errors were encountered: