fix comments from PR review

This commit is contained in:
Aaron Blankstein
2023-04-25 14:15:41 -05:00
parent f9e85d2924
commit db007310e1
2 changed files with 1 additions and 4 deletions

View File

@@ -994,7 +994,6 @@ pub fn handle_contract_call_special_cases(
} else if *contract_id == boot_code_id(POX_2_NAME, global_context.mainnet) {
if !is_pox_v2_read_only(function_name) && global_context.epoch_id >= StacksEpochId::Epoch22
{
// NOTE: get-pox-info is read-only, so it can call old pox v1 stuff
warn!("PoX-2 function call attempted on an account after Epoch 2.2";
"v2_unlock_ht" => global_context.database.get_v2_unlock_height(),
"current_burn_ht" => global_context.database.get_current_burnchain_block_height(),

View File

@@ -521,9 +521,7 @@ fn disable_pox() {
(burn_pox_addr.clone(), 1),
]),
),
// Epoch 2.2 has started, so the reward set should be fixed.
// pox_addr_2 should get 1 extra slot, because stack-increase
// did increase their stacked amount
// Epoch 2.2 has started, so the reward set should be all burns.
(26, HashMap::from([(burn_pox_addr.clone(), 14)])),
(27, HashMap::from([(burn_pox_addr.clone(), 14)])),
]);