Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Companion PR for 5023 (#939)
Browse files Browse the repository at this point in the history
* add extension registrations

* update to latest

* merge&update
# Conflicts:
#	Cargo.lock
  • Loading branch information
NikVolf committed Apr 17, 2020
1 parent e19d50b commit 8722f93
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions parachain/src/wasm_executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,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")
}
}

0 comments on commit 8722f93

Please sign in to comment.