Unverified Commit 8746ca26 authored by Sergey Pepyakin's avatar Sergey Pepyakin Committed by GitHub
Browse files

Narrow the set of available host functions for PVF (#3005)

parent 76b4c689
Pipeline #137982 failed with stages
in 28 minutes and 48 seconds
This diff is collapsed.
......@@ -79,7 +79,14 @@ pub fn execute(
})?
}
type HostFunctions = sp_io::SubstrateHostFunctions;
type HostFunctions = (
sp_io::misc::HostFunctions,
sp_io::crypto::HostFunctions,
sp_io::hashing::HostFunctions,
sp_io::allocator::HostFunctions,
sp_io::logging::HostFunctions,
sp_io::trie::HostFunctions,
);
/// The validation externalities that will panic on any storage related access.
struct ValidationExternalities(sp_externalities::Extensions);
......
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