mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 00:36:48 +00:00
refactor: Retire DepositPreAuth and DepositAuth amendments (#5978)
Amendments activated for more than 2 years can be retired. This change retires the fDepositPreAuth and DepositAuth amendments.
This commit is contained in:
@@ -35,8 +35,7 @@ public:
|
||||
using namespace test::jtx;
|
||||
Account const alice("alice");
|
||||
|
||||
// Test without DepositAuth enabled initially.
|
||||
Env env(*this, testable_amendments() - featureDepositAuth);
|
||||
Env env(*this, testable_amendments());
|
||||
env.fund(XRP(10000), noripple(alice));
|
||||
|
||||
// Give alice a regular key so she can legally set and clear
|
||||
@@ -116,19 +115,6 @@ public:
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Test with featureDepositAuth disabled.
|
||||
testFlags(
|
||||
{asfRequireDest,
|
||||
asfRequireAuth,
|
||||
asfDisallowXRP,
|
||||
asfGlobalFreeze,
|
||||
asfDisableMaster,
|
||||
asfDefaultRipple});
|
||||
|
||||
// Enable featureDepositAuth and retest.
|
||||
env.enableFeature(featureDepositAuth);
|
||||
env.close();
|
||||
testFlags(
|
||||
{asfRequireDest,
|
||||
asfRequireAuth,
|
||||
|
||||
Reference in New Issue
Block a user