Skip to content

Commit

Permalink
linking issues + eslint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 10, 2024
1 parent 0415059 commit 00afea0
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions yarn-project/end-to-end/src/e2e_key_registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ describe('Key Registry', () => {
await expect(
keyRegistry
.withWallet(wallets[0])
.methods.register(account, account.partialAddress,
{
npk_m: { x: keys[0].x, y: keys[0].y},
ivpk_m: { x: keys[1].x, y: keys[1].y},
ovpk_m: { x: keys[2].x, y: keys[2].y},
tpk_m: { x: keys[3].x, y: keys[3].y},
}
)
.methods.register(account, account.partialAddress, {
// TODO(#6337): Directly dump account.publicKeys here
/* eslint-disable camelcase */
npk_m: { x: keys[0].x, y: keys[0].y },
ivpk_m: { x: keys[1].x, y: keys[1].y },
ovpk_m: { x: keys[2].x, y: keys[2].y },
tpk_m: { x: keys[3].x, y: keys[3].y },
/* eslint-enable camelcase */
})
.send()
.wait(),
).rejects.toThrow('Computed address does not match supplied address');
Expand Down Expand Up @@ -110,16 +111,15 @@ describe('Key Registry', () => {
it('registers', async () => {
await keyRegistry
.withWallet(wallets[0])
.methods.register(
account,
account.partialAddress,
{
npk_m: { x: account.masterNullifierPublicKey.x, y: account.masterNullifierPublicKey.y},
ivpk_m: { x: account.masterIncomingViewingPublicKey.x, y: account.masterIncomingViewingPublicKey.y},
ovpk_m: { x: account.masterOutgoingViewingPublicKey.x, y: account.masterOutgoingViewingPublicKey.y},
tpk_m: { x: account.masterTaggingPublicKey.x, y: account.masterTaggingPublicKey.y},
}
)
.methods.register(account, account.partialAddress, {
// TODO(#6337): Directly dump account.publicKeys here
/* eslint-disable camelcase */
npk_m: { x: account.masterNullifierPublicKey.x, y: account.masterNullifierPublicKey.y },
ivpk_m: { x: account.masterIncomingViewingPublicKey.x, y: account.masterIncomingViewingPublicKey.y },
ovpk_m: { x: account.masterOutgoingViewingPublicKey.x, y: account.masterOutgoingViewingPublicKey.y },
tpk_m: { x: account.masterTaggingPublicKey.x, y: account.masterTaggingPublicKey.y },
/* eslint-enable camelcase */
})
.send()
.wait();

Expand Down

0 comments on commit 00afea0

Please sign in to comment.