mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 09:15:42 +00:00
Extract Runtime Constants into Separate Crates (#4456)
* kusama-runtime-constants created * polkadot_runtime_constants added * runtime constants extracted * update node * cargo +nightly fmt * Delete constants.rs * update Cargo.toml * 2021 * runtime constants update * utils * utils * node test service * Update runtime/rococo/constants/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * runtime-native * bridge messages * re-export DOLLARS * Update runtime/westend/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update runtime/test-runtime/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * std feature Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -81,7 +81,9 @@ pub use pallet_balances::Call as BalancesCall;
|
||||
|
||||
use polkadot_parachain::primitives::Id as ParaId;
|
||||
|
||||
use constants::{currency::*, fee::*, time::*};
|
||||
/// Constant values used within the runtime.
|
||||
use rococo_runtime_constants::{currency::*, fee::*, time::*};
|
||||
|
||||
use frame_support::traits::{InstanceFilter, OnRuntimeUpgrade};
|
||||
use xcm::latest::prelude::*;
|
||||
use xcm_builder::{
|
||||
@@ -93,8 +95,6 @@ use xcm_builder::{
|
||||
use xcm_executor::XcmExecutor;
|
||||
|
||||
mod bridge_messages;
|
||||
/// Constant values used within the runtime.
|
||||
pub mod constants;
|
||||
mod validator_manager;
|
||||
mod weights;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user