mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
Restructure dispatch macro related exports (#1162)
* restructure dispatch macro related exports * moved Dispatchable to lib.rs * fix .gitignore final newline * ".git/.scripts/commands/fmt/fmt.sh" * fix rustdocs * wip --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: command-bot <> Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
@@ -21,12 +21,9 @@ use super::*;
|
||||
use crate::mock::{RefState::*, *};
|
||||
use assert_matches::assert_matches;
|
||||
use codec::Decode;
|
||||
use frame_support::{
|
||||
assert_noop, assert_ok,
|
||||
dispatch::{DispatchError::BadOrigin, RawOrigin},
|
||||
traits::Contains,
|
||||
};
|
||||
use frame_support::{assert_noop, assert_ok, dispatch::RawOrigin, traits::Contains};
|
||||
use pallet_balances::Error as BalancesError;
|
||||
use sp_runtime::DispatchError::BadOrigin;
|
||||
|
||||
#[test]
|
||||
fn params_should_work() {
|
||||
|
||||
Reference in New Issue
Block a user