Skip to content

Commit 6eca764

Browse files
taozui472seadanda
andauthored
chore: delete repeat words (#7034)
Co-authored-by: Dónal Murray <[email protected]>
1 parent 8d2130c commit 6eca764

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

polkadot/primitives/src/v8/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1900,7 +1900,7 @@ pub struct SessionInfo {
19001900
/// participating in parachain consensus. See
19011901
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148).
19021902
///
1903-
/// `SessionInfo::validators` will be limited to to `max_validators` when set.
1903+
/// `SessionInfo::validators` will be limited to `max_validators` when set.
19041904
pub validators: IndexedVec<ValidatorIndex, ValidatorId>,
19051905
/// Validators' authority discovery keys for the session in canonical ordering.
19061906
///

polkadot/roadmap/implementers-guide/src/architecture.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Runtime logic is divided up into Modules and APIs. Modules encapsulate particula
9393
consist of storage, routines, and entry-points. Routines are invoked by entry points, by other modules, upon block
9494
initialization or closing. Routines can read and alter the storage of the module. Entry-points are the means by which
9595
new information is introduced to a module and can limit the origins (user, root, parachain) that they accept being
96-
called by. Each block in the blockchain contains a set of Extrinsics. Each extrinsic targets a a specific entry point to
96+
called by. Each block in the blockchain contains a set of Extrinsics. Each extrinsic targets a specific entry point to
9797
trigger and which data should be passed to it. Runtime APIs provide a means for Node-side behavior to extract meaningful
9898
information from the state of a single fork.
9999

polkadot/roadmap/implementers-guide/src/protocol-approval.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ slashing risk for validator operators.
8484

8585
In future, we shall determine which among the several hardening techniques best benefits the network as a whole. We
8686
could provide a multi-process multi-machine architecture for validators, perhaps even reminiscent of GNUNet, or perhaps
87-
more resembling smart HSM tooling. We might instead design a system that more resembled full systems, like like Cosmos'
87+
more resembling smart HSM tooling. We might instead design a system that more resembled full systems, like Cosmos'
8888
sentry nodes. In either case, approval assignments might be handled by a slightly hardened machine, but not necessarily
8989
nearly as hardened as approval votes, but approval votes machines must similarly run foreign WASM code, which increases
9090
their risk, so assignments being separate sounds helpful.

polkadot/roadmap/implementers-guide/src/protocol-validator-disabling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ checking (% for 30-ish malicious in a row).
111111
There are also censorship or liveness issues if backing is suddenly dominated by malicious nodes but in general even if
112112
some honest blocks get backed liveness should be preserved.
113113

114-
> **Note:** It is worth noting that is is fundamentally a defense in depth strategy because if we assume disputes are
114+
> **Note:** It is worth noting that is fundamentally a defense in depth strategy because if we assume disputes are
115115
> perfect it should not be a real concern. In reality disputes and determinism are difficult to get right, and
116116
> non-determinism and happen so defense in depth is crucial when handling those subsystems.
117117

polkadot/roadmap/implementers-guide/src/runtime/session_info.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct SessionInfo {
1616
/// in parachain consensus. See
1717
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148).
1818
///
19-
/// `SessionInfo::validators` will be limited to to `max_validators` when set.
19+
/// `SessionInfo::validators` will be limited to `max_validators` when set.
2020
validators: Vec<ValidatorId>,
2121
/// Validators' authority discovery keys for the session in canonical ordering.
2222
///

substrate/client/network/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ data. I.e. it is unable to serve bock bodies and headers other than the most rec
261261
nodes have block history available, a background sync process is started that downloads all the missing blocks.
262262
It is run in parallel with the keep-up sync and does not interfere with downloading of the recent blocks.
263263
During this download we also import GRANDPA justifications for blocks with authority set changes, so that
264-
the warp-synced node has all the data to serve for other nodes nodes that might want to sync from it with
264+
the warp-synced node has all the data to serve for other nodes that might want to sync from it with
265265
any method.
266266

267267
# Usage

substrate/frame/democracy/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ This call can only be made by the `CancellationOrigin`.
9696

9797
This call can only be made by the `ExternalOrigin`.
9898

99-
- `external_propose` - Schedules a proposal to become a referendum once it is is legal
99+
- `external_propose` - Schedules a proposal to become a referendum once it is legal
100100
for an externally proposed referendum.
101101

102102
#### External Majority Origin

substrate/frame/democracy/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
//!
114114
//! This call can only be made by the `ExternalOrigin`.
115115
//!
116-
//! - `external_propose` - Schedules a proposal to become a referendum once it is is legal for an
116+
//! - `external_propose` - Schedules a proposal to become a referendum once it is legal for an
117117
//! externally proposed referendum.
118118
//!
119119
//! #### External Majority Origin

substrate/frame/recovery/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ permissionless. However, the recovery deposit is an economic deterrent that
6767
should disincentivize would-be attackers from trying to maliciously recover
6868
accounts.
6969

70-
The recovery deposit can always be claimed by the account which is trying to
70+
The recovery deposit can always be claimed by the account which is trying
7171
to be recovered. In the case of a malicious recovery attempt, the account
7272
owner who still has access to their account can claim the deposit and
7373
essentially punish the malicious user.

substrate/frame/recovery/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
//! should disincentivize would-be attackers from trying to maliciously recover
8181
//! accounts.
8282
//!
83-
//! The recovery deposit can always be claimed by the account which is trying to
83+
//! The recovery deposit can always be claimed by the account which is trying
8484
//! to be recovered. In the case of a malicious recovery attempt, the account
8585
//! owner who still has access to their account can claim the deposit and
8686
//! essentially punish the malicious user.

0 commit comments

Comments
 (0)