12345678910111213141516171819#![cfg_attr(not(feature = "std"), no_std)]2021#![recursion_limit = "1024"]22#![allow(clippy::from_over_into, clippy::identity_op)]23#![allow(clippy::fn_to_numeric_cast_with_truncation)]2425#[cfg(feature = "std")]26include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));2728use frame_support::parameter_types;2930use sp_version::RuntimeVersion;31use sp_runtime::create_runtime_str;3233use up_common::types::*;3435#[path = "../../common/mod.rs"]36mod runtime_common;3738pub use runtime_common::*;3940pub const RUNTIME_NAME: &str = "unique";41pub const TOKEN_SYMBOL: &str = "UNQ";424344pub const VERSION: RuntimeVersion = RuntimeVersion {45 spec_name: create_runtime_str!(RUNTIME_NAME),46 impl_name: create_runtime_str!(RUNTIME_NAME),47 authoring_version: 1,48 spec_version: 924012,49 impl_version: 0,50 apis: RUNTIME_API_VERSIONS,51 transaction_version: 2,52 state_version: 0,53};5455parameter_types! {56 pub const Version: RuntimeVersion = VERSION;57 pub const SS58Prefix: u16 = 7391;58 pub const ChainId: u64 = 8880;59}6061construct_runtime!(unique);6263impl_common_runtime_apis!();6465cumulus_pallet_parachain_system::register_validate_block!(66 Runtime = Runtime,67 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,68 CheckInherents = CheckInherents,69);