Commit 5f5e5343 authored by Hero Bird's avatar Hero Bird

[pdsl_model] Make it compile again

parent f0faf779
......@@ -2,6 +2,7 @@
#![feature(
const_fn,
const_str_as_bytes,
core_intrinsics,
)]
#![allow(unused)]
......@@ -25,6 +26,7 @@ pub use crate::{
NoDeployArgs,
DeployHandler,
ContractDecl,
ContractInstance,
Contract,
},
msg::{
......
......@@ -8,7 +8,7 @@ pub trait Message {
type Input: parity_codec::Decode;
/// The output of the message, also known as return type.
type Output: parity_codec::Encode;
type Output: parity_codec::Encode + 'static;
/// The user provided message selector.
///
......
Markdown is supported
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