Files
stacks-blockchain-api/.vscode/tasks.json
Matthew Little 7c45f53622 feat: ingestion for TenureChange and NakamotoCoinbase tx types (#1753)
* feat: ingestion for TenureChange and NakamotoCoinbase tx types

* fix: add new tx fields to batch tx insert query

* chore: bump stacks-encoding-native-js

* test: fix flaky socket-io timeout test
2023-12-08 12:39:52 +01:00

175 lines
6.2 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "generate:schemas",
"type": "npm",
"script": "generate:schemas",
"presentation": {
"reveal": "silent"
}
},
{
"label": "stacks-node:deploy-dev",
"type": "shell",
"command": "npm run devenv:deploy",
"isBackground": true,
"problemMatcher": {
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3, },
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
},
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
},
{
"label": "stacks-node:start-mocknet",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.stacks-blockchain.yml up --force-recreate -V",
"isBackground": true,
"problemMatcher": {
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3, },
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
},
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
},
{
"label": "stacks-node:stop-mocknet",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.stacks-blockchain.yml down -v -t 0",
"isBackground": true,
"problemMatcher": {
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3, },
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
},
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
},
{
"label": "deploy:pg",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml up --force-recreate -V",
"isBackground": true,
"problemMatcher": [{
"pattern": [{ "regexp": ".", "file": 1, "location": 2, "message": 3 }],
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
}],
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
},
{
"label": "stop:pg",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml down -v -t 0",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"clear": false
}
},
{
"label": "deploy:subnets",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.subnets.yml up --force-recreate -V",
"isBackground": true,
"problemMatcher": {
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 },
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
},
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
},
{
"label": "stop:subnets",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.subnets.yml down -v -t 0",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"clear": false
}
},
{
"label": "deploy:krypton",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton.yml up --force-recreate -V",
"isBackground": true,
"problemMatcher": {
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 },
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
},
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
},
{
"label": "stop:krypton",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton.yml down -v -t 0",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"clear": false
}
},
{
"label": "deploy:krypton-2.1-transition",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton-2.1-transition.yml up",
"isBackground": true,
"problemMatcher": {
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 },
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
},
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
},
{
"label": "stop:krypton-2.1-transition",
"type": "shell",
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton-2.1-transition.yml down -v -t 0",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"clear": false
}
},
{
"label": "stacks-node:deploy-follower",
"type": "shell",
"command": "npm run devenv:follower -- -d && npm run devenv:logs",
"isBackground": true,
"problemMatcher": [
{
"pattern": [{ "regexp": ".", "file": 1, "location": 2, "message": 3, }],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": ".",
}
},
]
},
{
"label": "stacks-node:stop-dev",
"type": "shell",
"command": "npm run devenv:stop",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
},
{
"label": "stacks-node:build-dev",
"type": "shell",
"command": "npm run devenv:build && npm run devenv:deploy"
},
]
}