Skip to content

Commit

Permalink
feat(transaction): 📩 ActionPlan: From<UndelegateClaimPlan> (#4115)
Browse files Browse the repository at this point in the history
cherry-picked from #4110.
  • Loading branch information
cratelyn authored Mar 27, 2024
1 parent 26a82e0 commit aed1f8f
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 aed1f8f

Please sign in to comment.