mirror of
https://github.com/Xahau/xahaud.git
synced 2026-08-21 15:30:52 +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:
@@ -75,7 +75,7 @@ public:
|
||||
struct Export_test : public beast::unit_test::suite
|
||||
{
|
||||
// Hook that exports a payment using xport (for cross-chain export)
|
||||
// xport APIs are gated by featureExport amendment, not sfHookApiVersion
|
||||
// xport APIs are gated by featureExportRNG amendment, not sfHookApiVersion
|
||||
TestHook xport_wasm = export_test_wasm[R"[test.hook](
|
||||
#include <stdint.h>
|
||||
extern int32_t _g(uint32_t id, uint32_t maxiter);
|
||||
@@ -307,7 +307,7 @@ struct Export_test : public beast::unit_test::suite
|
||||
{
|
||||
using namespace test::jtx;
|
||||
FeatureBitset const all{supported_amendments()};
|
||||
FeatureBitset const allWithExport{all | featureExport};
|
||||
FeatureBitset const allWithExport{all | featureExportRNG};
|
||||
testXportPaymentWithValidator(allWithExport);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user