Skip to content
Snippets Groups Projects
Commit e71a5384 authored by Carles Barrobés's avatar Carles Barrobés Committed by Hugo Trentesaux
Browse files

Fix a few Typos (nodes/rust/duniter-v2s!243)

* Fix a few Typos
parent 1cf65df0
No related branches found
No related tags found
1 merge request!243Fix a few Typos
Pipeline #36208 failed
......@@ -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
......
......@@ -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.
[![preview](https://tube.p2p.legal/lazy-static/previews/654006dc-66c0-4e37-a32f-b7b5a1c13213.jpg)](https://tube.p2p.legal/w/n4TXxQ4SqxzpHPY4TNMXFu)
......
# 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>
......
......@@ -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"`.
......
......@@ -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
......
......@@ -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
......
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment