chore: improve runtime docs and remove unused error (#12000)

This commit is contained in:
yjh
2022-08-11 17:59:38 +08:00
committed by GitHub
parent aa5f68a827
commit 9a7ff9a3a0
5 changed files with 9 additions and 12 deletions
@@ -23,7 +23,6 @@ wasmi = "0.9.1"
sc-allocator = { version = "4.1.0-dev", path = "../../allocator" }
sp-maybe-compressed-blob = { version = "4.1.0-dev", path = "../../../primitives/maybe-compressed-blob" }
sp-sandbox = { version = "0.10.0-dev", path = "../../../primitives/sandbox" }
sp-serializer = { version = "4.0.0-dev", path = "../../../primitives/serializer" }
sp-wasm-interface = { version = "6.0.0", path = "../../../primitives/wasm-interface" }
[features]
@@ -18,7 +18,6 @@
//! Rust executor possible errors.
use sp_serializer;
use wasmi;
/// Result type alias.
@@ -28,9 +27,6 @@ pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
pub enum Error {
#[error("Unserializable data encountered")]
InvalidData(#[from] sp_serializer::Error),
#[error(transparent)]
Wasmi(#[from] wasmi::Error),