Upgrade generic-template to polkadot-stable2412 (#401)

This commit is contained in:
Amar Singh
2025-03-02 13:02:30 -05:00
committed by GitHub
parent d953d959e6
commit 18f4807668
19 changed files with 3103 additions and 2063 deletions
+6 -4
View File
@@ -1,5 +1,7 @@
extern crate alloc;
use frame_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight};
use sp_runtime::{create_runtime_str, Perbill};
use sp_runtime::Perbill;
use sp_version::RuntimeVersion;
use crate::{apis, types::BlockNumber};
@@ -26,14 +28,14 @@ pub const POLY_DEGREE: u8 = 1;
#[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("template-parachain"),
impl_name: create_runtime_str!("template-parachain"),
spec_name: alloc::borrow::Cow::Borrowed("template-parachain"),
impl_name: alloc::borrow::Cow::Borrowed("template-parachain"),
authoring_version: 1,
spec_version: 1,
impl_version: 0,
apis: apis::RUNTIME_API_VERSIONS,
transaction_version: 1,
state_version: 1,
system_version: 1,
};
/// This determines the average expected block time that we are targeting.