Skip to content
Snippets Groups Projects
Verified Commit f7e93274 authored by Pascal Engélibert's avatar Pascal Engélibert :bicyclist:
Browse files

style: rustfmt config

parent 62779172
Branches
Tags
No related merge requests found
hard_tabs = true
newline_style = "unix"
unstable_features = true
format_code_in_doc_comments = true
format_macro_bodies = true
format_macro_matchers = true
format_strings = true
imports_granularity = "Crate"
use crate::gdev;
use crate::indexer::*;
use crate::Client;
use crate::{gdev, indexer::*, Client};
use anyhow::{anyhow, Result};
use std::collections::{hash_map, HashMap};
......
use crate::{gdev, indexer::*, Args, Client};
use anyhow::Result;
use sp_core::sr25519::Pair;
use sp_core::H256;
use sp_core::{sr25519::Pair, H256};
use subxt::tx::{BaseExtrinsicParamsBuilder, PairSigner};
pub async fn technical_committee_members(client: Client, args: &Args) -> Result<()> {
......
......@@ -2,8 +2,10 @@ use crate::{gdev, Client, GdevConfig};
use anyhow::{anyhow, Result};
use sp_core::{crypto::AccountId32, sr25519::Pair, DeriveJunction, Pair as _};
use subxt::ext::sp_runtime::MultiAddress;
use subxt::tx::{BaseExtrinsicParamsBuilder, PairSigner};
use subxt::{
ext::sp_runtime::MultiAddress,
tx::{BaseExtrinsicParamsBuilder, PairSigner},
};
pub async fn repart(
pair: Pair,
......
use anyhow::{anyhow, Result};
use clap::builder::OsStr;
use sp_core::crypto::{AccountId32, Ss58Codec};
use sp_core::{crypto::Pair as _, sr25519::Pair};
use sp_core::{
crypto::{AccountId32, Pair as _, Ss58Codec},
sr25519::Pair,
};
use std::str::FromStr;
#[allow(dead_code)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment