anchor.diff:       {hard_fork_with_tx,
         [sequence],
         [
  -       restore_db_backup_on_old_node,
  +       restore_db_backup_on_old_node, %% Determines info of top of chain in DB backup.
          {group, hard_fork_all_with_tx}
         ]},
        {hard_fork_all_with_tx,
         [sequence],
         [
  -       new_node_can_mine_spend_tx_on_old_chain_using_old_protocol,
  +       {group, hard_fork_old_chain_with_tx},
  +       {group, hard_fork_new_chain_with_tx}
  +      ]},
  +     {hard_fork_old_chain_with_tx,
  +      [sequence],
  +      [
  +       restore_db_backup_with_short_chain_on_new_node,
  +       new_node_can_mine_spend_tx_on_old_chain_using_old_protocol
  +      ]},
  +     {hard_fork_new_chain_with_tx,
  +      [sequence],
  +      [
  +       restore_db_backup_with_short_chain_on_new_node,
          new_node_can_mine_spend_tx_on_old_chain_using_new_protocol
         ]}
       ].
  
positive.code: init_per_group(genesis, Config) -> Config;
  init_per_group(hard_fork, Config) -> Config;
  init_per_group(hard_fork_with_tx, Config) -> Config;
  init_per_group(Group, Config) when Group == hard_fork_all; Group == hard_fork_all_with_tx ->
      {_, {restore_db_backup_on_old_node, SavedCfg}} =
          proplists:lookup(saved_config, Config),
      [{_, _} = proplists:lookup(db_backup_top_height, SavedCfg),
  
negative.code: end_per_testcase(new_node_can_receive_short_old_chain_from_other_new_node, _) -> ok;
  end_per_testcase(new_node_can_mine_on_old_chain_using_old_protocol, _) -> ok;
  end_per_testcase(new_node_can_mine_on_old_chain_using_new_protocol, _) -> ok;
  end_per_testcase(new_node_can_mine_spend_tx_on_old_chain_using_old_protocol, _) -> ok;
  end_per_testcase(new_node_can_mine_spend_tx_on_old_chain_using_new_protocol, _) -> ok.
  
  %=== TEST CASES ================================================================
  
  