From c82d7adc40ed9d2760d48b800b685b84e0648ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carles=20Barrobe=CC=81s?= <carles@barrobes.com> Date: Mon, 15 Jan 2024 16:31:05 +0100 Subject: [PATCH] Fix a few Typos --- README.md | 3 +-- docs/dev/beginner-walkthrough.md | 2 +- docs/user/autocompletion.md | 2 +- end2end-tests/README.md | 2 +- node/src/command.rs | 2 +- pallets/quota/README.md | 2 +- pallets/universal-dividend/src/lib.rs | 2 +- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 844346cf0..e0f90e8b3 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,7 @@ To go further, read [How to deploy a permanent mirror node on ÄžDev network](./d ### Create your local blockchain -It can be useful to deploy your local blockchain, for instance to have a controlled environement -to develop/test an application that interacts with the blockchain. +It can be useful to deploy your local blockchain, for instance to have a controlled environment to develop/test an application that interacts with the blockchain. ```docker docker run -it -p9944:9944 duniter/duniter-v2s:v0.4.0 --tmp diff --git a/docs/dev/beginner-walkthrough.md b/docs/dev/beginner-walkthrough.md index 341be1e58..fc1a8bed2 100644 --- a/docs/dev/beginner-walkthrough.md +++ b/docs/dev/beginner-walkthrough.md @@ -2,7 +2,7 @@ This is a beginner tutorial for those who do not have a previous experience with Rust ecosystem or need guidance to get familiar with Duniter v2s project. You'll need a development machine with an internet connection, at least **20 GB of free storage**, and **an hour or two** depending on your computing power. -This walkthrough is based on the following video (french), don't hesitate to record an english voicecover if you feel so. +This walkthrough is based on the following video (french), don't hesitate to record an english voiceover if you feel so. [](https://tube.p2p.legal/w/n4TXxQ4SqxzpHPY4TNMXFu) diff --git a/docs/user/autocompletion.md b/docs/user/autocompletion.md index 6454542ae..a0b70c5f2 100644 --- a/docs/user/autocompletion.md +++ b/docs/user/autocompletion.md @@ -1,6 +1,6 @@ # Autocompletion -One can generate autocompletion for its favorite shell using the following option: +You can generate autocompletion for your favorite shell using the following option: ```sh cargo run -- completion --generator <GENERATOR> diff --git a/end2end-tests/README.md b/end2end-tests/README.md index 79da56e7f..5e298eb75 100644 --- a/end2end-tests/README.md +++ b/end2end-tests/README.md @@ -134,7 +134,7 @@ To run all the scenarios (there are many) use the command: `cargo cucumber` You can filter the `.feature` files to run with the option `i`, for instance: ``` -cargo cucumber -i monetary* +cargo cucumber -i 'monetary*' ``` will only run `.feature` files that start with `"monetary"`. diff --git a/node/src/command.rs b/node/src/command.rs index 14825ec79..10473a1e8 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -96,7 +96,7 @@ impl SubstrateCli for Cli { fn load_spec(&self, id: &str) -> Result<Box<dyn sc_service::ChainSpec>, String> { Ok(match id { // === GDEV === - // developement chainspec with generated genesis and Alice validator + // development chainspec with generated genesis and Alice validator #[cfg(feature = "gdev")] "dev" => Box::new(chain_spec::gdev::local_testnet_config(1, 3, 4)?), // local testnet with g1 data, gdev configuration (parameters & smiths) and Alice validator diff --git a/pallets/quota/README.md b/pallets/quota/README.md index 6ed526208..485460de5 100644 --- a/pallets/quota/README.md +++ b/pallets/quota/README.md @@ -5,7 +5,7 @@ Duniter identity system allows to allocate quota and refund transaction fees whe ## General behavior Quota system is plugged to transactions fees which is a rather critical aspect of substrate. -That's why in `duniter-account` pallet `OnChargeTransaction` implementation, the default behavior is preserved, and refunds are added to a queue handeled in `on_idle`. +That's why in `duniter-account` pallet `OnChargeTransaction` implementation, the default behavior is preserved, and refunds are added to a queue handled in `on_idle`. ## Path for a refund diff --git a/pallets/universal-dividend/src/lib.rs b/pallets/universal-dividend/src/lib.rs index d475f974c..7a446c483 100644 --- a/pallets/universal-dividend/src/lib.rs +++ b/pallets/universal-dividend/src/lib.rs @@ -303,7 +303,7 @@ pub mod pallet { let _ = core::mem::replace( first_ud_index, core::num::NonZeroU16::new(current_ud_index) - .expect("unrechable because current_ud_index is never zero."), + .expect("unreachable because current_ud_index is never zero."), ); T::Currency::deposit_creating(who, uds_total); Self::deposit_event(Event::UdsClaimed { -- GitLab