Skip to content

Commit b514a5d

Browse files
authored
Remove duplicate comments (#6638)
1 parent c517629 commit b514a5d

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
@@ -244,8 +244,6 @@ mod tests {
244244
};
245245
use sp_core::H256;
246246
use frame_system::EnsureSignedBy;
247-
// The testing primitives are very useful for avoiding having to work with signatures
248-
// or public keys. `u64` is used as the `AccountId` and no `Signature`s are required.
249247
use sp_runtime::{
250248
Perbill, testing::Header, traits::{BlakeTwo256, IdentityLookup, BadOrigin},
251249
};
@@ -254,9 +252,6 @@ mod tests {
254252
pub enum Origin for Test where system = frame_system {}
255253
}
256254

257-
// For testing the pallet, we construct most of a mock runtime. This means
258-
// first constructing a configuration type (`Test`) which `impl`s each of the
259-
// configuration traits of pallets we want to use.
260255
#[derive(Clone, Eq, PartialEq)]
261256
pub struct Test;
262257
parameter_types! {
@@ -324,11 +319,8 @@ mod tests {
324319
type Balances = pallet_balances::Module<Test>;
325320
type Nicks = Module<Test>;
326321

327-
// This function basically just builds a genesis storage key/value store according to
328-
// our desired mockup.
329322
fn new_test_ext() -> sp_io::TestExternalities {
330323
let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
331-
// We use default for brevity, but you can configure as desired if needed.
332324
pallet_balances::GenesisConfig::<Test> {
333325
balances: vec![
334326
(1, 10),

0 commit comments

Comments
 (0)