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
74ec4ab8
Unverified
Commit
74ec4ab8
authored
Apr 16, 2020
by
Nikolay Volf
Committed by
GitHub
Apr 16, 2020
Browse files
Companion PR for 5023 (#939)
* add extension registrations * update to latest * merge&update
parent
491d2ffe
Pipeline
#88322
passed with stages
in 30 minutes and 22 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
74ec4ab8
This diff is collapsed.
Click to expand it.
parachain/src/wasm_executor/mod.rs
View file @
74ec4ab8
...
...
@@ -274,4 +274,19 @@ impl sp_externalities::ExtensionStore for ValidationExternalities {
None
}
}
fn
register_extension_with_type_id
(
&
mut
self
,
_type_id
:
TypeId
,
_extension
:
Box
<
dyn
sp_externalities
::
Extension
>
,
)
->
Result
<
(),
sp_externalities
::
Error
>
{
panic!
(
"register_extension_with_type_id: unsupported feature for parachain validation"
)
}
fn
deregister_extension_by_type_id
(
&
mut
self
,
_type_id
:
TypeId
,
)
->
Result
<
(),
sp_externalities
::
Error
>
{
panic!
(
"deregister_extension_by_type_id: unsupported feature for parachain validation"
)
}
}
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