mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Put cumulus-parachain-upgrade into the test parachain (#98)
This ensures that the crate compiles for `no_std`. Besides this, there are some fixes to the crate code itself.
This commit is contained in:
@@ -24,8 +24,7 @@ use polkadot_primitives::parachain::{GlobalValidationSchedule, LocalValidationDa
|
||||
///
|
||||
/// This struct is the subset of [`ValidationParams`](polkadot_parachain::ValidationParams)
|
||||
/// which is of interest when upgrading parachain validation functions.
|
||||
#[derive(PartialEq, Eq, Encode, Decode, Clone, Copy, Default)]
|
||||
#[cfg_attr(feature = "std", derive(Debug))]
|
||||
#[derive(PartialEq, Eq, Encode, Decode, Clone, Copy, Default, sp_runtime::RuntimeDebug)]
|
||||
pub struct ValidationFunctionParams {
|
||||
/// The maximum code size permitted, in bytes.
|
||||
pub max_code_size: u32,
|
||||
|
||||
Reference in New Issue
Block a user