mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Enable amendments in genesis ledger (RIPD-1281)
When started with "--start", put all known, non-vetoed amendments in the genesis ledger. This avoids the need to wait 256 ledgers before amendments are enabled when testing with a fresh ledger.
This commit is contained in:
@@ -53,7 +53,8 @@ struct Regression_test : public beast::unit_test::suite
|
||||
// be reproduced against an open ledger. Make a local
|
||||
// closed ledger and work with it directly.
|
||||
auto closed = std::make_shared<Ledger>(
|
||||
create_genesis, env.app().config(), env.app().family());
|
||||
create_genesis, env.app().config(),
|
||||
std::vector<uint256>{}, env.app().family());
|
||||
auto expectedDrops = SYSTEM_CURRENCY_START;
|
||||
BEAST_EXPECT(closed->info().drops == expectedDrops);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user