From 56da2b636c53afe8095c3431a516912def3d16b4 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Sun, 20 Jun 2021 13:34:00 +0200 Subject: [PATCH] Remove AccountIndex from runtime (#204) This commit removes the `AccountIndex` from the runtime/src/lib.rs as the `AccountIndex` type is typically used to configure the Indices pallet (https://substrate.dev/rustdocs/v3.0.0/pallet_indices/trait.Config.html) which is not used by the node template, so there is no point to include it. --- runtime/src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index d72a558..dbf8570 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -52,10 +52,6 @@ pub type Signature = MultiSignature; /// to the public key of our transaction signing scheme. pub type AccountId = <::Signer as IdentifyAccount>::AccountId; -/// The type for looking up accounts. We don't expect more than 4 billion of them, but you -/// never know... -pub type AccountIndex = u32; - /// Balance of an account. pub type Balance = u128;