mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Update latest substrate master (#462)
* update substrate to latest polkadot-master * fix test runtime
This commit is contained in:
committed by
Bastian Köcher
parent
9d3dd691b6
commit
9c7845b824
Generated
+225
-199
File diff suppressed because it is too large
Load Diff
@@ -99,7 +99,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
spec_name: create_runtime_str!("kusama"),
|
spec_name: create_runtime_str!("kusama"),
|
||||||
impl_name: create_runtime_str!("parity-kusama"),
|
impl_name: create_runtime_str!("parity-kusama"),
|
||||||
authoring_version: 1,
|
authoring_version: 1,
|
||||||
spec_version: 1003,
|
spec_version: 1004,
|
||||||
impl_version: 0,
|
impl_version: 0,
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
};
|
};
|
||||||
@@ -174,6 +174,9 @@ parameter_types! {
|
|||||||
impl babe::Trait for Runtime {
|
impl babe::Trait for Runtime {
|
||||||
type EpochDuration = EpochDuration;
|
type EpochDuration = EpochDuration;
|
||||||
type ExpectedBlockTime = ExpectedBlockTime;
|
type ExpectedBlockTime = ExpectedBlockTime;
|
||||||
|
|
||||||
|
// session module is the trigger
|
||||||
|
type EpochChangeTrigger = babe::ExternalTrigger;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl indices::Trait for Runtime {
|
impl indices::Trait for Runtime {
|
||||||
|
|||||||
@@ -981,6 +981,9 @@ mod tests {
|
|||||||
impl babe::Trait for Test {
|
impl babe::Trait for Test {
|
||||||
type EpochDuration = EpochDuration;
|
type EpochDuration = EpochDuration;
|
||||||
type ExpectedBlockTime = ExpectedBlockTime;
|
type ExpectedBlockTime = ExpectedBlockTime;
|
||||||
|
|
||||||
|
// session module is the trigger
|
||||||
|
type EpochChangeTrigger = babe::ExternalTrigger;
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
|
|||||||
Reference in New Issue
Block a user