From 0c2e09050e2aaac8a40c2abcf5f531ad9cd13769 Mon Sep 17 00:00:00 2001 From: Nicholas Dudfield Date: Wed, 25 Feb 2026 12:05:28 +0700 Subject: [PATCH] fix: move sfHookExportCount to Xahau-reserved field code range sfHookExportCount was at field code 23, colliding with the mainline rippled UINT16 range. Move to 98 in the Xahau-reserved range. Also reorder sfExportedTxn (90) before sfAmountEntry (91) for consistency. --- include/xrpl/protocol/detail/sfields.macro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xrpl/protocol/detail/sfields.macro b/include/xrpl/protocol/detail/sfields.macro index 1009fefda..82aee3fb7 100644 --- a/include/xrpl/protocol/detail/sfields.macro +++ b/include/xrpl/protocol/detail/sfields.macro @@ -59,7 +59,7 @@ TYPED_SFIELD(sfHookExecutionIndex, UINT16, 19) TYPED_SFIELD(sfHookApiVersion, UINT16, 20) TYPED_SFIELD(sfHookStateScale, UINT16, 21) TYPED_SFIELD(sfLedgerFixType, UINT16, 22) -TYPED_SFIELD(sfHookExportCount, UINT16, 23) +TYPED_SFIELD(sfHookExportCount, UINT16, 98) TYPED_SFIELD(sfEntropyCount, UINT16, 99) // 32-bit integers (common) @@ -382,8 +382,8 @@ UNTYPED_SFIELD(sfXChainClaimAttestationCollectionElement, OBJECT, 30) UNTYPED_SFIELD(sfXChainCreateAccountAttestationCollectionElement, OBJECT, 31) UNTYPED_SFIELD(sfPriceData, OBJECT, 32) UNTYPED_SFIELD(sfCredential, OBJECT, 33) -UNTYPED_SFIELD(sfAmountEntry, OBJECT, 91) UNTYPED_SFIELD(sfExportedTxn, OBJECT, 90) +UNTYPED_SFIELD(sfAmountEntry, OBJECT, 91) UNTYPED_SFIELD(sfMintURIToken, OBJECT, 92) UNTYPED_SFIELD(sfHookEmission, OBJECT, 93) UNTYPED_SFIELD(sfImportVLKey, OBJECT, 94)