Unverified Commit 74ec4ab8 authored by Nikolay Volf's avatar Nikolay Volf Committed by GitHub
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
This diff is collapsed.
......@@ -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")
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment