mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
Co-authored-by: tequ <git@tequ.dev> Co-authored-by: yinyiqian1 <yqian@ripple.com> Co-authored-by: Mayukha Vadari <mvadari@ripple.com> Co-authored-by: Mayukha Vadari <mvadari@gmail.com> Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com> Co-authored-by: Peter Chen <34582813+PeterChen13579@users.noreply.github.com> Co-authored-by: Zhiyuan Wang <96991820+Kassaking7@users.noreply.github.com> Co-authored-by: Ayaz Salikhov <asalikhov@ripple.com> Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com> Co-authored-by: Zhiyuan Wang <1830604455@qq.com>
This commit is contained in:
@@ -2108,6 +2108,15 @@ class MPToken_test : public beast::unit_test::Suite
|
||||
reward = STAmount{sfSignatureReward, usd(10)};
|
||||
minAmount = STAmount{sfMinAccountCreateAmount, mpt};
|
||||
}
|
||||
// SponsorshipSet
|
||||
{
|
||||
json::Value jv;
|
||||
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.c_str());
|
||||
}
|
||||
}
|
||||
BEAST_EXPECT(txWithAmounts.empty());
|
||||
}
|
||||
@@ -7563,7 +7572,7 @@ class MPToken_test : public beast::unit_test::Suite
|
||||
void
|
||||
testFixDoubleOwnerCount(FeatureBitset all)
|
||||
{
|
||||
testcase("Fix Double adjustOwnerCount in AMMWithdraw");
|
||||
testcase("Fix Double OwnerCount in AMMWithdraw");
|
||||
|
||||
using namespace jtx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user