Skip to content

Commit

Permalink
Change XChainBridge amendment to Supported::yes (#4709)
Browse files Browse the repository at this point in the history
  • Loading branch information
seelabs authored Sep 15, 2023
1 parent 237b406 commit db0611f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ripple/protocol/impl/BuildInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace BuildInfo {
// and follow the format described at http://semver.org/
//------------------------------------------------------------------------------
// clang-format off
char const* const versionString = "1.12.0"
char const* const versionString = "2.0.0-b1"
// clang-format on

#if defined(DEBUG) || defined(SANITIZER)
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/protocol/impl/Feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ REGISTER_FIX (fixNFTokenRemint, Supported::yes, VoteBehavior::De
REGISTER_FIX (fixReducedOffersV1, Supported::yes, VoteBehavior::DefaultNo);
REGISTER_FEATURE(Clawback, Supported::yes, VoteBehavior::DefaultNo);
REGISTER_FEATURE(AMM, Supported::yes, VoteBehavior::DefaultNo);
REGISTER_FEATURE(XChainBridge, Supported::no, VoteBehavior::DefaultNo);
REGISTER_FEATURE(XChainBridge, Supported::yes, VoteBehavior::DefaultNo);

// The following amendments are obsolete, but must remain supported
// because they could potentially get enabled.
Expand Down
2 changes: 1 addition & 1 deletion src/test/app/XChain_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ struct XChain_test : public beast::unit_test::suite,
// coverage test: BridgeCreate::preflight() - create bridge when feature
// disabled.
{
Env env(*this);
Env env(*this, supported_amendments() - featureXChainBridge);
env(create_bridge(Account::master, jvb), ter(temDISABLED));
}

Expand Down

0 comments on commit db0611f

Please sign in to comment.