feat: pox-4 support (#1754)

* feat: handle pox-3 force unlocks

* chore: todo note

* feat: handle pox-3 force unlocks, pox-4 events, and revoke-delegate-stx event

* chore: rename pox-2 file

* chore: simplified pox route paths

* feat: add migration to create pox4_events table

* test: follow redirects in test fetch helper

* chore: fix storing different pox version events

* test: fix tests with missing pox4_events

* chore: move delegations lookup endpoint into pox router

* fix: handle pox4_events during reorgs

* test: fix pox4events reorg count

* chore: update stacks-node image to stacks 3.0

* test: begin transitioning pox tests to use pox-4

* chore: bump stacks-node to wip nakamoto branch

* test: switch more tests from pox-3 to pox-4

* fix: tx fee fall back in faucet

* test: update delegation check endpoints

* chore: isolate error in delegate-revoke test

* chore: pox3 to pox4 misc renames

* ci: rename 2.4 to 2.5

* test: remove no-longer applicable delegate-stx while stacking test

* chore: remove incorrect commend in pox4 test
This commit is contained in:
Matthew Little
2023-12-13 12:58:37 +01:00
committed by GitHub
parent cb38b6811c
commit 285806f46c
63 changed files with 1275 additions and 938 deletions

View File

@@ -9,7 +9,7 @@
"dev:follower": "npm run devenv:build && concurrently npm:dev npm:devenv:follower",
"test": "cross-env NODE_ENV=test jest --config ./tests/jest.config.js --coverage --runInBand",
"test:subnets": "cross-env NODE_ENV=test jest --config ./tests/jest.config.subnets.js --coverage --runInBand",
"test:2.4": "cross-env NODE_ENV=test jest --config ./tests/jest.config.2.4.js --coverage --runInBand",
"test:2.5": "cross-env NODE_ENV=test jest --config ./tests/jest.config.2.5.js --coverage --runInBand",
"test:rosetta": "cross-env NODE_ENV=test jest --config ./tests/jest.config.rosetta.js --coverage --runInBand",
"test:rosetta-construction": "cross-env NODE_ENV=test jest --config ./tests/jest.config.rosetta-construction.js --coverage --runInBand",
"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 @@
"test:watch": "cross-env NODE_ENV=test jest --config ./tests/jest.config.js --watch",
"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\"",
"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\"",
"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\"",
"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\"",
"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\"",
"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\"",
"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\"",