mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 05:31:09 +00:00
Remove usage of substrate-test-runtime. (#969)
* Switch from using the substrate_test_runtime Extrinsic to the polkadot_test_runtime one * Copy genesismap into test-runtime * Add UncheckedExtrinsics * Fix tests :^) * Remove unused functions from genesismap * DRY, clean up * Clean up * Update service/src/grandpa_support.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Fix indentation * Update runtime/test-runtime/src/genesismap.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -69,6 +69,8 @@ pub use parachains::Call as ParachainsCall;
|
||||
|
||||
/// Constant values used within the runtime.
|
||||
pub mod constants;
|
||||
#[cfg(feature = "std")]
|
||||
pub mod genesismap;
|
||||
use constants::{time::*, currency::*, fee::*};
|
||||
|
||||
// Make the WASM binary available.
|
||||
@@ -204,7 +206,7 @@ impl transaction_payment::Trait for Runtime {
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const MinimumPeriod: u64 = SLOT_DURATION / 2;
|
||||
pub const MinimumPeriod: u64 = 0;
|
||||
}
|
||||
impl timestamp::Trait for Runtime {
|
||||
type Moment = u64;
|
||||
|
||||
Reference in New Issue
Block a user