mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-25 03:07:56 +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 @@
|
||||
mod constant_tests {
|
||||
use parachain_template_runtime::constants::currency::*;
|
||||
use generic_runtime_template::constants::currency::*;
|
||||
|
||||
#[test]
|
||||
fn test_constants() {
|
||||
@@ -20,7 +20,7 @@ mod constant_tests {
|
||||
|
||||
mod runtime_tests {
|
||||
use frame_support::{pallet_prelude::Weight, traits::TypedGet, PalletId};
|
||||
use parachain_template_runtime::{
|
||||
use generic_runtime_template::{
|
||||
configs::*,
|
||||
constants::{currency::*, *},
|
||||
*,
|
||||
@@ -39,7 +39,7 @@ mod runtime_tests {
|
||||
authoring_version: 1,
|
||||
spec_version: 1,
|
||||
impl_version: 0,
|
||||
apis: parachain_template_runtime::apis::RUNTIME_API_VERSIONS,
|
||||
apis: generic_runtime_template::apis::RUNTIME_API_VERSIONS,
|
||||
transaction_version: 1,
|
||||
state_version: 1,
|
||||
}
|
||||
@@ -222,7 +222,7 @@ mod runtime_tests {
|
||||
|
||||
mod xcm_tests {
|
||||
use frame_support::weights::Weight;
|
||||
use parachain_template_runtime::configs::xcm_config::*;
|
||||
use generic_runtime_template::configs::xcm_config::*;
|
||||
|
||||
#[test]
|
||||
fn xcm_executor_constants() {
|
||||
@@ -234,6 +234,9 @@ mod xcm_tests {
|
||||
#[test]
|
||||
fn pallet_xcm_constants() {
|
||||
assert_eq!(MaxLockers::get(), 0);
|
||||
assert_eq!(<parachain_template_runtime::Runtime as pallet_xcm::Config>::VERSION_DISCOVERY_QUEUE_SIZE, 100);
|
||||
assert_eq!(
|
||||
<generic_runtime_template::Runtime as pallet_xcm::Config>::VERSION_DISCOVERY_QUEUE_SIZE,
|
||||
100
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user