Skip to content

Commit fbdf822

Browse files
committed
chore: pox3 to pox4 misc renames
1 parent ff6c611 commit fbdf822

19 files changed

+38
-38
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -520,24 +520,24 @@ jobs:
520520
flag-name: run-${{ github.job }}
521521
parallel: true
522522

523-
test-2_4:
523+
test-2_5:
524524
strategy:
525525
fail-fast: false
526526
matrix:
527527
suite:
528528
[
529529
block-zero-handling,
530530
faucet-stx,
531-
pox-3-btc-address-formats,
532-
pox-3-delegate-aggregation,
533-
pox-3-delegate-stacking,
534-
pox-3-delegate-revoked-stacking,
535-
pox-3-stack-extend-increase,
536-
pox-3-rosetta-btc-addr-types,
537-
pox-3-rosetta-cycle-phases,
538-
pox-3-rosetta-segwit,
539-
pox-3-burnchain-stack-stx,
540-
pox-3-burnchain-delegate-stx,
531+
pox-4-btc-address-formats,
532+
pox-4-delegate-aggregation,
533+
pox-4-delegate-stacking,
534+
pox-4-delegate-revoked-stacking,
535+
pox-4-stack-extend-increase,
536+
pox-4-rosetta-btc-addr-types,
537+
pox-4-rosetta-cycle-phases,
538+
pox-4-rosetta-segwit,
539+
pox-4-burnchain-stack-stx,
540+
pox-4-burnchain-delegate-stx,
541541
]
542542
runs-on: ubuntu-latest
543543
steps:
@@ -575,7 +575,7 @@ jobs:
575575
npm run devenv:logs-krypton -- --no-color &> docker-compose-logs.txt &
576576
577577
- name: Run tests
578-
run: npm run test:2.4 -- --testPathPattern "${{ matrix.suite }}"
578+
run: npm run test:2.5 -- --testPathPattern "${{ matrix.suite }}"
579579

580580
- name: Print integration environment logs
581581
run: cat docker-compose-logs.txt

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,14 +316,14 @@
316316
{
317317
"type": "node",
318318
"request": "launch",
319-
"name": "Jest: 2.4",
319+
"name": "Jest: 2.5",
320320
"program": "${workspaceFolder}/node_modules/.bin/jest",
321321
"args": [
322322
"--testTimeout=3600000",
323323
"--runInBand",
324324
"--no-cache",
325325
"--config",
326-
"${workspaceRoot}/tests/jest.config.2.4.js"
326+
"${workspaceRoot}/tests/jest.config.2.5.js",
327327
],
328328
"outputCapture": "std",
329329
"console": "integratedTerminal",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dev:follower": "npm run devenv:build && concurrently npm:dev npm:devenv:follower",
1010
"test": "cross-env NODE_ENV=test jest --config ./tests/jest.config.js --coverage --runInBand",
1111
"test:subnets": "cross-env NODE_ENV=test jest --config ./tests/jest.config.subnets.js --coverage --runInBand",
12-
"test:2.4": "cross-env NODE_ENV=test jest --config ./tests/jest.config.2.4.js --coverage --runInBand",
12+
"test:2.5": "cross-env NODE_ENV=test jest --config ./tests/jest.config.2.5.js --coverage --runInBand",
1313
"test:rosetta": "cross-env NODE_ENV=test jest --config ./tests/jest.config.rosetta.js --coverage --runInBand",
1414
"test:rosetta-construction": "cross-env NODE_ENV=test jest --config ./tests/jest.config.rosetta-construction.js --coverage --runInBand",
1515
"test:rosetta-cli:data": "cross-env NODE_ENV=test STACKS_CHAIN_ID=0x80000000 jest --config ./tests/jest.config.rosetta-cli-data.js --coverage --runInBand",
@@ -24,7 +24,7 @@
2424
"test:watch": "cross-env NODE_ENV=test jest --config ./tests/jest.config.js --watch",
2525
"test:integration": "concurrently \"docker compose -f docker/docker-compose.dev.postgres.yml up --force-recreate -V\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.js --no-cache --runInBand; npm run devenv:stop:pg\"",
2626
"test:integration:subnets": "concurrently --hide \"devenv:deploy:subnets\" \"npm:devenv:deploy:subnets\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.subnets.js --no-cache --runInBand; npm run devenv:stop:subnets\"",
27-
"test:integration:2.4": "concurrently --hide \"devenv:deploy-krypton\" \"npm:devenv:deploy-krypton\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.2.4.js --no-cache --runInBand; npm run devenv:stop-krypton\"",
27+
"test:integration:2.5": "concurrently --hide \"devenv:deploy-krypton\" \"npm:devenv:deploy-krypton\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.2.5.js --no-cache --runInBand; npm run devenv:stop-krypton\"",
2828
"test:integration:rosetta": "concurrently \"npm:devenv:deploy-krypton\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.rosetta.js --no-cache --runInBand; npm run devenv:stop-krypton\"",
2929
"test:integration:rosetta-construction": "concurrently \"npm:devenv:deploy-krypton\" \"cross-env NODE_ENV=test jest --config ./tests/jest.config.rosetta-construction.js --no-cache --runInBand; npm run devenv:stop-krypton\"",
3030
"test:integration:rosetta-cli:data": "concurrently \"npm:devenv:deploy-krypton\" \"cross-env NODE_ENV=test STACKS_CHAIN_ID=0x80000000 jest --config ./tests/jest.config.rosetta-cli-data.js --no-cache --runInBand; npm run devenv:stop-krypton\"",

src/tests-2.4/pox-3-btc-address-formats.ts renamed to src/tests-2.5/pox-4-btc-address-formats.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ import {
2121
} from '../test-utils/test-helpers';
2222
import { hexToBuffer } from '@hirosystems/api-toolkit';
2323

24-
describe('PoX-3 - Stack using supported bitcoin address formats', () => {
24+
describe('PoX-4 - Stack using supported bitcoin address formats', () => {
2525
test('Standby for next cycle', async () => {
2626
const poxInfo = await testEnv.client.getPox();
2727
await standByUntilBurnBlock(poxInfo.next_cycle.reward_phase_start_block_height); // a good time to stack
2828
});
2929

30-
describe('PoX-3 - Stacking operations P2SH-P2WPKH', () => {
30+
describe('PoX-4 - Stacking operations P2SH-P2WPKH', () => {
3131
const account = testnetKeys[1];
3232
let btcAddr: string;
3333
let btcRegtestAccount: VerboseKeyOutput;
@@ -276,7 +276,7 @@ describe('PoX-3 - Stack using supported bitcoin address formats', () => {
276276
});
277277
});
278278

279-
describe('PoX-3 - Stacking operations P2WPKH', () => {
279+
describe('PoX-4 - Stacking operations P2WPKH', () => {
280280
const account = testnetKeys[1];
281281
let btcAddr: string;
282282
let btcRegtestAddr: string;
@@ -524,7 +524,7 @@ describe('PoX-3 - Stack using supported bitcoin address formats', () => {
524524
});
525525
});
526526

527-
describe('PoX-3 - Stacking operations P2WSH', () => {
527+
describe('PoX-4 - Stacking operations P2WSH', () => {
528528
const account = testnetKeys[1];
529529
let btcAddr: string;
530530
let btcRegtestAddr: string;
@@ -776,7 +776,7 @@ describe('PoX-3 - Stack using supported bitcoin address formats', () => {
776776
});
777777
});
778778

779-
describe('PoX-3 - Stacking operations P2TR', () => {
779+
describe('PoX-4 - Stacking operations P2TR', () => {
780780
const account = testnetKeys[2];
781781
let btcAddr: string;
782782
let btcRegtestAddr: string;

src/tests-2.4/pox-3-burnchain-delegate-stx.ts renamed to src/tests-2.5/pox-4-burnchain-delegate-stx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ async function createPox2DelegateStx(args: {
172172
};
173173
}
174174

175-
describe('PoX-3 - Stack using Bitcoin-chain ops', () => {
175+
describe('PoX-4 - Stack using Bitcoin-chain ops', () => {
176176
const seedAccount = testnetKeys[0];
177177

178178
let db: PgWriteStore;

0 commit comments

Comments
 (0)