Skip to content

Commit

Permalink
[core] add comment explaining Decode requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones committed Jul 30, 2019
1 parent 219c851 commit 89d0e88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/env/traits.rs
Expand Up @@ -51,7 +51,8 @@ pub trait EnvTypes {
type Moment: Codec + Clone + PartialEq + Eq + core::fmt::Debug;
/// The type of block number.
type BlockNumber: Codec + Clone + PartialEq + Eq + core::fmt::Debug;
/// The type of a call into the runtime
/// The type of a call into the runtime.
/// Requires Decode for inspecting raw dispatched calls in the test environment.
type Call: Codec + Clone + PartialEq + Eq + core::fmt::Debug;
}

Expand Down

0 comments on commit 89d0e88

Please sign in to comment.