Clean up sizes for a workspace (#2445)

This commit is contained in:
Sergei Shulepov
2021-02-16 13:07:35 +01:00
committed by GitHub
parent 4f21cc7e5c
commit 30cba2537b
2 changed files with 68 additions and 10 deletions
+2 -2
View File
@@ -259,7 +259,7 @@ pub type UpwardMessage = Vec<u8>;
/// Validation parameters for evaluating the parachain validity function.
// TODO: balance downloads (https://github.com/paritytech/polkadot/issues/220)
#[derive(PartialEq, Eq, Decode)]
#[derive(PartialEq, Eq, Decode, Clone)]
#[cfg_attr(feature = "std", derive(Debug, Encode))]
pub struct ValidationParams {
/// Previous head-data.
@@ -274,7 +274,7 @@ pub struct ValidationParams {
/// The result of parachain validation.
// TODO: balance uploads (https://github.com/paritytech/polkadot/issues/220)
#[derive(PartialEq, Eq, Encode)]
#[derive(PartialEq, Eq, Clone, Encode)]
#[cfg_attr(feature = "std", derive(Debug, Decode))]
pub struct ValidationResult {
/// New head data that should be included in the relay chain state.