Skip to content

Commit

Permalink
fix: move variant
Browse files Browse the repository at this point in the history
  • Loading branch information
ramizhasan111 committed Oct 14, 2024
1 parent eb9344c commit 77db409
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions state-chain/pallets/cf-vaults/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,13 @@ pub type ThresholdSignatureFor<T, I = ()> =
#[scale_info(skip_type_params(T, I))]
pub enum VaultActivationStatus<T: Config<I>, I: 'static = ()> {
/// We are waiting for the key to be updated on the contract, and witnessed by the network.
AwaitingActivation {
new_public_key: AggKeyFor<T, I>,
},
ActivationFailedAwaitingGovernance {
new_public_key: AggKeyFor<T, I>,
},
AwaitingActivation { new_public_key: AggKeyFor<T, I> },
/// The key has been successfully updated on the external chain, and/or funds rotated to new
/// key.
Complete,
/// The activation tx has failed to construct. The rotation is now paused and awaiting
/// governance.
ActivationFailedAwaitingGovernance { new_public_key: AggKeyFor<T, I> },
}

#[frame_support::pallet]
Expand Down

0 comments on commit 77db409

Please sign in to comment.