Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Aug 29, 2024
1 parent 84508d7 commit 75606e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/test/fixtures/deployEnsFixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function deployEnsFixture() {
rootRegistry.address,
]);
await rootRegistry.write.grantRole([
keccak256(stringToHex("SUBDOMAIN_ISSUER_ROLE")),
keccak256(stringToHex("TLD_ISSUER_ROLE")),
accounts[0].address,
]);
await ethRegistry.write.grantRole([
Expand All @@ -30,7 +30,7 @@ export async function deployEnsFixture() {
"eth",
accounts[0].address,
ethRegistry.address,
true,
1n,
]);

return {
Expand Down Expand Up @@ -84,6 +84,6 @@ export const registerName = async ({
}) => {
const owner =
owner_ ?? (await hre.viem.getWalletClients())[0].account.address;
const flags = (subregistryLocked ? 1 : 0) | (resolverLocked ? 2 : 0);
const flags = (subregistryLocked ? 1n : 0n) | (resolverLocked ? 2n : 0n);
return ethRegistry.write.register([label, owner, subregistry, flags, expiry]);
};

0 comments on commit 75606e8

Please sign in to comment.