Skip to content

Commit c0df990

Browse files
svyatonikbkchr
authored andcommitted
copypasted -> copied (#1168)
1 parent 772b52e commit c0df990

File tree

4 files changed

+6
-6
lines changed
  • bridges

4 files changed

+6
-6
lines changed

bridges/bin/millau/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ impl pallet_balances::Config for Runtime {
283283
parameter_types! {
284284
pub const TransactionBaseFee: Balance = 0;
285285
pub const TransactionByteFee: Balance = 1;
286-
// values for following parameters are copypasted from polkadot repo, but it is fine
286+
// values for following parameters are copied from polkadot repo, but it is fine
287287
// not to sync them - we're not going to make Rialto a full copy of one of Polkadot-like chains
288288
pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25);
289289
pub AdjustmentVariable: Multiplier = Multiplier::saturating_from_rational(3, 100_000);

bridges/bin/rialto-parachain/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
//! The Rialto parachain runtime. This can be compiled with `#[no_std]`, ready for Wasm.
1818
//!
19-
//! Originally a copypaste of runtime from https://github.com/substrate-developer-hub/substrate-parachain-template.
19+
//! Originally a copy of runtime from https://github.com/substrate-developer-hub/substrate-parachain-template.
2020
2121
#![cfg_attr(not(feature = "std"), no_std)]
2222
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.

bridges/bin/rialto/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ impl pallet_balances::Config for Runtime {
423423
parameter_types! {
424424
pub const TransactionBaseFee: Balance = 0;
425425
pub const TransactionByteFee: Balance = 1;
426-
// values for following parameters are copypasted from polkadot repo, but it is fine
426+
// values for following parameters are copied from polkadot repo, but it is fine
427427
// not to sync them - we're not going to make Rialto a full copy of one of Polkadot-like chains
428428
pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25);
429429
pub AdjustmentVariable: Multiplier = Multiplier::saturating_from_rational(3, 100_000);

bridges/primitives/runtime/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ impl<BlockNumber: Copy + Into<u64>, BlockHash: Copy> TransactionEra<BlockNumber,
192192
}
193193
}
194194

195-
/// This is a copypaste of the
195+
/// This is a copy of the
196196
/// `frame_support::storage::generator::StorageMap::storage_map_final_key` for `Blake2_128Concat`
197197
/// maps.
198198
///
@@ -210,7 +210,7 @@ pub fn storage_map_final_key_blake2_128concat(
210210
)
211211
}
212212

213-
/// This is a copypaste of the
213+
/// This is a copy of the
214214
/// `frame_support::storage::generator::StorageMap::storage_map_final_key` for `Identity` maps.
215215
///
216216
/// We're using it because to call `storage_map_final_key` directly, we need access to the runtime
@@ -237,7 +237,7 @@ pub fn storage_map_final_key_identity(
237237
/// This is how a storage key of storage parameter (`parameter_types! { storage Param: bool = false;
238238
/// }`) is computed.
239239
///
240-
/// Copypaste from `frame_support::parameter_types` macro
240+
/// Copied from `frame_support::parameter_types` macro
241241
pub fn storage_parameter_key(parameter_name: &str) -> StorageKey {
242242
let mut buffer = Vec::with_capacity(1 + parameter_name.len() + 1 + 1);
243243
buffer.push(b':');

0 commit comments

Comments
 (0)