From 1a1a151f50e6e7e103eb8f220f5a5516622e5bb0 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Wed, 11 Jan 2023 00:15:56 +0100 Subject: [PATCH] Fix typos (#613) * Fix: typos Fix: typos * Fix: typos Fix: typos * Fix: typo Fix: typo * Fix: typo Fix: typo * Fix: typos Fix: typos * Generate schemas Co-authored-by: ekez --- CONTRIBUTING.md | 2 +- ci/integration-tests/README.md | 2 +- contracts/dao-core/README.md | 4 ++-- contracts/dao-core/schema/dao-core.json | 4 ++-- contracts/dao-core/src/msg.rs | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e8b8e4e1..620cd682b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -159,7 +159,7 @@ NEXT_PUBLIC_DAO_CONTRACT_ADDRESS=juno1zlmaky7753d2fneyhduwz0rn3u9ns8rse3tudhze8r NEXT_PUBLIC_V1_FACTORY_CONTRACT_ADDRESS=juno1pvrwmjuusn9wh34j7y520g8gumuy9xtl3gvprlljfdpwju3x7ucssml9ug ``` -This output can be directly copy and pased into a `.env` file in the +This output can be directly copied and pasted into a `.env` file in the [DAO DAO UI](https://github.com/DA0-DA0/dao-dao-ui) for local development. diff --git a/ci/integration-tests/README.md b/ci/integration-tests/README.md index cabb2768a..b98b821aa 100644 --- a/ci/integration-tests/README.md +++ b/ci/integration-tests/README.md @@ -64,7 +64,7 @@ fn new_dao_has_no_items(chain: &mut Chain) { } ``` -We are currentlying +We are currently [ignoring](https://doc.rust-lang.org/book/ch11-02-running-tests.html#ignoring-some-tests-unless-specifically-requested) all integration tests by adding the `#[ignore]` annotation to them, because we want to skip them when people run `cargo test` from the diff --git a/contracts/dao-core/README.md b/contracts/dao-core/README.md index 3fb847025..fa3485001 100644 --- a/contracts/dao-core/README.md +++ b/contracts/dao-core/README.md @@ -7,8 +7,8 @@ and holds the DAO's treasury. For more information about how these modules fit together see [this wiki page](https://github.com/DA0-DA0/dao-contracts/wiki/DAO-DAO-Contracts-Design). -In additon to the wiki spec this contract may also pause. To do so a -`Pause` message must by executed by a proposal module. Pausing the +In addition to the wiki spec this contract may also pause. To do so a +`Pause` message must be executed by a proposal module. Pausing the core module will stop all actions on the module for the duration of the pause. diff --git a/contracts/dao-core/schema/dao-core.json b/contracts/dao-core/schema/dao-core.json index c7fd5b5de..a2b2a5166 100644 --- a/contracts/dao-core/schema/dao-core.json +++ b/contracts/dao-core/schema/dao-core.json @@ -49,7 +49,7 @@ ] }, "initial_items": { - "description": "The items to instantiate this DAO with. Items are arbitrary key-value pairs who's contents are controlled by governance.\n\nIt is an error to provide two items with the same key.", + "description": "The items to instantiate this DAO with. Items are arbitrary key-value pairs whose contents are controlled by governance.\n\nIt is an error to provide two items with the same key.", "type": [ "array", "null" @@ -312,7 +312,7 @@ "additionalProperties": false }, { - "description": "Adds an item to the governance contract's item map. If the item already exists the existing value is overriden. If the item does not exist a new item is added.", + "description": "Adds an item to the governance contract's item map. If the item already exists the existing value is overridden. If the item does not exist a new item is added.", "type": "object", "required": [ "set_item" diff --git a/contracts/dao-core/src/msg.rs b/contracts/dao-core/src/msg.rs index ada1720db..c1595f5ca 100644 --- a/contracts/dao-core/src/msg.rs +++ b/contracts/dao-core/src/msg.rs @@ -44,7 +44,7 @@ pub struct InstantiateMsg { pub proposal_modules_instantiate_info: Vec, /// The items to instantiate this DAO with. Items are arbitrary - /// key-value pairs who's contents are controlled by governance. + /// key-value pairs whose contents are controlled by governance. /// /// It is an error to provide two items with the same key. pub initial_items: Option>, @@ -74,7 +74,7 @@ pub enum ExecuteMsg { /// Removes an item from the governance contract's item map. RemoveItem { key: String }, /// Adds an item to the governance contract's item map. If the - /// item already exists the existing value is overriden. If the + /// item already exists the existing value is overridden. If the /// item does not exist a new item is added. SetItem { key: String, value: String }, /// Callable by the admin of the contract. If ADMIN is None the