From 310149414bee9bca33b74b65b1bf74032d3c4d2e Mon Sep 17 00:00:00 2001 From: Simone Orsi <241460653+simone-stacks@users.noreply.github.com> Date: Tue, 19 May 2026 10:30:15 +0000 Subject: [PATCH 1/3] refactor: drop pub from pox_lock_increase_v2 (private module, single caller) --- pox-locking/src/pox_2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pox-locking/src/pox_2.rs b/pox-locking/src/pox_2.rs index e2b605786eb..e480abaccec 100644 --- a/pox-locking/src/pox_2.rs +++ b/pox-locking/src/pox_2.rs @@ -175,7 +175,7 @@ pub fn parse_pox_increase(result: &Value) -> std::result::Result<(PrincipalData, /// - Returns Error::PoxExtendNotLocked if this function was called on an account /// which isn't locked. This *should* have been checked by the PoX v2 contract, /// so this should surface in a panic. -pub fn pox_lock_increase_v2( +fn pox_lock_increase_v2( db: &mut ClarityDatabase, principal: &PrincipalData, new_total_locked: u128, From 53ceff88e4efd1fbfbbbb19d2a875b7df9b20239 Mon Sep 17 00:00:00 2001 From: Simone Orsi <241460653+simone-stacks@users.noreply.github.com> Date: Tue, 19 May 2026 10:30:24 +0000 Subject: [PATCH 2/3] refactor: drop pub from pox_lock_extend_v2 (private module, single caller) --- pox-locking/src/pox_2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pox-locking/src/pox_2.rs b/pox-locking/src/pox_2.rs index e480abaccec..64e9b6a803a 100644 --- a/pox-locking/src/pox_2.rs +++ b/pox-locking/src/pox_2.rs @@ -228,7 +228,7 @@ fn pox_lock_increase_v2( /// - Returns Error::PoxExtendNotLocked if this function was called on an account /// which isn't locked. This *should* have been checked by the PoX v2 contract, /// so this should surface in a panic. -pub fn pox_lock_extend_v2( +fn pox_lock_extend_v2( db: &mut ClarityDatabase, principal: &PrincipalData, unlock_burn_height: u64, From b26f53114b2619a2c0cc76a906311c8615c4883d Mon Sep 17 00:00:00 2001 From: Simone Orsi <241460653+simone-stacks@users.noreply.github.com> Date: Tue, 19 May 2026 10:31:02 +0000 Subject: [PATCH 3/3] refactor: drop pub from pox_lock_v3 (private module, single caller) --- pox-locking/src/pox_3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pox-locking/src/pox_3.rs b/pox-locking/src/pox_3.rs index 1aefe8ec05d..ce44ca64c49 100644 --- a/pox-locking/src/pox_3.rs +++ b/pox-locking/src/pox_3.rs @@ -60,7 +60,7 @@ pub(crate) fn is_read_only(func_name: &str) -> bool { } /// Lock up STX for PoX for a time. Does NOT touch the account nonce. -pub fn pox_lock_v3( +fn pox_lock_v3( db: &mut ClarityDatabase, principal: &PrincipalData, lock_amount: u128,