Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only decalre in test mod to remove warning
  • Loading branch information
athei committed Apr 7, 2020
commit b3bb9254c19844f8c66aacbc4d10ae90cd5e850f
5 changes: 2 additions & 3 deletions frame/example/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,7 @@ use sp_std::marker::PhantomData;
use frame_support::{
dispatch::DispatchResult, decl_module, decl_storage, decl_event,
weights::{
SimpleDispatchInfo, DispatchInfo, DispatchClass, ClassifyDispatch, WeighData, Weight,
PaysFee,
SimpleDispatchInfo, DispatchClass, ClassifyDispatch, WeighData, Weight, PaysFee,
},
};
use sp_std::prelude::*;
Expand Down Expand Up @@ -697,7 +696,7 @@ mod tests {
use super::*;

use frame_support::{
assert_ok, impl_outer_origin, parameter_types, weights::GetDispatchInfo,
assert_ok, impl_outer_origin, parameter_types, weights::{DispatchInfo, GetDispatchInfo},
traits::{OnInitialize, OnFinalize}
};
use sp_core::H256;
Expand Down