From f63654ae0f76ad45f56c8a5396d5780dca7211b7 Mon Sep 17 00:00:00 2001 From: Doddanna17 Date: Wed, 25 Nov 2026 18:43:52 +0530 Subject: [PATCH] feat(statics): extend the PoX-5 test-contract allowance to 2026-12-01 The mainnet PoX-5 dummy-contract test is still in progress, but the pinned allowedStakingContracts pair for SP3JVSE4ZB... expired 2026-11-02. From then on buildContractTransaction rejects the address with 'Invalid contract address', and the vault re-parse path (which passes no allowlist) refuses the same tx, so register-for-bond cannot be built or signed end to end. Set the expiry to 2026-12-01, which is a UTC midnight cutoff and therefore keeps the pair usable through Nov 30 inclusive (month end). Still scoped to the pox-5 name and this address, and still time-boxed: remove the entry with the test contract (SI-2089). Ticket: SI-2644 --- modules/statics/src/networks.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/statics/src/networks.ts b/modules/statics/src/networks.ts index 62843797b5..ff7099adba 100644 --- a/modules/statics/src/networks.ts +++ b/modules/statics/src/networks.ts @@ -1385,14 +1385,18 @@ class Stx extends Mainnet implements StacksNetwork { // unstake, update-bond-registration, ...), not only `register-for-bond` — the register-only // restriction lives in wallet-platform, not here. Intentionally allowed for this test deployment. // - // `expiresAt` is a full timestamp: `'2026-11-02'` parses as 00:00Z, so the allowance ends at the - // START of Nov 2, not after it. + // `expiresAt` is a full timestamp: `'2026-12-01'` parses as 00:00Z, so the allowance ends at the + // START of Dec 1 2026, not after it — i.e. it stays usable through Nov 30 (month end, inclusive). + // + // Extended from `'2026-11-02'` (SI-2644): the mainnet PoX-5 dummy-contract test is still in + // progress and needs a live allowance for `register-for-bond` builds and vault re-parses. Now + // time-boxed to the end of Nov 2026 — do not make this permanent. // // @obligation remove this entry (and its tests) together with the test contract — see the removal // ticket on SI-2089. The deployer `SP3JVSE4ZB5GMDJP5XBPX7ZB1BG3QDFW7RCEQJDMY` is the Stacks // Foundation's test deployment. allowedStakingContracts = [ - { name: 'pox-5', address: 'SP3JVSE4ZB5GMDJP5XBPX7ZB1BG3QDFW7RCEQJDMY', expiresAt: '2026-11-02' }, + { name: 'pox-5', address: 'SP3JVSE4ZB5GMDJP5XBPX7ZB1BG3QDFW7RCEQJDMY', expiresAt: '2026-12-01' }, ]; }