Skip to content

Commit

Permalink
Fix comments of default Configs (#611)
Browse files Browse the repository at this point in the history
* fix comments

* update comments
  • Loading branch information
haerdib committed Jul 10, 2023
1 parent d19c242 commit 47d1173
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions primitives/src/config/asset_runtime_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {}

Expand Down
4 changes: 2 additions & 2 deletions primitives/src/config/default_runtime_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<AssetRuntimeConfig, PlainTipExtrinsicParams<AssetRuntimeConfig>>;

Expand Down

0 comments on commit 47d1173

Please sign in to comment.