Skip to content

Commit

Permalink
feat(transaction): 📩 ActionPlan: From<UndelegateClaimPlan>
Browse files Browse the repository at this point in the history
  • Loading branch information
cratelyn committed Mar 27, 2024
1 parent 26a82e0 commit 2457ea3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/core/transaction/src/plan/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ impl From<Undelegate> for ActionPlan {
}
}

impl From<UndelegateClaimPlan> for ActionPlan {
fn from(inner: UndelegateClaimPlan) -> ActionPlan {
ActionPlan::UndelegateClaim(inner)
}
}

impl From<penumbra_stake::validator::Definition> for ActionPlan {
fn from(inner: penumbra_stake::validator::Definition) -> ActionPlan {
ActionPlan::ValidatorDefinition(inner)
Expand Down

0 comments on commit 2457ea3

Please sign in to comment.