mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 19:29:56 +00:00
rustfmt staking-miner and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
pub use pallet_election_provider_multi_phase::{Miner, MinerConfig};
|
||||
pub use subxt::ext::sp_core;
|
||||
|
||||
pub use primitives::{AccountId, Header, Hash, Balance};
|
||||
pub use primitives::{AccountId, Balance, Hash, Header};
|
||||
|
||||
// pub type AccountId = sp_runtime::AccountId32;
|
||||
// pub type Header = subxt::config::substrate::SubstrateHeader<u32, subxt::config::substrate::BlakeTwo256>;
|
||||
@@ -21,7 +21,8 @@ pub type RpcClient = subxt::backend::legacy::LegacyPrcMethods<subxt::SubstrateCo
|
||||
pub type ChainClient = subxt::OnlineClient<subxt::SubstrateConfig>;
|
||||
pub type Config = subxt::SubstrateConfig;
|
||||
|
||||
pub type SignedSubmission<S> = pallet_election_provider_multi_phase::SignedSubmission<AccountId, Balance, S>;
|
||||
pub type SignedSubmission<S> =
|
||||
pallet_election_provider_multi_phase::SignedSubmission<AccountId, Balance, S>;
|
||||
|
||||
#[subxt::subxt(
|
||||
runtime_metadata_path = "artifacts/metadata.scale",
|
||||
|
||||
Reference in New Issue
Block a user