• Bastian Köcher's avatar
    Make collation an optional return (#1787) · ce0fa3ad
    Bastian Köcher authored
    This pr changes the collator interface function to return an optional
    collation instead of a collation. This is required as the parachain
    itself can fail to generate a valid collation for various reason. Now if
    the collation fails it will return `None`.
    
    Besides that the pr adds some `RuntimeDebug` derive for `ValidationData`
    and removes some whitespaces.
    ce0fa3ad