From 47d1173c0299050555f2bbb6b7765837c049a031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bigna=20H=C3=A4rdi?= Date: Mon, 10 Jul 2023 16:18:37 +0200 Subject: [PATCH] Fix comments of default Configs (#611) * fix comments * update comments --- primitives/src/config/asset_runtime_config.rs | 4 ++-- primitives/src/config/default_runtime_config.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/primitives/src/config/asset_runtime_config.rs b/primitives/src/config/asset_runtime_config.rs index dce6cb521..56dec0256 100644 --- a/primitives/src/config/asset_runtime_config.rs +++ b/primitives/src/config/asset_runtime_config.rs @@ -2,7 +2,7 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -//! Substrate specific configuration +//! Default set of commonly used types by Substrate and Polkadot nodes that use the asset pallet. //! //! This file is mostly subxt. //! https://github.com/paritytech/subxt/blob/ce0a82e3227efb0eae131f025da5f839d9623e15/subxt/src/config/substrate.rs @@ -15,7 +15,7 @@ use crate::{ use codec::{Decode, Encode}; use core::fmt::Debug; -/// Default set of commonly used types by Substrate kitchensink runtime. +/// Standard runtime config for Substrate and Polkadot nodes that use the asset pallet. #[derive(Decode, Encode, Clone, Eq, PartialEq, Debug)] pub struct AssetRuntimeConfig {} diff --git a/primitives/src/config/default_runtime_config.rs b/primitives/src/config/default_runtime_config.rs index 9e896f549..8a3468a52 100644 --- a/primitives/src/config/default_runtime_config.rs +++ b/primitives/src/config/default_runtime_config.rs @@ -2,7 +2,7 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -//! Polkadot specific configuration +//! Default set of commonly used types by Substrate and Polkadot nodes. //! //! This file is mostly subxt. //! https://github.com/paritytech/subxt/blob/ce0a82e3227efb0eae131f025da5f839d9623e15/subxt/src/config/polkadot.rs @@ -11,7 +11,7 @@ use crate::{ config::WithExtrinsicParams, AssetRuntimeConfig, Config, GenericExtrinsicParams, PlainTip, }; -/// Default set of commonly used types by Polkadot nodes. +/// Standard runtime config for Substrate and Polkadot nodes. pub type DefaultRuntimeConfig = WithExtrinsicParams>;