Skip to content

Commit 3c13142

Browse files
authored
Remove duplicate comments (#6638)
1 parent 4faf933 commit 3c13142

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,8 +1183,6 @@ mod tests {
11831183
};
11841184
use sp_core::H256;
11851185
use frame_system::{EnsureSignedBy, EnsureOneOf, EnsureRoot};
1186-
// The testing primitives are very useful for avoiding having to work with signatures
1187-
// or public keys. `u64` is used as the `AccountId` and no `Signature`s are required.
11881186
use sp_runtime::{
11891187
Perbill, testing::Header, traits::{BlakeTwo256, IdentityLookup},
11901188
};
@@ -1193,9 +1191,6 @@ mod tests {
11931191
pub enum Origin for Test where system = frame_system {}
11941192
}
11951193

1196-
// For testing the pallet, we construct most of a mock runtime. This means
1197-
// first constructing a configuration type (`Test`) which `impl`s each of the
1198-
// configuration traits of pallets we want to use.
11991194
#[derive(Clone, Eq, PartialEq)]
12001195
pub struct Test;
12011196
parameter_types! {
@@ -1282,11 +1277,8 @@ mod tests {
12821277
type Balances = pallet_balances::Module<Test>;
12831278
type Identity = Module<Test>;
12841279

1285-
// This function basically just builds a genesis storage key/value store according to
1286-
// our desired mockup.
12871280
pub fn new_test_ext() -> sp_io::TestExternalities {
12881281
let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
1289-
// We use default for brevity, but you can configure as desired if needed.
12901282
pallet_balances::GenesisConfig::<Test> {
12911283
balances: vec![
12921284
(1, 10),

0 commit comments

Comments
 (0)