mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 21:01:05 +00:00
* primitives/core: Derive scale_info::TypeInfo for runtime APIs Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * parachains: Derive scale_info::TypeInfo for FungiblesAccessError Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * parachains: Fix `TypeInfo` import path Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * update lockfile for {"polkadot", "substrate"} * Adjust testing for the new API Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Adjust deprecated methods Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use polkadot_parachain::primitives::HeadData;
|
||||
use scale_info::TypeInfo;
|
||||
use sp_runtime::{traits::Block as BlockT, RuntimeDebug};
|
||||
use sp_std::prelude::*;
|
||||
|
||||
@@ -229,7 +230,7 @@ impl CollationInfoV1 {
|
||||
}
|
||||
|
||||
/// Information about a collation.
|
||||
#[derive(Clone, Debug, codec::Decode, codec::Encode, PartialEq)]
|
||||
#[derive(Clone, Debug, codec::Decode, codec::Encode, PartialEq, TypeInfo)]
|
||||
pub struct CollationInfo {
|
||||
/// Messages destined to be interpreted by the Relay chain itself.
|
||||
pub upward_messages: Vec<UpwardMessage>,
|
||||
|
||||
Reference in New Issue
Block a user