Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
318889f0
Commit
318889f0
authored
Oct 08, 2019
by
André Silva
Committed by
Bastian Köcher
Oct 08, 2019
Browse files
Update latest substrate master (#462)
* update substrate to latest polkadot-master * fix test runtime
parent
d517dbeb
Pipeline
#53491
passed with stages
in 19 minutes and 49 seconds
Changes
3
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
318889f0
This diff is collapsed.
Click to expand it.
runtime/src/lib.rs
View file @
318889f0
...
...
@@ -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
:
100
3
,
spec_version
:
100
4
,
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
{
...
...
runtime/src/parachains.rs
View file @
318889f0
...
...
@@ -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!
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment