mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-28 01:20:32 +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:
@@ -10,6 +10,7 @@
|
||||
#include <test/jtx/fee.h>
|
||||
#include <test/jtx/flags.h>
|
||||
#include <test/jtx/mpt.h>
|
||||
#include <test/jtx/noop.h>
|
||||
#include <test/jtx/offer.h>
|
||||
#include <test/jtx/paths.h>
|
||||
#include <test/jtx/pay.h>
|
||||
@@ -1804,7 +1805,7 @@ class Vault_test : public beast::unit_test::Suite
|
||||
auto const [acctReserve, incReserve] = [this]() -> std::pair<int, int> {
|
||||
Env const env{*this, testableAmendments()};
|
||||
return {
|
||||
env.current()->fees().accountReserve(0).drops() / kDropsPerXrp.drops(),
|
||||
env.current()->fees().accountReserve(0, 1).drops() / kDropsPerXrp.drops(),
|
||||
env.current()->fees().increment.drops() / kDropsPerXrp.drops()};
|
||||
}();
|
||||
|
||||
@@ -2686,7 +2687,7 @@ class Vault_test : public beast::unit_test::Suite
|
||||
auto const [acctReserve, incReserve] = [this]() -> std::pair<int, int> {
|
||||
Env const env{*this, testableAmendments()};
|
||||
return {
|
||||
env.current()->fees().accountReserve(0).drops() / kDropsPerXrp.drops(),
|
||||
env.current()->fees().accountReserve(0, 1).drops() / kDropsPerXrp.drops(),
|
||||
env.current()->fees().increment.drops() / kDropsPerXrp.drops()};
|
||||
}();
|
||||
|
||||
@@ -5927,8 +5928,9 @@ class Vault_test : public beast::unit_test::Suite
|
||||
token->setFieldVL(*field, gMakeZeroBuffer(kEcGamalEncryptedTotalLength));
|
||||
sb.update(token);
|
||||
|
||||
auto const dummyTx = *env.jt(noop(holder)).stx;
|
||||
BEAST_EXPECT(
|
||||
removeEmptyHolding(sb, holder.id(), MPTIssue(mpt.issuanceID()), j) ==
|
||||
removeEmptyHolding({sb, dummyTx}, holder.id(), MPTIssue(mpt.issuanceID()), j) ==
|
||||
tecHAS_OBLIGATIONS);
|
||||
BEAST_EXPECT(sb.peek(tokenKeylet) != nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user