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
1. Fixes#1226.
2. Separated classes in
`yarn-project/circuits.js/src/types/partial_contract_address.ts` to
individual files.
3. Refactored curves to not pass buffers for both public and private
key.
4. In the curves I renamed the `scalar` param to `privateKey` because
having scalar being type `PrivateKey` is weird and we don't ever use
these classes with scalars which are not a representation of private
key. For this reason I think it's ok to have the parameter name be less
generic. Another alternative I considered was having a `Scalar` type and
`PrivateKey` being a type alias of it but given that we don't use
non-private-key scalar anywhere in our TS codebase I think that's
unnecessary complication.
5. Renamed `e2e-account-contract` to `e2e-account-contracst` so that the
job name is consistent with the test name.
Create a type with validity checks for private key (i.e. buffer length = 32) and ensure the type is used everywhere in the codebase.
The text was updated successfully, but these errors were encountered: