aztec-packages icon indicating copy to clipboard operation
aztec-packages copied to clipboard

Create specific type for each of the public key types

Open benesjan opened this issue 6 months ago • 0 comments

Just fixed a bug in Nico's recent PR and I realized that the issue was annoying to spot because we were missing key types check.

Create a specific type for each of the key type and use it all around the codebase.

E.g.:

struct NpkM {
    inner: Point
}
struct IvpkM {
    inner: Point
}
struct IvpkM {
    inner: Point
}
struct TpkM {
    inner: Point
}

benesjan avatar Aug 20 '24 08:08 benesjan