You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: runtimes/bulletin-polkadot/tests/tests.rs
+26-18Lines changed: 26 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,29 @@
1
1
use bulletin_polkadot_runtime as runtime;
2
-
use frame_support::assert_ok;
3
-
use frame_support::traits::Hooks;
2
+
use frame_support::{assert_ok, assert_noop};
3
+
use frame_support::traits::{Hooks,OnIdle};
4
4
use pallet_transaction_storage::{CallasTxCall,AuthorizationExtent,BAD_DATA_SIZE};
5
+
use frame_support::dispatch::GetDispatchInfo;
5
6
use sp_core::{Pair,Encode};
6
-
use runtime::{RuntimeOrigin,TransactionStorage,System,Runtime,BuildStorage,RuntimeCall,UncheckedExtrinsic,TxExtension,SignedPayload,Executive,Hash};
7
+
use runtime::{RuntimeOrigin,AllPalletsWithSystem,Weight,TransactionStorage,System,Runtime,BuildStorage,RuntimeCall,UncheckedExtrinsic,TxExtension,SignedPayload,Executive,Hash,Header};
7
8
use sp_runtime::generic::Era;
9
+
use sp_runtime::traits::Headeras _;
10
+
use sp_runtime::traits::SaturatedConversion;
11
+
use sp_runtime::traits::Dispatchable;
8
12
use sp_keyring::Sr25519Keyring;
9
13
use sp_runtime::ApplyExtrinsicResult;
10
14
use sp_transaction_storage_proof::TransactionStorageProof;
0 commit comments