Skip to content

Commit

Permalink
refac: remove imported test types from pallets (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
devwckd authored Dec 10, 2024
1 parent bf0f51a commit a7400a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pallets/emission0/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
mod ext;
mod weights;

use crate::frame::testing_prelude::DispatchResult;
use crate::frame::testing_prelude::OriginFor;
pub(crate) use ext::*;
pub use pallet::*;
use polkadot_sdk::frame_support::dispatch::DispatchResult;
use polkadot_sdk::frame_support::pallet_prelude::{ValueQuery, *};
use polkadot_sdk::frame_system::pallet_prelude::OriginFor;
use polkadot_sdk::polkadot_sdk_frame as frame;

#[frame::pallet(dev_mode)]
Expand Down
7 changes: 4 additions & 3 deletions pallets/governance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ use crate::application::AgentApplication;
use crate::config::GovernanceConfiguration;
use crate::proposal::{Proposal, ProposalId, UnrewardedProposal};
pub(crate) use ext::*;
use frame::testing_prelude::{DispatchResult, OriginFor};
pub use pallet::*;
use polkadot_sdk::frame_support::Identity;
use polkadot_sdk::frame_support::{pallet_prelude::*, PalletId};
use polkadot_sdk::frame_support::{
dispatch::DispatchResult, pallet_prelude::*, Identity, PalletId,
};
use polkadot_sdk::frame_system::pallet_prelude::OriginFor;
use polkadot_sdk::polkadot_sdk_frame as frame;
use polkadot_sdk::sp_runtime::traits::AccountIdConversion;
use polkadot_sdk::sp_std::vec::Vec;
Expand Down

0 comments on commit a7400a5

Please sign in to comment.