From db007310e10c3f7eaa7935a369007f222a09cd7e Mon Sep 17 00:00:00 2001 From: Aaron Blankstein Date: Tue, 25 Apr 2023 14:15:41 -0500 Subject: [PATCH] fix comments from PR review --- src/clarity_vm/special.rs | 1 - testnet/stacks-node/src/tests/epoch_22.rs | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/clarity_vm/special.rs b/src/clarity_vm/special.rs index c4ed5b900..4c88dcb98 100644 --- a/src/clarity_vm/special.rs +++ b/src/clarity_vm/special.rs @@ -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(), diff --git a/testnet/stacks-node/src/tests/epoch_22.rs b/testnet/stacks-node/src/tests/epoch_22.rs index 494166bed..7ffcc1b58 100644 --- a/testnet/stacks-node/src/tests/epoch_22.rs +++ b/testnet/stacks-node/src/tests/epoch_22.rs @@ -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)])), ]);