diff --git a/lang/syn/src/codegen/program/dispatch.rs b/lang/syn/src/codegen/program/dispatch.rs index ef99b7e56a..ed083ca41e 100644 --- a/lang/syn/src/codegen/program/dispatch.rs +++ b/lang/syn/src/codegen/program/dispatch.rs @@ -39,7 +39,7 @@ pub fn generate(program: &Program) -> proc_macro2::TokenStream { /// /// Each method in an anchor program is uniquely defined by a namespace /// and a rust identifier (i.e., the name given to the method). These - /// two pieces can be combined to creater a method identifier, + /// two pieces can be combined to create a method identifier, /// specifically, Anchor uses /// /// Sha256(":")[..8], diff --git a/tests/lockup/tests/lockup.js b/tests/lockup/tests/lockup.js index ab3c717803..1a3ffd1a0e 100644 --- a/tests/lockup/tests/lockup.js +++ b/tests/lockup/tests/lockup.js @@ -6,7 +6,7 @@ const { assert } = require("chai"); const nativeAssert = require("assert"); describe("Lockup and Registry", () => { - // Read the provider from the configured environmnet. + // Read the provider from the configured environments. const provider = anchor.AnchorProvider.env(); // hack so we don't have to update serum-common library // to the new AnchorProvider class and Provider interface @@ -934,7 +934,7 @@ describe("Lockup and Registry", () => { assert.isTrue(tokenAccount.amount.eq(withdrawAmount)); }); - it("Should succesfully unlock a locked reward after unstaking", async () => { + it("Should successfully unlock a locked reward after unstaking", async () => { const token = await serumCmn.createTokenAccount( provider, mint, diff --git a/tests/zero-copy/tests/zero-copy.js b/tests/zero-copy/tests/zero-copy.js index 805cd8c467..311ad046e6 100644 --- a/tests/zero-copy/tests/zero-copy.js +++ b/tests/zero-copy/tests/zero-copy.js @@ -57,7 +57,7 @@ describe("zero-copy", () => { ); }); - it("Updates a a second zero copy account field", async () => { + it("Updates a second zero copy account field", async () => { await program.rpc.updateFooSecond(new BN(55), { accounts: { foo: foo.publicKey, diff --git a/ts/packages/anchor/src/program/accounts-resolver.ts b/ts/packages/anchor/src/program/accounts-resolver.ts index 842d4938e8..dff269d830 100644 --- a/ts/packages/anchor/src/program/accounts-resolver.ts +++ b/ts/packages/anchor/src/program/accounts-resolver.ts @@ -501,7 +501,7 @@ export class AccountsResolver { } } -// TODO: this should be configureable to avoid unnecessary requests. +// TODO: this should be configurable to avoid unnecessary requests. class AccountStore { private _cache = new Map(); private _idls: Record> = {};