Skip to content

Commit

Permalink
Fix more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Sep 23, 2023
1 parent 2001b30 commit fd9f0e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/cmds/validator/signers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {importKeystoreDefinitionsFromExternalDir, readPassphraseOrPrompt} from "
const KEYSTORE_IMPORT_PROGRESS_MS = 10000;

/**
* Options processing heriarchy
* Options processing hierarchy
* --interopIndexes
* --fromMnemonic, then requires --mnemonicIndexes
* --importKeystores, then requires --importKeystoresPassword
Expand All @@ -31,7 +31,7 @@ const KEYSTORE_IMPORT_PROGRESS_MS = 10000;
* - Remote: a URL that supports EIP-3030 (BLS Remote Signer HTTP API)
*
* Local secret keys can be gathered from:
* - Local keystores existant on disk
* - Local keystores existent on disk
* - Local keystores imported via keymanager api
* - Derived from a mnemonic (TESTING ONLY)
* - Derived from interop keys (TESTING ONLY)
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/options/paramsOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {IBeaconParamsUnparsed} from "../config/types.js";
import {ObjectKeys, CliCommandOptions} from "../util/index.js";

// No options are statically declared
// If an arbitraty key notation is used, it removes typesafety on most of this CLI arg parsing code.
// If an arbitrary key notation is used, it removes type safety on most of this CLI arg parsing code.
// Params will be parsed from an args object assuming to contain the required keys

export type ITerminalPowArgs = {
Expand Down
2 changes: 1 addition & 1 deletion packages/state-transition/src/cache/pubkeyCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type Index2PubkeyCache = PublicKey[];
type PubkeyHex = string;

/**
* toHexString() creates hex strings via string concatenation, which are very memory inneficient.
* toHexString() creates hex strings via string concatenation, which are very memory inefficient.
* Memory benchmarks show that Buffer.toString("hex") produces strings with 10x less memory.
*
* Does not prefix to save memory, thus the prefix is removed from an already string representation.
Expand Down

0 comments on commit fd9f0e1

Please sign in to comment.