Skip to content

Commit 43d9918

Browse files
authored
Merge branch 'solana-foundation:master' into master
2 parents 2dc4136 + 292b095 commit 43d9918

File tree

26 files changed

+40
-40
lines changed

26 files changed

+40
-40
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ See the [Anchor 0.29 release notes](https://www.anchor-lang.com/release-notes/0.
617617
- spl: Re-export the `spl_token` crate ([#1665](https://github.com/coral-xyz/anchor/pull/1665)).
618618
- lang, cli, spl: Update solana toolchain to v1.9.13 ([#1653](https://github.com/coral-xyz/anchor/pull/1653) and [#1751](https://github.com/coral-xyz/anchor/pull/1751)).
619619
- lang: `Program` type now deserializes `programdata_address` only on demand ([#1723](https://github.com/coral-xyz/anchor/pull/1723)).
620-
- ts: Make `Provider` an interface and adjust its signatures and add `AnchorProvider` implementor class ([#1707](https://github.com/coral-xyz/anchor/pull/1707)).
620+
- ts: Make `Provider` an interface and adjust its signatures and add `AnchorProvider` implementer class ([#1707](https://github.com/coral-xyz/anchor/pull/1707)).
621621
- spl: Change "to" to "from" in `token::burn` ([#1080](https://github.com/coral-xyz/anchor/pull/1080)).
622622

623623
## [0.23.0] - 2022-03-20

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To jump straight to examples, go [here](https://github.com/coral-xyz/anchor/tree
4141
| `anchor-spl` | CPI clients for SPL programs on Solana | [![crates](https://img.shields.io/crates/v/anchor-spl?color=blue)](https://crates.io/crates/anchor-spl) | [![Docs.rs](https://docs.rs/anchor-spl/badge.svg)](https://docs.rs/anchor-spl) |
4242
| `anchor-client` | Rust client for Anchor programs | [![crates](https://img.shields.io/crates/v/anchor-client?color=blue)](https://crates.io/crates/anchor-client) | [![Docs.rs](https://docs.rs/anchor-client/badge.svg)](https://docs.rs/anchor-client) |
4343
| `@coral-xyz/anchor` | TypeScript client for Anchor programs | [![npm](https://img.shields.io/npm/v/@coral-xyz/anchor.svg?color=blue)](https://www.npmjs.com/package/@coral-xyz/anchor) | [![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://coral-xyz.github.io/anchor/ts/index.html) |
44-
| `@coral-xyz/anchor-cli` | CLI to support building and managing an Anchor workspace | [![npm](https://img.shields.io/npm/v/@coral-xyz/anchor-cli.svg?color=blue)](https://www.npmjs.com/package/@coral-xyz/anchor-cli) | [![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://coral-xyz.github.io/anchor/cli/commands.html) |
44+
| `@coral-xyz/anchor-cli` | CLI to support building and managing an Anchor workspace | [![npm](https://img.shields.io/npm/v/@coral-xyz/anchor-cli.svg?color=blue)](https://www.npmjs.com/package/@coral-xyz/anchor-cli) | [![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://www.anchor-lang.com/docs/references/cli) |
4545

4646
## Note
4747

avm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ mod tests {
753753
let expected = vec![version];
754754
assert_eq!(read_installed_versions().unwrap(), expected);
755755

756-
// Should ignore this file because its not anchor- prefixed
756+
// Should ignore this file because it's not anchor- prefixed
757757
fs::File::create(AVM_HOME.join("bin").join("garbage").as_path()).unwrap();
758758
assert_eq!(read_installed_versions().unwrap(), expected);
759759
}

client/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1+
#![cfg_attr(docsrs, feature(doc_cfg))]
22

33
//! An RPC client to interact with Solana programs written in [`anchor_lang`].
44
//!

docs/content/docs/basics/cpi.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description:
66
---
77

88
Cross Program Invocations (CPI) refer to the process of one program invoking
9-
instructions of another program, which enables the composibility of Solana
9+
instructions of another program, which enables the composability of Solana
1010
programs.
1111

1212
This section will cover the basics of implementing CPIs in an Anchor program,
@@ -98,7 +98,7 @@ resulting in a successful SOL transfer.
9898

9999
Cross Program Invocations (CPIs) allow one program to invoke instructions on
100100
another program. The process of implementing a CPI is the same as that of
101-
creating a instruction where you must specify:
101+
creating an instruction where you must specify:
102102

103103
1. The program ID of the program being called
104104
2. The accounts required by the instruction

docs/content/docs/installation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ To verify that the installation was successful, check the Yarn version:
468468
yarn --version
469469
```
470470

471-
You should the following output:
471+
You should see the following output:
472472

473473
```
474474
1.22.1
@@ -567,7 +567,7 @@ Keypair Path: /Users/test/.config/solana/id.json
567567
Commitment: confirmed
568568
```
569569

570-
The RPC URL and Websocket URL specific the Solana cluster the CLI will make
570+
The RPC URL and Websocket URL specify the Solana cluster the CLI will make
571571
requests to. By default this will be mainnet-beta.
572572

573573
You can update the Solana CLI cluster using the following commands:

docs/content/docs/tokens/basics/transfer-tokens.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ describe("token-example", () => {
303303
console.log("Mint Account", mintAccount);
304304
});
305305

306-
it("Mint Tokens", async () => {
306+
it("Transfer Tokens", async () => {
307307
const tx = await program.methods
308308
.transferTokens()
309309
.accounts({

docs/content/docs/updates/release-notes/0-31-0.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Program name: `my-program`
102102
### Pass `cargo` args to IDL build
103103

104104
Both `anchor build` and `anchor idl build` commands pass the `cargo` arguments
105-
to the underyling IDL build command. For example:
105+
to the underlying IDL build command. For example:
106106

107107
```
108108
anchor build -- --features my-feature
@@ -274,7 +274,7 @@ still allows empty discriminators because some non-Anchor programs, e.g. the SPL
274274
Token program, don't have account discriminators. In that case, safety checks
275275
should never depend on the discriminator.
276276

277-
Additionally, the IDL generation step also checks whether you have ambigious
277+
Additionally, the IDL generation step also checks whether you have ambiguous
278278
discriminators i.e. discriminators that can be used for multiple types. However,
279279
you should still consider future possibilities, especially when working with
280280
1-byte discriminators. For example, having an account with discriminator `[1]`
@@ -440,7 +440,7 @@ Building the IDL via the
440440
[`build_idl`](https://github.com/coral-xyz/anchor/blob/v0.31.0/idl/src/build.rs#L119)
441441
function made it impossible to extend its functionality e.g. add new parameters
442442
without a breaking change. To solve this problem, there is a new way to build
443-
IDLs programatically:
443+
IDLs programmatically:
444444

445445
```rs
446446
let idl = IdlBuilder::new().program_path(path).skip_lint(true).build()?;

lang/attribute/account/src/lazy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn gen_lazy(strct: &syn::ItemStruct) -> syn::Result<TokenStream> {
2121
let load_panic_docs = quote! {
2222
/// # Panics
2323
///
24-
/// If there is an existing mutable reference crated by any of the `load_mut` methods.
24+
/// If there is an existing mutable reference created by any of the `load_mut` methods.
2525
};
2626
let load_mut_panic_docs = quote! {
2727
/// # Panics

lang/attribute/program/src/declare_program/mods/internal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fn gen_internal_args_mod(idl: &Idl) -> proc_macro2::TokenStream {
8383
/// An Anchor generated module containing the program's set of instructions, where each
8484
/// method handler in the `#[program]` mod is associated with a struct defining the input
8585
/// arguments to the method. These should be used directly, when one wants to serialize
86-
/// Anchor instruction data, for example, when specifying instructions instructions on a
86+
/// Anchor instruction data, for example, when specifying instructions on a
8787
/// client.
8888
pub mod args {
8989
use super::*;

0 commit comments

Comments
 (0)