-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: CompleteAddress
type
#1524
Conversation
820c72b
to
a39a74e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs/example code for sandbox and aztec cli will need to be updated.
7e91992
to
6a9cf25
Compare
6a9cf25
to
9577cc7
Compare
2f90170
to
d15bfcf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, this was a massive change, thanks for taking it on @benesjan! And yeah, the resulting code is a lot cleaner.
// TODO: Re-enable this check once https://github.com/AztecProtocol/aztec-packages/issues/1556 is solved | ||
// if (!pubKey.equals(account.publicKey)) { | ||
// throw new Error(`Public key mismatch: ${pubKey.toString()} != ${account.publicKey.toString()}`); | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this was re-enabled on master
Docs were already updated and Phil is on vacations so I need to dismiss this to be able to merge the PR.
PartialAddress
,PublicKey
andAztecAddress
#1516addAccount
api as Aztec CLI command #1527e2e_aztec_js_browser
.Note: When implementing this PR I've stumbled upon this issue. I would wait for @spypsy to come back before dealing with this since he's the most knowledgeable about that part of codebase.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.