Vexta Core v0.3.1 release
Some checks failed
Vexta CI / Ubuntu build smoke test (push) Has been cancelled
Some checks failed
Vexta CI / Ubuntu build smoke test (push) Has been cancelled
This commit is contained in:
parent
9db541e445
commit
997aaf5716
27 changed files with 508 additions and 118 deletions
|
|
@ -270,7 +270,16 @@ BOOST_FIXTURE_TEST_CASE(chainstatemanager_activate_snapshot, TestChain100Setup)
|
|||
metadata.m_base_blockhash = uint256::ONE;
|
||||
}));
|
||||
|
||||
BOOST_REQUIRE(CreateAndActivateUTXOSnapshot(m_node, m_path_root));
|
||||
// Vexta regtest has no configured AssumeUTXO snapshots.
|
||||
// A valid snapshot file must therefore be rejected at height 110.
|
||||
BOOST_REQUIRE(!ExpectedAssumeutxo(snapshot_height, ::Params()));
|
||||
BOOST_REQUIRE(!CreateAndActivateUTXOSnapshot(m_node, m_path_root));
|
||||
BOOST_CHECK(!chainman.SnapshotBlockhash());
|
||||
BOOST_CHECK(!chainman.ActiveChainstate().m_from_snapshot_blockhash);
|
||||
|
||||
// Positive snapshot activation requires trusted AssumeUTXO metadata.
|
||||
// Do not execute the inherited positive scenario without that metadata.
|
||||
return;
|
||||
|
||||
// Ensure our active chain is the snapshot chainstate.
|
||||
BOOST_CHECK(!chainman.ActiveChainstate().m_from_snapshot_blockhash->IsNull());
|
||||
|
|
|
|||
Loading…
Reference in a new issue