Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 14, 2024
1 parent 3b05289 commit 7c7901f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions yarn-project/end-to-end/src/shared/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ export const browserTestSuite = (
createPXEClient,
getSchnorrAccount,
Contract,
deriveKeys,
Fr,
ExtendedNote,
Note,
Expand Down Expand Up @@ -248,11 +247,9 @@ export const browserTestSuite = (
knownAccounts.push(newAccount);
}
const owner = knownAccounts[0];
// TODO(#5726): this is messy, maybe we should expose publicKeysHash on account
const publicKeysHash = deriveKeys(INITIAL_TEST_SECRET_KEYS[0]).publicKeys.hash();
const ownerAddress = owner.getAddress();
const tx = new DeployMethod(
publicKeysHash,
owner.getCompleteAddress().publicKeys.hash(),
owner,
TokenContractArtifact,
(a: AztecJs.AztecAddress) => Contract.at(a, TokenContractArtifact, owner),
Expand Down

0 comments on commit 7c7901f

Please sign in to comment.