mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-12 18:11:04 +00:00
Update docs (#261)
* typos and broken links * evm runtime docs * name change in code * generic runtime description updated, and typos * smart contract with zombienet * quick start exported into another document and further formatting
This commit is contained in:
committed by
Gustavo Gonzalez
parent
1b67c98311
commit
9b9845920c
@@ -1,5 +1,5 @@
|
||||
use cumulus_primitives_core::ParaId;
|
||||
use parachain_template_runtime::{
|
||||
use generic_runtime_template::{
|
||||
constants::currency::EXISTENTIAL_DEPOSIT, AccountId, AuraId, Signature,
|
||||
};
|
||||
use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup};
|
||||
@@ -10,7 +10,7 @@ use sp_runtime::traits::{IdentifyAccount, Verify};
|
||||
|
||||
/// Specialized `ChainSpec` for the normal parachain runtime.
|
||||
pub type ChainSpec =
|
||||
sc_service::GenericChainSpec<parachain_template_runtime::RuntimeGenesisConfig, Extensions>;
|
||||
sc_service::GenericChainSpec<generic_runtime_template::RuntimeGenesisConfig, Extensions>;
|
||||
|
||||
/// The default XCM version to set in genesis config.
|
||||
const SAFE_XCM_VERSION: u32 = xcm::prelude::XCM_VERSION;
|
||||
@@ -61,8 +61,8 @@ where
|
||||
///
|
||||
/// The input must be a tuple of individual keys (a single arg for now since we
|
||||
/// have just one key).
|
||||
pub fn template_session_keys(keys: AuraId) -> parachain_template_runtime::SessionKeys {
|
||||
parachain_template_runtime::SessionKeys { aura: keys }
|
||||
pub fn template_session_keys(keys: AuraId) -> generic_runtime_template::SessionKeys {
|
||||
generic_runtime_template::SessionKeys { aura: keys }
|
||||
}
|
||||
|
||||
pub fn development_config() -> ChainSpec {
|
||||
@@ -75,8 +75,7 @@ pub fn development_config() -> ChainSpec {
|
||||
properties.insert("basedOn".into(), "OpenZeppelin Generic Template".into());
|
||||
|
||||
ChainSpec::builder(
|
||||
parachain_template_runtime::WASM_BINARY
|
||||
.expect("WASM binary was not built, please build it!"),
|
||||
generic_runtime_template::WASM_BINARY.expect("WASM binary was not built, please build it!"),
|
||||
Extensions {
|
||||
relay_chain: "rococo-local".into(),
|
||||
// You MUST set this to the correct network!
|
||||
@@ -127,8 +126,7 @@ pub fn local_testnet_config() -> ChainSpec {
|
||||
|
||||
#[allow(deprecated)]
|
||||
ChainSpec::builder(
|
||||
parachain_template_runtime::WASM_BINARY
|
||||
.expect("WASM binary was not built, please build it!"),
|
||||
generic_runtime_template::WASM_BINARY.expect("WASM binary was not built, please build it!"),
|
||||
Extensions {
|
||||
relay_chain: "rococo-local".into(),
|
||||
// You MUST set this to the correct network!
|
||||
|
||||
Reference in New Issue
Block a user