From bb8aa55f84e21236fa564f926cf633e368da15b6 Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Thu, 25 Apr 2024 14:32:40 -0400 Subject: [PATCH] proto(view): deprecate withdraw DA reserves in TPR --- proto/penumbra/penumbra/view/v1/view.proto | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/proto/penumbra/penumbra/view/v1/view.proto b/proto/penumbra/penumbra/view/v1/view.proto index b95c570c5a..a4a5dc9bdc 100644 --- a/proto/penumbra/penumbra/view/v1/view.proto +++ b/proto/penumbra/penumbra/view/v1/view.proto @@ -342,10 +342,14 @@ message TransactionPlannerRequest { core.component.auction.v1alpha1.AuctionId auction_id = 1; // The sequence number of the withdrawal. uint64 seq = 2; - // The auction's reserves of input asset - core.asset.v1.Value input_reserves = 3; + // The auction's reserves of input asset. + // This field is deprecated - the planner can query the user's view agent + // to populate this field. + core.num.v1.Amount input_reserves = 3 [deprecated = true]; // The auction's reserves of output asset. - core.asset.v1.Value output_reserves = 4; + // This field is deprecated - the planner can query the user's view agent + // to populate this field. + core.num.v1.Amount output_reserves = 4 [deprecated = true]; } }