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"));2728extern crate alloc;2930use frame_support::parameter_types;3132use sp_version::RuntimeVersion;33use sp_runtime::create_runtime_str;3435use up_common::types::*;3637use ::xcm::latest::NetworkId;3839#[path = "../../common/mod.rs"]40mod runtime_common;4142pub mod xcm_barrier;4344pub use runtime_common::*;4546pub const RUNTIME_NAME: &str = "opal";47pub const TOKEN_SYMBOL: &str = "OPL";484950pub const VERSION: RuntimeVersion = RuntimeVersion {51 spec_name: create_runtime_str!(RUNTIME_NAME),52 impl_name: create_runtime_str!(RUNTIME_NAME),53 authoring_version: 1,54 spec_version: 941055,55 impl_version: 0,56 apis: RUNTIME_API_VERSIONS,57 transaction_version: 3,58 state_version: 0,59};6061parameter_types! {62 pub const Version: RuntimeVersion = VERSION;63 pub const SS58Prefix: u16 = 42;64 pub const ChainId: u64 = 8882;65 pub const RelayNetwork: NetworkId = NetworkId::Kusama;66}6768construct_runtime!();6970impl_common_runtime_apis!();7172cumulus_pallet_parachain_system::register_validate_block!(73 Runtime = Runtime,74 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,75 CheckInherents = CheckInherents,76);