Snoppy 1 سال پیش
والد
کامیت
62dccce2ed

+ 1 - 1
docs/src/pages/docs/publishing-source.md

@@ -62,7 +62,7 @@ Here there are four sections.
    standard Anchor workflow, this can be omitted. For programs not written in Anchor
    standard Anchor workflow, this can be omitted. For programs not written in Anchor
    but still want to publish, this should be added.
    but still want to publish, this should be added.
 3. `[provider]` - configures the wallet and cluster settings. Here, `mainnet` is used because the registry only supports `mainnet` binary verification at the moment.
 3. `[provider]` - configures the wallet and cluster settings. Here, `mainnet` is used because the registry only supports `mainnet` binary verification at the moment.
-4. `[programs.mainnet]` - configures each program in the workpace, providing
+4. `[programs.mainnet]` - configures each program in the workspace, providing
    the `address` of the program to verify.
    the `address` of the program to verify.
 
 
 {% callout title="Note" %}
 {% callout title="Note" %}

+ 1 - 1
examples/tutorial/basic-5/tests/basic-5.ts

@@ -113,7 +113,7 @@ describe("basic-5", () => {
       );
       );
     }
     }
 
 
-    console.log("🎉 Transaction Succesfully Confirmed!");
+    console.log("🎉 Transaction Successfully Confirmed!");
     let result = await program.account.actionState.fetch(actionState);
     let result = await program.account.actionState.fetch(actionState);
     console.log("Robot action state details: ", result);
     console.log("Robot action state details: ", result);
   }
   }

+ 1 - 1
lang/syn/src/codegen/accounts/try_accounts.rs

@@ -29,7 +29,7 @@ pub fn generate(accs: &AccountsStruct) -> proc_macro2::TokenStream {
                     }
                     }
                 }
                 }
                 AccountField::Field(f) => {
                 AccountField::Field(f) => {
-                    // `init` and `zero` acccounts are special cased as they are
+                    // `init` and `zero` accounts are special cased as they are
                     // deserialized by constraints. Here, we just take out the
                     // deserialized by constraints. Here, we just take out the
                     // AccountInfo for later use at constraint validation time.
                     // AccountInfo for later use at constraint validation time.
                     if is_init(af) || f.constraints.zeroed.is_some()  {
                     if is_init(af) || f.constraints.zeroed.is_some()  {