remove unused error InvalidCode and improve docs (#11383)

This commit is contained in:
yjh authored and GitHub committed 2022-05-16 10:25:34 +02:00
1 parent a5d0a65bf4
commit bf694d3c0e
3 files changed
+2 -9

No files matched your search

@@ -43,9 +43,6 @@ pub enum Error {
#[error("Method not found: '{0}'")]
MethodNotFound(String),
#[error("Invalid Code (expected single byte): '{0}'")]
InvalidCode(String),
#[error("On-chain runtime does not specify version")]
VersionInvalid,