From 20331fc4689e99deff3ca15998eab8024598df93 Mon Sep 17 00:00:00 2001 From: Oliver Eggert Date: Wed, 21 Feb 2024 10:41:53 -0800 Subject: [PATCH] 2.1.0 amendment updates --- content/_snippets/rippled-api-links.md | 2 ++ content/_snippets/rippled_versions.md | 3 ++- content/resources/known-amendments.md | 32 ++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/content/_snippets/rippled-api-links.md b/content/_snippets/rippled-api-links.md index 77252498dc..f3724981d0 100644 --- a/content/_snippets/rippled-api-links.md +++ b/content/_snippets/rippled-api-links.md @@ -230,9 +230,11 @@ "fixCheckThreading", "fixDisallowIncomingV1", "fixFillOrKill", + "fixInnerObjTemplate", "fixMasterKeyAsRegularKey", "fixNFTokenDirV1", "fixNFTokenRemint", + "fixNFTokenReserve", "fixPayChanRecipientOwnerDir", "fixRemoveNFTokenAutoTrustLine", "fixQualityUpperBound", diff --git a/content/_snippets/rippled_versions.md b/content/_snippets/rippled_versions.md index 106053a941..202cf38a0a 100644 --- a/content/_snippets/rippled_versions.md +++ b/content/_snippets/rippled_versions.md @@ -44,7 +44,8 @@ "1.10.0", "1.11.0", "1.12.0", - "2.0.0" + "2.0.0", + "2.1.0" ] %} {% for v in rippled_versions %} diff --git a/content/resources/known-amendments.md b/content/resources/known-amendments.md index deb6079a9b..2688f16a91 100644 --- a/content/resources/known-amendments.md +++ b/content/resources/known-amendments.md @@ -16,6 +16,8 @@ The following is a comprehensive list of all known [amendments](amendments.html) | Name | Introduced | Status | |:----------------------------------|:-----------|:------------------------------| +| [fixInnerObjTemplate][] | v2.0.0 | [Open for Voting: 2024-02-20](https://xrpl.org/blog/2024/rippled-2.1.0.html "BADGE_80d0e0") | +| [fixNFTokenReserve][] | v2.0.0 | [Open for Voting: 2024-02-20](https://xrpl.org/blog/2024/rippled-2.1.0.html "BADGE_80d0e0") | | [DID][] | v2.0.0 | [Open for Voting: 2024-01-09](https://xrpl.org/blog/2024/rippled-2.0.0.html "BADGE_80d0e0") | | [fixDisallowIncomingV1][] | v2.0.0 | [Open for Voting: 2024-01-09](https://xrpl.org/blog/2024/rippled-2.0.0.html "BADGE_80d0e0") | | [fixFillOrKill][] | v2.0.0 | [Open for Voting: 2024-01-09](https://xrpl.org/blog/2024/rippled-2.0.0.html "BADGE_80d0e0") | @@ -108,6 +110,36 @@ The following is a list of known [amendments](amendments.html) that have been re ## Details about Known Amendments +### fixInnerObjTemplate + +[fixInnerObjTemplate]: #fixinnerobjtemplate + +| Amendment | fixInnerObjTemplate | +|:-------------|:--------------| +| Amendment ID | C393B3AEEBF575E475F0C60D5E4241B2070CC4D0EB6C4846B1A07508FAEFC485 | +| Status | Open for Voting | +| Default Vote (Latest stable release) | No | +| Pre-amendment functionality retired? | No | + +This amendment fixes an issue with accessing the AMM `sfTradingFee` and `sfDiscountedFee` fields in the inner objects of `sfVoteEntry` and `sfAuctionSlot`. + +Currently, the inner object template isn't set upon object creation. If the object contains an `soeDEFAULT` field and is initially set to the default value, accessing the field results in a `tefEXCEPTION` error in some circumstances. This amendment adds an `STObject` constructor overload that includes an additional boolean argument to set the inner object template. + + +### fixNFTokenReserve + +[fixNFTokenReserve]: #fixnftokenreserve + +| Amendment | fixNFTokenReserve | +|:-------------|:--------------| +| Amendment ID | 03BDC0099C4E14163ADA272C1B6F6FABB448CC3E51F522F978041E4B57D9158C | +| Status | Open for Voting | +| Default Vote (Latest stable release) | No | +| Pre-amendment functionality retired? | No | + +This amendment adds a check to the `NFTokenAcceptOffer` transactor to see if the `OwnerCount` changes. If it does, it makes an additional check that the reserve requirement is met for the updated owner count. + + ### fixDisallowIncomingV1 [fixDisallowIncomingV1]: #fixdisallowincomingv1