From cd603901c2f7e4801e968235c0d1bc398d75558c Mon Sep 17 00:00:00 2001 From: Cardano Wallet Documentation Bot Date: Wed, 9 Aug 2023 09:38:01 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=9A=AE=20Remove=20`adaMinimum`=20?= =?UTF-8?q?field=20from=20`ApiWalletUtxoSnapshotEntry`=20type.=20(#4084)?= =?UTF-8?q?=20##=20Issue=20ADP-3122=20##=20Summary=20This=20PR=20removes?= =?UTF-8?q?=20the=20`adaMinimum`=20field=20from=20the=20`ApiWalletUtxoSnap?= =?UTF-8?q?shotEntry`=20type.=20##=20Context=20The=20original=20purpose=20?= =?UTF-8?q?of=20this=20field=20was=20to=20aid=20debugging,=20and=20specifi?= =?UTF-8?q?cally=20to=20answer=20the=20following=20question:=20>=20?= =?UTF-8?q?=E2=80=9CFor=20a=20given=20UTxO=20that=20already=20exists,=20wh?= =?UTF-8?q?at=20would=20the=20ledger=20have=20required=20the=20minimum=20q?= =?UTF-8?q?uantity=20of=20ada=20to=20be=20at=20the=20time=20the=20UTxO=20w?= =?UTF-8?q?as=20originally=20created=3F=E2=80=9D=20In=20general=20this=20q?= =?UTF-8?q?uestion=20is=20quite=20hard=20to=20answer,=20as=20for=20every?= =?UTF-8?q?=20historical=20UTxO=20that=20belongs=20to=20the=20wallet,=20we?= =?UTF-8?q?=E2=80=99d=20need=20to=20know:=20-=20in=20which=20era=20was=20t?= =?UTF-8?q?his=20UTxO=20created=3F=20-=20at=20which=20slot=20(within=20an?= =?UTF-8?q?=20era)=20was=20this=20UTxO=20was=20created=3F=20-=20what=20wer?= =?UTF-8?q?e=20the=20values=20of=20the=20protocol=20parameters=20at=20the?= =?UTF-8?q?=20time=20the=20UTxO=20was=20created=3F=20This=20is=20because?= =?UTF-8?q?=20the=20minimum=20UTxO=20function=20can=20change:=20-=20as=20w?= =?UTF-8?q?e=20transition=20from=20one=20era=20to=20another;=20and/or=20-?= =?UTF-8?q?=20whenever=20the=20protocol=20parameters=20are=20updated.=20Fi?= =?UTF-8?q?nally,=20since:=20-=20this=20field=20is=20for=20debugging=20pur?= =?UTF-8?q?poses=20only;=20-=20it=20has=20maintenance=20burden=20that=20is?= =?UTF-8?q?=20hard=20to=20satisfy;=20-=20it=20is=20an=20obstacle=20to=20on?= =?UTF-8?q?going=20work=20in=20other=20areas;=20and=20since=20-=20there=20?= =?UTF-8?q?is=20little=20evidence=20of=20user=20demand=20for=20this=20fiel?= =?UTF-8?q?d,=20We=20should=20feel=20free=20to=20remove=20it.=20Source=20c?= =?UTF-8?q?ommit:=20c25031d5546251bcc71ea483057004bbef938fa9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/edge/swagger.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/api/edge/swagger.yaml b/api/edge/swagger.yaml index 68701b95427..127aaa3460f 100644 --- a/api/edge/swagger.yaml +++ b/api/edge/swagger.yaml @@ -3221,18 +3221,12 @@ components: type: object required: - ada - - ada_minimum - assets properties: ada: <<: *amount description: | The ada quantity associated with this UTxO entry. - ada_minimum: - <<: *amount - description: | - The minimum ada quantity permitted by the ledger for this UTxO - entry. assets: <<: *walletAssets description: |