Skip to content

Commit c55bd84

Browse files
authored
Remove duplicate comments (#6638)
1 parent 7b22201 commit c55bd84

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,18 +284,13 @@ mod tests {
284284
ord_parameter_types
285285
};
286286
use sp_core::H256;
287-
// The testing primitives are very useful for avoiding having to work with signatures
288-
// or public keys. `u64` is used as the `AccountId` and no `Signature`s are required.
289287
use sp_runtime::{Perbill, traits::{BlakeTwo256, IdentityLookup, BadOrigin}, testing::Header};
290288
use frame_system::EnsureSignedBy;
291289

292290
impl_outer_origin! {
293291
pub enum Origin for Test where system = frame_system {}
294292
}
295293

296-
// For testing the pallet, we construct most of a mock runtime. This means
297-
// first constructing a configuration type (`Test`) which `impl`s each of the
298-
// configuration traits of pallets we want to use.
299294
#[derive(Clone, Eq, PartialEq)]
300295
pub struct Test;
301296
parameter_types! {
@@ -381,8 +376,6 @@ mod tests {
381376

382377
type Membership = Module<Test>;
383378

384-
// This function basically just builds a genesis storage key/value store according to
385-
// our desired mockup.
386379
fn new_test_ext() -> sp_io::TestExternalities {
387380
let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
388381
// We use default for brevity, but you can configure as desired if needed.

0 commit comments

Comments
 (0)