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 ::staging_xcm::latest::NetworkId;31use frame_support::parameter_types;32use sp_runtime::create_runtime_str;33use sp_version::RuntimeVersion;34use up_common::types::*;3536mod runtime_common;3738pub mod governance_timings;39pub mod xcm_barrier;4041pub use runtime_common::*;4243pub const TOKEN_SYMBOL: &str = "OPL";44pub const DECIMALS: u8 = 18;454647#[sp_version::runtime_version]48pub const VERSION: RuntimeVersion = RuntimeVersion {49 spec_name: create_runtime_str!("opal"),50 impl_name: create_runtime_str!("opal"),51 authoring_version: 1,52 spec_version: 943061,53 impl_version: 0,54 apis: RUNTIME_API_VERSIONS,55 transaction_version: 3,56 state_version: 1,57};5859parameter_types! {60 pub const Version: RuntimeVersion = VERSION;61 pub const SS58Prefix: u16 = 42;62 pub const ChainId: u64 = 8882;63 pub const RelayNetwork: NetworkId = NetworkId::Kusama;64}6566construct_runtime!();6768impl_common_runtime_apis!();6970cumulus_pallet_parachain_system::register_validate_block!(71 Runtime = Runtime,72 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,73 CheckInherents = CheckInherents,74);