mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 18:01:07 +00:00
Update latest substrate master (#462)
* update substrate to latest polkadot-master * fix test runtime
This commit is contained in:
1 parent
9d3dd691b6
commit
9c7845b824
3 files changed
+232
-200
No files matched your search
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"),
|
||||
impl_name: create_runtime_str!("parity-kusama"),
|
||||
authoring_version: 1,
|
||||
spec_version: 1003,
|
||||
spec_version: 1004,
|
||||
impl_version: 0,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
};
|
||||
@@ -174,6 +174,9 @@ parameter_types! {
|
||||
impl babe::Trait for Runtime {
|
||||
type EpochDuration = EpochDuration;
|
||||
type ExpectedBlockTime = ExpectedBlockTime;
|
||||
|
||||
// session module is the trigger
|
||||
type EpochChangeTrigger = babe::ExternalTrigger;
|
||||
}
|
||||
|
||||
impl indices::Trait for Runtime {
|
||||
|
||||
@@ -981,6 +981,9 @@ mod tests {
|
||||
impl babe::Trait for Test {
|
||||
type EpochDuration = EpochDuration;
|
||||
type ExpectedBlockTime = ExpectedBlockTime;
|
||||
|
||||
// session module is the trigger
|
||||
type EpochChangeTrigger = babe::ExternalTrigger;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
Reference in new issue
Block a user