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

Commit

Permalink
add extension registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
NikVolf committed Mar 26, 2020
1 parent 710f4ca commit 13600a0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions parachain/src/wasm_executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,16 @@ 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) {
panic!("deregister_extension_by_type_id: unsupported feature for parachain validation")
}
}

0 comments on commit 13600a0

Please sign in to comment.