From 41497464979bb1bc3d6457e2c87f20545d7f948b Mon Sep 17 00:00:00 2001 From: depthlending Date: Wed, 11 Dec 2024 11:17:16 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: depthlending --- packages/adapters/subgraph/test/lib/helpers/prefix.spec.ts | 2 +- packages/deployments/contracts/tasks/createDomain.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/adapters/subgraph/test/lib/helpers/prefix.spec.ts b/packages/adapters/subgraph/test/lib/helpers/prefix.spec.ts index dc6beb3896..5991272010 100644 --- a/packages/adapters/subgraph/test/lib/helpers/prefix.spec.ts +++ b/packages/adapters/subgraph/test/lib/helpers/prefix.spec.ts @@ -22,7 +22,7 @@ describe("Helpers:prefix", () => { }); }); describe("#getDomainFromPrefix", () => { - it("happy: get the doamin from the prefix", () => { + it("happy: get the domain from the prefix", () => { expect(getDomainFromPrefix("rinkeby")).to.be.eq("1111"); expect(getDomainFromPrefix("goerli")).to.be.eq("3331"); }); diff --git a/packages/deployments/contracts/tasks/createDomain.ts b/packages/deployments/contracts/tasks/createDomain.ts index bd9ef6ceb3..a02992ecda 100644 --- a/packages/deployments/contracts/tasks/createDomain.ts +++ b/packages/deployments/contracts/tasks/createDomain.ts @@ -11,6 +11,6 @@ type TaskArgs = { export default task("create-domain", "Create domain hex string from chain name") .addParam("name", "Chain Name") .setAction(async ({ name }: TaskArgs, {}) => { - console.log("doamin hex string:", getHexDomainFromString(name)); - console.log("doamin:", getDomainFromString(name)); + console.log("domain hex string:", getHexDomainFromString(name)); + console.log("domain:", getDomainFromString(name)); });