mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Remove unused things (#76)
* remove unused imports * remove unused type alias * remove unused imports
This commit is contained in:
@@ -18,7 +18,6 @@ use sp_keyring::AccountKeyring;
|
|||||||
use substrate_subxt::{
|
use substrate_subxt::{
|
||||||
balances,
|
balances,
|
||||||
Error,
|
Error,
|
||||||
system::System,
|
|
||||||
KusamaRuntime,
|
KusamaRuntime,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -484,22 +484,14 @@ impl codec::Encode for Encoded {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use codec::Encode;
|
|
||||||
use frame_support::StorageMap;
|
|
||||||
use sp_core::storage::StorageKey;
|
|
||||||
use sp_keyring::AccountKeyring;
|
use sp_keyring::AccountKeyring;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::{
|
use crate::{
|
||||||
frame::balances::Balances,
|
|
||||||
DefaultNodeRuntime as Runtime,
|
DefaultNodeRuntime as Runtime,
|
||||||
Error,
|
Error,
|
||||||
};
|
};
|
||||||
|
|
||||||
type AccountId = <Runtime as System>::AccountId;
|
|
||||||
type Address = <Runtime as System>::Address;
|
|
||||||
type Balance = <Runtime as Balances>::Balance;
|
|
||||||
|
|
||||||
pub(crate) async fn test_client() -> Client<Runtime> {
|
pub(crate) async fn test_client() -> Client<Runtime> {
|
||||||
ClientBuilder::<Runtime>::new()
|
ClientBuilder::<Runtime>::new()
|
||||||
.build()
|
.build()
|
||||||
|
|||||||
Reference in New Issue
Block a user