From 4e4ef6c0d9182a8e22ede90afb3d2339e17e8da6 Mon Sep 17 00:00:00 2001 From: sirasistant Date: Tue, 7 May 2024 21:26:19 +0000 Subject: [PATCH] chore: cspell --- cspell.json | 6 ++++++ .../src/scripts/demonomorphizer.ts | 2 +- .../src/scripts/generate_ts_from_abi.ts | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cspell.json b/cspell.json index 6c2ce17a407..6e0ff296264 100644 --- a/cspell.json +++ b/cspell.json @@ -66,6 +66,12 @@ "defi", "delegatecall", "delegatecalls", + "demonomorphization", + "demonomorphize", + "demonomorphized", + "demonomorphizer", + "demonomorphizes", + "demonomorphizing", "deregistration", "devex", "devnet", diff --git a/yarn-project/noir-protocol-circuits-types/src/scripts/demonomorphizer.ts b/yarn-project/noir-protocol-circuits-types/src/scripts/demonomorphizer.ts index f2c513a329c..bd654ca5a18 100644 --- a/yarn-project/noir-protocol-circuits-types/src/scripts/demonomorphizer.ts +++ b/yarn-project/noir-protocol-circuits-types/src/scripts/demonomorphizer.ts @@ -60,7 +60,7 @@ export class Demonomorphizer { } /** - * Demononomorphizes a struct, by demonomorphizing its dependencies first. + * Demonomorphizes a struct, by demonomorphizing its dependencies first. * Then it'll unify the types of the variants generating a unique generic type. * It'll also generate args that instantiate the generic type with the concrete arguments for each variant. */ diff --git a/yarn-project/noir-protocol-circuits-types/src/scripts/generate_ts_from_abi.ts b/yarn-project/noir-protocol-circuits-types/src/scripts/generate_ts_from_abi.ts index c948939a196..7222143d6b0 100644 --- a/yarn-project/noir-protocol-circuits-types/src/scripts/generate_ts_from_abi.ts +++ b/yarn-project/noir-protocol-circuits-types/src/scripts/generate_ts_from_abi.ts @@ -105,7 +105,7 @@ class TypingsGenerator { this.demonomorphizedAbis.push({ circuitName, params }); } } - // Demononmorphize the types + // Demonomorphize the types Demonomorphizer.demonomorphize(this.allTypes); }