From aed1f8f607bfb4f9635d88f43b5ef8c5813036fd Mon Sep 17 00:00:00 2001 From: katelyn martin Date: Tue, 26 Mar 2024 21:51:10 -0400 Subject: [PATCH] =?UTF-8?q?feat(transaction):=20=F0=9F=93=A9=20`ActionPlan?= =?UTF-8?q?:=20From`=20(#4115)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cherry-picked from #4110. --- crates/core/transaction/src/plan/action.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/core/transaction/src/plan/action.rs b/crates/core/transaction/src/plan/action.rs index 32338e5ca6..370a54f5fa 100644 --- a/crates/core/transaction/src/plan/action.rs +++ b/crates/core/transaction/src/plan/action.rs @@ -280,6 +280,12 @@ impl From for ActionPlan { } } +impl From for ActionPlan { + fn from(inner: UndelegateClaimPlan) -> ActionPlan { + ActionPlan::UndelegateClaim(inner) + } +} + impl From for ActionPlan { fn from(inner: penumbra_stake::validator::Definition) -> ActionPlan { ActionPlan::ValidatorDefinition(inner)