mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-06 15:05:31 +00:00
Compare commits
7 Commits
develop
...
ximinez/as
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b4404b8c6 | ||
|
|
bfc0acc734 | ||
|
|
9f7f43c16e | ||
|
|
8e98ba7564 | ||
|
|
d0b5ca9dab | ||
|
|
5e51893e9b | ||
|
|
3422c11d02 |
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
// Add new amendments to the top of this list.
|
// Add new amendments to the top of this list.
|
||||||
// Keep it sorted in reverse chronological order.
|
// Keep it sorted in reverse chronological order.
|
||||||
|
XRPL_FIX (LendingProtocolV1_1, Supported::yes, VoteBehavior::DefaultNo)
|
||||||
XRPL_FIX (ExpiredNFTokenOfferRemoval, Supported::yes, VoteBehavior::DefaultNo)
|
XRPL_FIX (ExpiredNFTokenOfferRemoval, Supported::yes, VoteBehavior::DefaultNo)
|
||||||
XRPL_FIX (BatchInnerSigs, Supported::yes, VoteBehavior::DefaultNo)
|
XRPL_FIX (BatchInnerSigs, Supported::yes, VoteBehavior::DefaultNo)
|
||||||
XRPL_FEATURE(LendingProtocol, Supported::yes, VoteBehavior::DefaultNo)
|
XRPL_FEATURE(LendingProtocol, Supported::yes, VoteBehavior::DefaultNo)
|
||||||
|
|||||||
@@ -883,6 +883,11 @@ STObject::add(Serializer& s, WhichFields whichFields) const
|
|||||||
XRPL_ASSERT(
|
XRPL_ASSERT(
|
||||||
(sType != STI_OBJECT) || (field->getFName().fieldType == STI_OBJECT),
|
(sType != STI_OBJECT) || (field->getFName().fieldType == STI_OBJECT),
|
||||||
"xrpl::STObject::add : valid field type");
|
"xrpl::STObject::add : valid field type");
|
||||||
|
XRPL_ASSERT_PARTS(
|
||||||
|
getStyle(field->getFName()) != soeDEFAULT || !field->isDefault(),
|
||||||
|
"xrpl::STObject::add",
|
||||||
|
"non-default value");
|
||||||
|
|
||||||
field->addFieldID(s);
|
field->addFieldID(s);
|
||||||
field->add(s);
|
field->add(s);
|
||||||
if (sType == STI_ARRAY || sType == STI_OBJECT)
|
if (sType == STI_ARRAY || sType == STI_OBJECT)
|
||||||
|
|||||||
@@ -1701,10 +1701,21 @@ class LoanBroker_test : public beast::unit_test::suite
|
|||||||
testRIPD4274MPT();
|
testRIPD4274MPT();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
testFixAmendmentEnabled()
|
||||||
|
{
|
||||||
|
using namespace jtx;
|
||||||
|
testcase("testFixAmendmentEnabled");
|
||||||
|
Env env{*this};
|
||||||
|
|
||||||
|
BEAST_EXPECT(env.enabled(fixLendingProtocolV1_1));
|
||||||
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void
|
void
|
||||||
run() override
|
run() override
|
||||||
{
|
{
|
||||||
|
testFixAmendmentEnabled();
|
||||||
testLoanBrokerSetDebtMaximum();
|
testLoanBrokerSetDebtMaximum();
|
||||||
testLoanBrokerCoverDepositNullVault();
|
testLoanBrokerCoverDepositNullVault();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user