Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NikVolf committed Feb 4, 2020
1 parent c98b60f commit c7a2fae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions primitives/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -733,9 +733,4 @@ mod tests {
let multi_signer = MultiSigner::from(pair.public());
assert!(multi_sig.verify(msg, &multi_signer.into_account()));
}

#[test]
fn can_track_memory() {

}
}
3 changes: 1 addition & 2 deletions primitives/runtime/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ impl<'a, Xt> Deserialize<'a> for Block<Xt> where Block<Xt>: Decode {
pub struct TestXt<Call, Extra>(pub Option<(u64, Extra)>, pub Call);

#[cfg(feature = "std")]
impl<Call, Extra> parity_util_mem::MallocSizeOf
for TestXt<Call, Extra>
impl<Call, Extra> parity_util_mem::MallocSizeOf for TestXt<Call, Extra>
{
fn size_of(&self, _ops: &mut parity_util_mem::MallocSizeOfOps) -> usize {
// Non-opaque extrinsics always 0 (TODO: check if needed)
Expand Down

0 comments on commit c7a2fae

Please sign in to comment.