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 mod xcm_config;3940pub use runtime_common::*;4142pub const RUNTIME_NAME: &str = "opal";43pub const TOKEN_SYMBOL: &str = "OPL";444546pub const VERSION: RuntimeVersion = RuntimeVersion {47 spec_name: create_runtime_str!(RUNTIME_NAME),48 impl_name: create_runtime_str!(RUNTIME_NAME),49 authoring_version: 1,50 spec_version: 927020,51 impl_version: 0,52 apis: RUNTIME_API_VERSIONS,53 transaction_version: 2,54 state_version: 0,55};5657parameter_types! {58 pub const Version: RuntimeVersion = VERSION;59 pub const SS58Prefix: u8 = 42;60 pub const ChainId: u64 = 8882;61}6263construct_runtime!(opal);6465impl_common_runtime_apis!();6667cumulus_pallet_parachain_system::register_validate_block!(68 Runtime = Runtime,69 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,70 CheckInherents = CheckInherents,71);