@@ -18,7 +18,8 @@ import {
1818} from '../test-utils/test-helpers' ;
1919import type { TestEnvContext } from './env-setup' ;
2020
21- describe ( 'PoX Transition - Double stacking' , ( ) => {
21+ // todo: unskip - currently fails due to a node issue (see inner comments)
22+ describe . skip ( 'PoX Transition - Double stacking' , ( ) => {
2223 let db : PgWriteStore ;
2324 let api : ApiServer ;
2425 let client : StacksCoreRpcClient ;
@@ -217,6 +218,7 @@ describe('PoX Transition - Double stacking', () => {
217218 expect ( poxInfo . current_burnchain_block_height ) . toBe ( expectedUnlockHeight + 1 ) ; // todo: is it intended that unlocks are 1 block late?
218219 } ) ;
219220
221+ // todo: skipped due to issue with node (see inner comments)
220222 test ( 'Stack to both PoXs in Period 2a' , async ( ) => {
221223 // Assuming the following ENV from `zone117x/stacks-api-e2e:stacks2.1-transition-feat-segwit-events-8fb6fad`
222224 // STACKS_21_HEIGHT=120
@@ -279,17 +281,16 @@ describe('PoX Transition - Double stacking', () => {
279281 // todo: WARN: this will never finish, since the tx panics the node
280282 // await standByForTxSuccess(txResultPox2.txId);
281283
282- throw Error ( 'Node panicked' ) ;
283-
284- const balanceLocked = await stackingClient . getAccountBalanceLocked ( ) ;
285- expect ( balanceLocked ) . toBe ( ustxAmount * 2n ) ; // lock should include both pox-contracts
284+ // todo: check balance
285+ // const balanceLocked = await stackingClient.getAccountBalanceLocked();
286+ // expect(balanceLocked).toBe(ustxAmount * 2n); // lock should include both pox-contracts
286287
287288 // todo: make sure event data matches
288289 } ) ;
289290
290291 test ( 'Check that node is still running' , async ( ) => {
291292 while ( true ) {
292- // todo: WARN: currently results in socket hang up after 1-2 tries
293+ // todo: WARN: currently results in socket hang up after 1-2 tries, since the node panics
293294 await expect ( client . getPox ( ) ) . resolves . not . toThrow ( ) ;
294295 await sleep ( 200 ) ;
295296 }
0 commit comments