mirror of
https://github.com/Xahau/xahaud.git
synced 2026-07-30 10:30:09 +00:00
refactor: unify featureExport + featureConsensusEntropy into featureExportRNG
Single amendment flag for both features. numFeatures 94 → 93. Exclude featureExportRNG from default test set to prevent ConsensusEntropy pseudo-tx injection from breaking existing tests.
This commit is contained in:
@@ -60,7 +60,7 @@ class ConsensusEntropy_test : public beast::unit_test::suite
|
||||
Env env{
|
||||
*this,
|
||||
envconfig(),
|
||||
supported_amendments() | featureConsensusEntropy,
|
||||
supported_amendments() | featureExportRNG,
|
||||
nullptr};
|
||||
|
||||
BEAST_EXPECT(!env.le(keylet::consensusEntropy()));
|
||||
@@ -89,7 +89,7 @@ class ConsensusEntropy_test : public beast::unit_test::suite
|
||||
Env env{
|
||||
*this,
|
||||
envconfig(),
|
||||
supported_amendments() | featureConsensusEntropy,
|
||||
supported_amendments() | featureExportRNG,
|
||||
nullptr};
|
||||
|
||||
env.close();
|
||||
@@ -134,7 +134,7 @@ class ConsensusEntropy_test : public beast::unit_test::suite
|
||||
Env env{
|
||||
*this,
|
||||
envconfig(),
|
||||
supported_amendments() | featureConsensusEntropy,
|
||||
supported_amendments() | featureExportRNG,
|
||||
nullptr};
|
||||
|
||||
auto const alice = Account{"alice"};
|
||||
@@ -211,7 +211,7 @@ class ConsensusEntropy_test : public beast::unit_test::suite
|
||||
Env env{
|
||||
*this,
|
||||
envconfig(),
|
||||
supported_amendments() | featureConsensusEntropy,
|
||||
supported_amendments() | featureExportRNG,
|
||||
nullptr};
|
||||
|
||||
auto const alice = Account{"alice"};
|
||||
@@ -289,7 +289,7 @@ class ConsensusEntropy_test : public beast::unit_test::suite
|
||||
Env env{
|
||||
*this,
|
||||
envconfig(),
|
||||
supported_amendments() | featureConsensusEntropy,
|
||||
supported_amendments() | featureExportRNG,
|
||||
nullptr};
|
||||
|
||||
auto const alice = Account{"alice"};
|
||||
@@ -369,7 +369,7 @@ class ConsensusEntropy_test : public beast::unit_test::suite
|
||||
Env env{
|
||||
*this,
|
||||
envconfig(),
|
||||
supported_amendments() | featureConsensusEntropy,
|
||||
supported_amendments() | featureExportRNG,
|
||||
nullptr};
|
||||
|
||||
auto const alice = Account{"alice"};
|
||||
|
||||
Reference in New Issue
Block a user