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

Commit 639c2cd

Browse files
committed
1 parent 9b4ea01 commit 639c2cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

primitives/src/v1/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ pub struct AbridgedHrmpChannel {
10641064
}
10651065

10661066
/// A possible upgrade restriction that prevents a parachain from performing an upgrade.
1067-
#[derive(Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)]
1067+
#[derive(Copy, Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)]
10681068
pub enum UpgradeRestriction {
10691069
/// There is an upgrade restriction and there are no details about its specifics nor how long
10701070
/// it could last.
@@ -1077,7 +1077,7 @@ pub enum UpgradeRestriction {
10771077
///
10781078
/// This data type appears in the last step of the upgrade process. After the parachain observes it
10791079
/// and reacts to it the upgrade process concludes.
1080-
#[derive(Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)]
1080+
#[derive(Copy, Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)]
10811081
pub enum UpgradeGoAhead {
10821082
/// Abort the upgrade process. There is something wrong with the validation code previously
10831083
/// submitted by the parachain. This variant can also be used to prevent upgrades by the governance

0 commit comments

Comments
 (0)