fix: Switch SponsorshipSet to use a delta for sfFeeAmount

This commit is contained in:
Mayukha Vadari
2026-07-29 14:24:55 -04:00
committed by Ayaz Salikhov
parent e290005db5
commit 24b6dad287
10 changed files with 522 additions and 234 deletions

View File

@@ -2116,8 +2116,8 @@ class MPToken_test : public beast::unit_test::Suite
jv[jss::TransactionType] = jss::SponsorshipSet;
jv[jss::Account] = alice.human();
jv[sfSponsee.fieldName] = carol.human();
jv[sfFeeAmount.fieldName] = mpt.getJson(JsonOptions::Values::None);
test(jv, sfFeeAmount.fieldName);
jv[sfFeeAmountDelta.fieldName] = mpt.getJson(JsonOptions::Values::None);
test(jv, sfFeeAmountDelta.fieldName);
}
}
BEAST_EXPECT(txWithAmounts.empty());