Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d0dda55
feat: use arkade-regtest for regtest environment
Kukks Mar 28, 2026
7e283d2
fix: update arkade-regtest submodule (bitcoin restart after arkd init)
Kukks Mar 28, 2026
70aa0db
fix: update arkade-regtest (nbxplorer sync check before custom arkd)
Kukks Mar 28, 2026
2bba13c
fix: update arkade-regtest and add ALLOW_CSV_BLOCK_TYPE to env config
Kukks Mar 28, 2026
10a5ae3
fix: update arkade-regtest (host curl, clean volumes, more retries)
Kukks Mar 28, 2026
c5fb29b
fix: update arkade-regtest (remove broken nbxplorer check)
Kukks Mar 28, 2026
ca1381c
fix: use gocron scheduler for seconds-based VtxoTreeExpiry
Kukks Mar 28, 2026
3523403
fix: use gocron + ALLOW_CSV_BLOCK_TYPE=false
Kukks Mar 28, 2026
a4da579
fix: update regtest submodule with wallet creation via admin API
Kukks Mar 28, 2026
80e4760
fix: update regtest submodule (GET for wallet seed endpoint)
Kukks Mar 29, 2026
4516f3b
fix: update regtest submodule (non-fatal redeem-notes)
Kukks Mar 29, 2026
29ac2c0
fix: update regtest submodule (timeout for note/redeem-notes)
Kukks Mar 29, 2026
b88ef26
fix: update regtest submodule (curl timeouts + mine blocks before set…
Kukks Mar 29, 2026
90af220
fix: use docker exec for nak health check instead of HTTP curl
Kukks Mar 29, 2026
4883730
fix: update regtest submodule (add ARKD_ROUND_INTERVAL)
Kukks Mar 29, 2026
c031eca
fix: update regtest submodule (restart chopsticks after bitcoin restart)
Kukks Mar 29, 2026
43e927b
fix: update regtest submodule with arkd restart after chopsticks
Kukks Mar 29, 2026
c571a34
fix: update regtest submodule - move bitcoin config before arkd startup
Kukks Mar 29, 2026
e5c7ae2
fix: skip Bitcoin Core restart to prevent nbxplorer connection loss
Kukks Mar 29, 2026
3722613
fix: update regtest submodule — fund server wallet, not client boardi…
Kukks Mar 29, 2026
addd9a8
fix: update regtest — 21-tx server funding for fee estimation
Kukks Mar 29, 2026
92e6b25
fix: update regtest — fund Boltz wallet for on-chain swaps
Kukks Mar 29, 2026
b7d4e0e
fix: update regtest — increase server funding to 21 BTC
Kukks Mar 29, 2026
19bf5f2
chore: update regtest submodule to eecb40e
Kukks Mar 29, 2026
346fc15
ci: increase Playwright timeout to 45 minutes
Kukks Mar 29, 2026
59835c2
chore: update regtest submodule to 1a86cf5
Kukks Mar 29, 2026
8f939fb
fix: use correct container name 'ark' instead of 'arkd'
Kukks Mar 29, 2026
bca7760
fix: add zero fees to .env.regtest + CI diagnostic logging
Kukks Mar 30, 2026
5dbc44b
chore: bump regtest (conditional nbxplorer restart)
Kukks Mar 30, 2026
fbbc7e8
chore: point regtest submodule to master, re-enable BITCOIN_LOW_FEE
Kukks Mar 30, 2026
15e24bf
fix: increase Playwright timeouts for arkade-regtest environment
Kukks Mar 30, 2026
21fb32d
Revert "fix: increase Playwright timeouts for arkade-regtest environm…
Kukks Mar 31, 2026
f351422
Merge remote-tracking branch 'origin/master' into feat/use-arkade-reg…
Kukks Mar 31, 2026
1d502cf
fix: bump regtest (Boltz fee alignment) + increase test timeouts
Kukks Mar 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .env.regtest
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# wallet arkade-regtest overrides
ARKD_IMAGE=ghcr.io/arkade-os/arkd:v0.9.1
ARKD_WALLET_IMAGE=ghcr.io/arkade-os/arkd-wallet:v0.9.1
Comment on lines +2 to +3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify v0.9.1 Docker images exist in GitHub Container Registry

echo "Checking arkd:v0.9.1 image..."
docker manifest inspect ghcr.io/arkade-os/arkd:v0.9.1 > /dev/null 2>&1
if [ $? -eq 0 ]; then
  echo "✓ ghcr.io/arkade-os/arkd:v0.9.1 exists"
else
  echo "✗ ghcr.io/arkade-os/arkd:v0.9.1 NOT FOUND"
fi

echo "Checking arkd-wallet:v0.9.1 image..."
docker manifest inspect ghcr.io/arkade-os/arkd-wallet:v0.9.1 > /dev/null 2>&1
if [ $? -eq 0 ]; then
  echo "✓ ghcr.io/arkade-os/arkd-wallet:v0.9.1 exists"
else
  echo "✗ ghcr.io/arkade-os/arkd-wallet:v0.9.1 NOT FOUND"
fi

Repository: arkade-os/wallet

Length of output: 217


The referenced Docker images v0.9.1 do not exist in GitHub Container Registry.

Both ghcr.io/arkade-os/arkd:v0.9.1 and ghcr.io/arkade-os/arkd-wallet:v0.9.1 are unavailable. The regtest environment will fail to start with these image references. Either ensure these v0.9.1 images are built and pushed to the registry, or use the available v0.8.7 versions if v0.9.1 is not yet released.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.env.regtest around lines 2 - 3, The ARKD_IMAGE and ARKD_WALLET_IMAGE
entries reference non-existent tags v0.9.1; update the .env.regtest values for
ARKD_IMAGE and ARKD_WALLET_IMAGE to point to an available tag (e.g., v0.8.7) or
ensure the v0.9.1 images are built and pushed to GHCR before referencing them;
change the values for the ARKD_IMAGE and ARKD_WALLET_IMAGE keys accordingly so
the regtest environment can pull valid images.


# nbxplorer guard in start-env.sh handles missing container gracefully
BITCOIN_LOW_FEE=true

# Match wallet's existing arkd config
ARKD_SCHEDULER_TYPE=gocron
ARKD_BOARDING_EXIT_DELAY=1024
ARKD_SESSION_DURATION=10
ARKD_LOG_LEVEL=6

# Zero fees — faucetOffchain uses wallet.settle() without fee budget
ARK_OFFCHAIN_INPUT_FEE="0.0"
ARK_ONCHAIN_INPUT_FEE="0.0"
ARK_OFFCHAIN_OUTPUT_FEE="0.0"
ARK_ONCHAIN_OUTPUT_FEE="0.0"
52 changes: 44 additions & 8 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,19 @@ on:
branches: [master, next]
jobs:
test:
timeout-minutes: 30
timeout-minutes: 45
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- uses: actions/cache@v4
with:
path: regtest/_build
key: nigiri-${{ hashFiles('regtest/.env.defaults', '.env.regtest') }}
Comment on lines +19 to +22
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -eu
echo "regtest submodule ref:"
git ls-tree HEAD regtest
echo
echo "Workflow cache stanza:"
sed -n '19,22p' .github/workflows/playwright.yml

Repository: arkade-os/wallet

Length of output: 317


🏁 Script executed:

find . -name "start-env.sh" -o -name "clean-env.sh" | head -20

Repository: arkade-os/wallet

Length of output: 42


🏁 Script executed:

cat -n .github/workflows/playwright.yml

Repository: arkade-os/wallet

Length of output: 2258


🏁 Script executed:

# Check if regtest/_build is mentioned anywhere in the codebase
rg "regtest/_build" --type yaml --type sh

Repository: arkade-os/wallet

Length of output: 42


🏁 Script executed:

# Check if regtest directory exists and what's in it
ls -la regtest/ 2>/dev/null | head -20

Repository: arkade-os/wallet

Length of output: 170


🏁 Script executed:

# Look for start-env.sh specifically in regtest
find regtest -name "*.sh" -type f 2>/dev/null | head -20

Repository: arkade-os/wallet

Length of output: 42


🏁 Script executed:

# Check if regtest is a submodule or a regular directory
git config --file=.gitmodules --get-regexp "^submodule\.regtest"

Repository: arkade-os/wallet

Length of output: 219


🏁 Script executed:

# Check what git ls-tree shows for regtest subdirectories
git ls-tree -r HEAD regtest | head -30

Repository: arkade-os/wallet

Length of output: 122


🏁 Script executed:

# Check .gitmodules to see submodule configuration
cat .gitmodules

Repository: arkade-os/wallet

Length of output: 196


🏁 Script executed:

# Look for any documentation or comments in the workflow about submodule handling
head -n 40 .github/workflows/playwright.yml

Repository: arkade-os/wallet

Length of output: 1259


🏁 Script executed:

# Check if there are other workflows that handle submodule caching differently
find .github/workflows -name "*.yml" -o -name "*.yaml" | xargs grep -l "cache" 2>/dev/null

Repository: arkade-os/wallet

Length of output: 117


🏁 Script executed:

# Check the ci.yml workflow for cache patterns
cat .github/workflows/ci.yml

Repository: arkade-os/wallet

Length of output: 1021


🏁 Script executed:

# Since regtest is a submodule and it's checked out, let's verify the concern:
# The cache key does NOT include the submodule commit hash.
# Let's check if there's any documentation about this in the repo
find . -name "README*" -o -name "CONTRIBUTING*" | xargs grep -l "cache\|submodule" 2>/dev/null || echo "No matches in docs"

Repository: arkade-os/wallet

Length of output: 1565


🏁 Script executed:

# Check if there are any recent commits that mention cache invalidation or submodule
git log --oneline --all -n 20 2>/dev/null | head -20

Repository: arkade-os/wallet

Length of output: 1370


Include the submodule commit hash in the cache key to ensure invalidation when regtest is updated.

The cache key at lines 19-22 hashes only .env files but ignores the regtest submodule revision. When the submodule is bumped, the cache key remains unchanged, causing old build artifacts to be reused with new source code. This can lead to CI testing against stale artifacts, invalidating test results.

Add the submodule commit to the cache key:

key: nigiri-${{ hashFiles('regtest/.env.defaults', '.env.regtest') }}-${{ hashFiles('.gitmodules') }}

or use git commit tracking:

key: nigiri-${{ hashFiles('regtest/.env.defaults', '.env.regtest') }}-${{ github.sha }}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/playwright.yml around lines 19 - 22, Update the Playwright
workflow cache key so it includes the regtest submodule revision to invalidate
caches when the submodule changes: modify the actions/cache key (the existing
nigiri-${{ hashFiles('regtest/.env.defaults', '.env.regtest') }} value) to
append a submodule identifier — e.g., add the .gitmodules file hash or the
current commit SHA — so the cache key becomes the original env hash plus either
hashFiles('.gitmodules') or github.sha to ensure regtest updates bust the cache.

- uses: actions/setup-node@v4
with:
node-version: lts/*
Expand All @@ -20,14 +29,41 @@ jobs:
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Nigiri
uses: vulpemventures/nigiri-github-action@v1
with:
use_liquid: false
use_ln: true
- name: Setup regtest environment
run: pnpm regtest
- name: Start regtest environment
run: chmod +x regtest/*.sh regtest/helpers/*.sh && ./regtest/start-env.sh
- name: Add nigiri to PATH
run: echo "${{ github.workspace }}/regtest/_build/nigiri/build" >> $GITHUB_PATH
- name: Start nostr relay
run: docker compose -f docker-compose.nak.yml up -d --build
- name: Verify environment
run: pnpm regtest:setup
- name: Diagnostic - dump regtest env state
run: |
echo "=== .env.regtest ==="
cat .env.regtest || echo "no .env.regtest"
echo "=== arkd container env ==="
docker exec ark env 2>/dev/null | grep -E "ARKD_|ARK_|SCHEDULER|CSV|VTXO|ROUND" || true
echo "=== arkd info ==="
curl -s http://localhost:7070/v1/info 2>/dev/null | head -50 || true
echo "=== arkd admin fees ==="
curl -s http://localhost:7070/v1/admin/intentFees 2>/dev/null || true
echo "=== docker ps ==="
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" || true
- name: Run Playwright tests
run: sleep 5 && pnpm run test:e2e
env:
CI: true
- name: Capture logs on failure
if: failure()
run: |
docker logs ark 2>&1 || true
docker logs ark-wallet 2>&1 || true
docker logs boltz 2>&1 || true
docker logs boltz-lnd 2>&1 || true
docker logs boltz-fulmine 2>&1 || true
docker logs nak 2>&1 || true
- name: Cleanup
if: always()
run: |
docker compose -f docker-compose.nak.yml down -v 2>/dev/null || true
chmod +x regtest/*.sh regtest/helpers/*.sh 2>/dev/null; ./regtest/clean-env.sh
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "regtest"]
path = regtest
url = https://github.com/ArkLabsHQ/arkade-regtest.git
branch = master
39 changes: 0 additions & 39 deletions arkd.Dockerfile

This file was deleted.

32 changes: 0 additions & 32 deletions arkdwallet.Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions cors.Dockerfile

This file was deleted.

48 changes: 0 additions & 48 deletions cors.nginx.conf

This file was deleted.

15 changes: 15 additions & 0 deletions docker-compose.nak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: nigiri
services:
nak:
build:
context: .
dockerfile: nak.Dockerfile
container_name: nak
ports:
- '10547:10547'
command: ['nak', 'serve', '--hostname', '0.0.0.0', '--port', '10547']

networks:
default:
name: nigiri
external: true
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@
"format": "prettier --write src",
"format:check": "prettier --check src",
"git-info": "node scripts/git-commit-info.js",
"regtest": "pnpm regtest:down && pnpm regtest:build && pnpm regtest:up && pnpm regtest:setup",
"regtest:build": "docker compose -f test.docker-compose.yml build",
"regtest:up": "docker compose -f test.docker-compose.yml up arkd arkd-wallet nbxplorer pgnbxplorer -d",
"regtest:down": "docker compose -f test.docker-compose.yml down -v",
"regtest:start": "./regtest/start-env.sh && docker compose -f docker-compose.nak.yml up -d",
"regtest:stop": "./regtest/stop-env.sh && docker compose -f docker-compose.nak.yml down",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -eu
for f in regtest/start-env.sh regtest/stop-env.sh regtest/clean-env.sh; do
  if [ -e "$f" ]; then
    echo "FOUND $f"
  else
    echo "MISSING $f"
  fi
done

Repository: arkade-os/wallet

Length of output: 145


🏁 Script executed:

# Check if regtest is a git submodule and its configuration
cat .gitmodules 2>/dev/null || echo "No .gitmodules file"
echo "---"
git ls-files --stage | grep regtest || echo "No regtest in git index"
echo "---"
# Check what's actually in the regtest directory
ls -la regtest/ 2>/dev/null || echo "regtest directory not found"

Repository: arkade-os/wallet

Length of output: 508


🏁 Script executed:

# Check the CI workflow to see what it actually does
find .github/workflows -name "*.yml" -o -name "*.yaml" | head -5

Repository: arkade-os/wallet

Length of output: 117


🏁 Script executed:

# Check the package.json scripts around lines 50-52
sed -n '48,55p' package.json

Repository: arkade-os/wallet

Length of output: 516


🏁 Script executed:

# Check the CI workflow for submodule handling
cat .github/workflows/playwright.yml | head -50

Repository: arkade-os/wallet

Length of output: 1559


🏁 Script executed:

# Check the main CI workflow
cat .github/workflows/ci.yml | head -50

Repository: arkade-os/wallet

Length of output: 1021


🏁 Script executed:

# Get information about what's in the regtest submodule without cloning
git config --file .gitmodules --get submodule.regtest.url

Repository: arkade-os/wallet

Length of output: 107


🌐 Web query:

arkade-regtest repository github ArkLabsHQ scripts start-env.sh stop-env.sh clean-env.sh

💡 Result:

No public GitHub repository named "arkade-regtest" under ArkLabsHQ or arkade-os was found containing scripts start-env.sh, stop-env.sh, or clean-env.sh. ArkLabsHQ maintains Ark protocol repositories like introspector, fulmine, arkadian (which lists arkade-os repos including arkd, go-sdk), but no regtest-specific repo matches. arkade-os has repos like arkd (protocol server), go-sdk. Older ARK Core (unrelated) has e2e testing with docker scripts, but archived. These env.sh scripts are typical for local dev environments (e.g., Bitcoin regtest), likely private/internal for Ark protocol testing.

Citations:


🏁 Script executed:

# Check if there are any other cleanup steps in the playwright workflow
cat .github/workflows/playwright.yml | tail -20

Repository: arkade-os/wallet

Length of output: 753


🏁 Script executed:

# Check if stop-env.sh is referenced anywhere else in the codebase
rg "stop-env" --type sh --type js --type json

Repository: arkade-os/wallet

Length of output: 166


🏁 Script executed:

# Check if there are any other scripts in the regtest directory pattern
rg "regtest.*\\.sh" package.json

Repository: arkade-os/wallet

Length of output: 349


regtest:stop references a missing script.

The submodule contains start-env.sh and clean-env.sh (both verified in CI), but regtest/stop-env.sh does not exist. This makes pnpm regtest:stop fail immediately. Either add the missing script to the submodule or replace this command with the existing regtest:clean target, which properly tears down both the regtest environment and Docker containers.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 51, The regtest:stop npm script references a
non-existent script regtest/stop-env.sh; update the package.json "regtest:stop"
entry to call the existing teardown script (the regtest:clean target which runs
regtest/clean-env.sh and brings down Docker) or add a new regtest/stop-env.sh
that performs the same teardown; specifically, modify the "regtest:stop" script
string to invoke the working regtest:clean command (or create the missing
regtest/stop-env.sh in the submodule) so pnpm regtest:stop no longer fails due
to a missing file.

"regtest:clean": "./regtest/clean-env.sh && docker compose -f docker-compose.nak.yml down -v",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# Check package.json around line 52
head -60 package.json | tail -15

Repository: arkade-os/wallet

Length of output: 679


🏁 Script executed:

# Check the workflow file referenced in the comment
if [ -f .github/workflows/playwright.yml ]; then
  sed -n '50,65p' .github/workflows/playwright.yml
fi

Repository: arkade-os/wallet

Length of output: 402


🏁 Script executed:

# Also check if clean-env.sh exists and what it does
if [ -f ./regtest/clean-env.sh ]; then
  cat ./regtest/clean-env.sh
fi

Repository: arkade-os/wallet

Length of output: 42


Reorder regtest:clean to ensure Docker teardown runs regardless of clean-env.sh success.

The current script uses && chaining, which skips the Docker teardown entirely if clean-env.sh exits non-zero. This leaves the wallet-specific nak overlay running after a partial failure. The safer pattern—already used in .github/workflows/playwright.yml lines 56-59—is to run the Docker teardown first with best-effort error handling, then run the cleanup script:

-    "regtest:clean": "./regtest/clean-env.sh && docker compose -f docker-compose.nak.yml down -v",
+    "regtest:clean": "docker compose -f docker-compose.nak.yml down -v 2>/dev/null || true; ./regtest/clean-env.sh",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"regtest:clean": "./regtest/clean-env.sh && docker compose -f docker-compose.nak.yml down -v",
"regtest:clean": "docker compose -f docker-compose.nak.yml down -v 2>/dev/null || true; ./regtest/clean-env.sh",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 52, The package.json "regtest:clean" script currently
chains "./regtest/clean-env.sh && docker compose -f docker-compose.nak.yml down
-v" so the Docker teardown is skipped if clean-env.sh fails; change the order to
run the Docker compose teardown first (docker compose -f docker-compose.nak.yml
down -v) with best-effort error handling (so it won't stop on non-zero exit),
then run "./regtest/clean-env.sh" afterward; update the "regtest:clean" npm
script accordingly so the teardown always attempts to run even when clean-env.sh
fails.

"regtest:setup": "node src/test/setup.mjs"
},
"eslintConfig": {
Expand Down
1 change: 1 addition & 0 deletions regtest
Submodule regtest added at 6c5a54
1 change: 1 addition & 0 deletions src/test/e2e/delegate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { test, expect } from '@playwright/test'
import { createWallet, waitForWalletPage } from './utils'

test('should toggle delegates', async ({ page }) => {
test.setTimeout(60000)
// create wallet
await createWallet(page)

Expand Down
2 changes: 1 addition & 1 deletion src/test/e2e/fundedWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const waitForBalance = async (
}

const createNote = async (amount: number): Promise<string> => {
const { stdout } = await execAsync(`docker exec -t arkd arkd note --amount ${amount}`)
const { stdout } = await execAsync(`docker exec -t ark arkd note --amount ${amount}`)
return stdout.trim()
}

Expand Down
1 change: 1 addition & 0 deletions src/test/e2e/nostr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const execAsync = promisify(exec)
// 9. Restore wallet with nsec key
// 10. Verify setting is euro (proving it was restored from nostr)
test('should save config to nostr', async ({ page }) => {
test.setTimeout(60000)
// create wallet
await createWallet(page)

Expand Down
4 changes: 2 additions & 2 deletions src/test/e2e/send.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ test('should send to onchain address with collaborative exit', async ({ page, is
// since 1000 sats is below the minimum for chain swap, wallet will use collaborative exit to send onchain
test('should send MAX to onchain address with collaborative exit', async ({ page }) => {
// set fees
execSync('docker exec -t arkd arkd fees intent --onchain-output "200.0"')
execSync('docker exec -t ark arkd fees intent --onchain-output "200.0"')

// create wallet
await createWallet(page)
Expand Down Expand Up @@ -386,5 +386,5 @@ test('should send MAX to onchain address with collaborative exit', async ({ page
await expect(page.getByText('Sent')).toBeVisible()

// clear fees
execSync('docker exec -t arkd arkd fees clear')
execSync('docker exec -t ark arkd fees clear')
})
4 changes: 2 additions & 2 deletions src/test/e2e/swap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ test('should receive bitcoin funds from swap', async ({ page, isMobile }) => {
test('should send funds to onchain address via swap', async ({ page, isMobile }) => {
test.setTimeout(120000)
// set fees
execSync('docker exec -t arkd arkd fees intent --onchain-output "200.0"')
execSync('docker exec -t ark arkd fees intent --onchain-output "200.0"')

// create wallet
await createWallet(page)
Expand Down Expand Up @@ -202,5 +202,5 @@ test('should send funds to onchain address via swap', async ({ page, isMobile })
await expect(page.getByText('Sent')).toBeVisible()

// clear fees
execSync('docker exec -t arkd arkd fees clear')
execSync('docker exec -t ark arkd fees clear')
})
Loading
Loading