mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-18 18:15:50 +00:00
Compare commits
2 Commits
vlntb/tagg
...
a1q123456/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf732c9612 | ||
|
|
f5a43811e3 |
@@ -83,7 +83,7 @@ XRPL_FEATURE(Flow, Supported::yes, VoteBehavior::DefaultYe
|
||||
//
|
||||
// If a feature remains obsolete for long enough that no clients are able
|
||||
// to vote for it, the feature can be removed (entirely?) from the code.
|
||||
XRPL_FEATURE(CryptoConditionsSuite, Supported::yes, VoteBehavior::Obsolete)
|
||||
XRPL_FEATURE(TestObsolete_DO_NOT_USE, Supported::yes, VoteBehavior::Obsolete)
|
||||
|
||||
// The following amendments have been active for at least two years. Their
|
||||
// pre-amendment code has been removed and the identifiers are deprecated.
|
||||
@@ -119,6 +119,7 @@ XRPL_RETIRE_FIX(TrustLinesToSelf)
|
||||
|
||||
XRPL_RETIRE_FEATURE(CheckCashMakesTrustLine)
|
||||
XRPL_RETIRE_FEATURE(CryptoConditions)
|
||||
XRPL_RETIRE_FEATURE(CryptoConditionsSuite)
|
||||
XRPL_RETIRE_FEATURE(DepositAuth)
|
||||
XRPL_RETIRE_FEATURE(DepositPreauth)
|
||||
XRPL_RETIRE_FEATURE(Escrow)
|
||||
|
||||
@@ -528,7 +528,7 @@ class Feature_test : public beast::unit_test::suite
|
||||
|
||||
using namespace test::jtx;
|
||||
Env env{*this};
|
||||
constexpr char const* featureName = "CryptoConditionsSuite";
|
||||
constexpr char const* featureName = "TestObsolete_DO_NOT_USE";
|
||||
|
||||
auto jrr = env.rpc("feature", featureName)[jss::result];
|
||||
if (!BEAST_EXPECTS(jrr[jss::status] == jss::success, "status"))
|
||||
|
||||
@@ -153,12 +153,6 @@ EscrowCreate::preflight(PreflightContext const& ctx)
|
||||
<< ec.message();
|
||||
return temMALFORMED;
|
||||
}
|
||||
|
||||
// Conditions other than PrefixSha256 require the
|
||||
// "CryptoConditionsSuite" amendment:
|
||||
if (condition->type != Type::preimageSha256 &&
|
||||
!ctx.rules.enabled(featureCryptoConditionsSuite))
|
||||
return temDISABLED;
|
||||
}
|
||||
|
||||
return tesSUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user