Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop' into bugfix/bitcoin-js-LL-2160
Browse files Browse the repository at this point in the history
  • Loading branch information
hzheng-ledger committed May 5, 2022
2 parents 68352cb + 49e8169 commit ef2d791
Show file tree
Hide file tree
Showing 18 changed files with 825 additions and 537 deletions.
90 changes: 90 additions & 0 deletions .github/workflows/bot-staging-explorer-btc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Bot Staging Explorer 'Bitcoin'
on:
schedule:
- cron: 0 8,12,16 * * 1-5

workflow_dispatch:
inputs:
ref:
description: "Which ref (branch or tag) to pull from ?"
required: false
default: master

jobs:
start-runner:
name: "start ec2 instance (Linux)"
if: ${{ always() }}
uses: ledgerhq/actions/.github/workflows/start-linux-runner.yml@main
secrets:
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

stop-runner:
name: "stop ec2 instance (Linux)"
needs: [start-runner, run-bot]
uses: ledgerhq/actions/.github/workflows/stop-linux-runner.yml@main
if: ${{ always() }}
with:
label: ${{ needs.start-runner.outputs.label }}
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
secrets:
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

run-bot:
needs: [start-runner]
runs-on: ${{ needs.start-runner.outputs.label }}
steps:
- name: prepare runner
run: |
sudo growpart /dev/nvme0n1 1
sudo resize2fs /dev/nvme0n1p1
- uses: actions/checkout@v3
with:
ref: ${{github.event.inputs.ref}}
- name: Retrieving coin apps
uses: actions/checkout@v2
with:
repository: LedgerHQ/coin-apps
token: ${{ secrets.PAT }}
path: coin-apps
- uses: actions/setup-node@master
with:
node-version: 14.x
- name: install yarn
run: npm i -g yarn
- name: pull docker image
run: docker pull ghcr.io/ledgerhq/speculos
- name: kill apt-get
run: sudo killall -w apt-get apt || echo OK
- name: Install linux deps
run: sudo apt-get install -y libusb-1.0-0-dev jq
- name: Install dependencies
run: |
yarn global add yalc
yarn --frozen-lockfile
yarn ci-setup-cli
- name: BOT
env:
SHOW_LEGACY_NEW_ACCOUNT: "1"
DEBUG_HTTP_RESPONSE: "1"
SEED: ${{ secrets.SEED4 }}
BOT_REPORT_FOLDER: botreport
VERBOSE_FILE: botreport/logs.txt
GITHUB_SHA: ${GITHUB_SHA}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_RUN_ID: ${{ github.run_id }}
GITHUB_WORKFLOW: ${{ github.workflow }}
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
SLACK_CHANNEL: explorer-bot-stg
BOT_FILTER_FAMILY: bitcoin
EXPLORER: https://explorers.api-01.live.ledger-stg.com
run: mkdir botreport; COINAPPS=$PWD/coin-apps yarn ci-test-bot
timeout-minutes: 120
- name: Run coverage
if: failure() || success()
run: CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} npx codecov
- name: upload logs
if: failure() || success()
uses: actions/upload-artifact@v1
with:
name: botreport
path: botreport/
90 changes: 90 additions & 0 deletions .github/workflows/bot-staging-explorer-eth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Bot Staging Explorer 'Ethereum'
on:
schedule:
- cron: 0 8,12,16 * * 1-5

workflow_dispatch:
inputs:
ref:
description: "Which ref (branch or tag) to pull from ?"
required: false
default: master

jobs:
start-runner:
name: "start ec2 instance (Linux)"
if: ${{ always() }}
uses: ledgerhq/actions/.github/workflows/start-linux-runner.yml@main
secrets:
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

stop-runner:
name: "stop ec2 instance (Linux)"
needs: [start-runner, run-bot]
uses: ledgerhq/actions/.github/workflows/stop-linux-runner.yml@main
if: ${{ always() }}
with:
label: ${{ needs.start-runner.outputs.label }}
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
secrets:
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

run-bot:
needs: [start-runner]
runs-on: ${{ needs.start-runner.outputs.label }}
steps:
- name: prepare runner
run: |
sudo growpart /dev/nvme0n1 1
sudo resize2fs /dev/nvme0n1p1
- uses: actions/checkout@v3
with:
ref: ${{github.event.inputs.ref}}
- name: Retrieving coin apps
uses: actions/checkout@v2
with:
repository: LedgerHQ/coin-apps
token: ${{ secrets.PAT }}
path: coin-apps
- uses: actions/setup-node@master
with:
node-version: 14.x
- name: install yarn
run: npm i -g yarn
- name: pull docker image
run: docker pull ghcr.io/ledgerhq/speculos
- name: kill apt-get
run: sudo killall -w apt-get apt || echo OK
- name: Install linux deps
run: sudo apt-get install -y libusb-1.0-0-dev jq
- name: Install dependencies
run: |
yarn global add yalc
yarn --frozen-lockfile
yarn ci-setup-cli
- name: BOT
env:
SHOW_LEGACY_NEW_ACCOUNT: "1"
DEBUG_HTTP_RESPONSE: "1"
SEED: ${{ secrets.SEED2 }}
BOT_REPORT_FOLDER: botreport
VERBOSE_FILE: botreport/logs.txt
GITHUB_SHA: ${GITHUB_SHA}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_RUN_ID: ${{ github.run_id }}
GITHUB_WORKFLOW: ${{ github.workflow }}
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
SLACK_CHANNEL: explorer-bot-stg
BOT_FILTER_FAMILY: ethereum
EXPLORER: https://explorers.api-01.live.ledger-stg.com
run: mkdir botreport; COINAPPS=$PWD/coin-apps yarn ci-test-bot
timeout-minutes: 120
- name: Run coverage
if: failure() || success()
run: CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} npx codecov
- name: upload logs
if: failure() || success()
uses: actions/upload-artifact@v1
with:
name: botreport
path: botreport/
30 changes: 2 additions & 28 deletions cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -329,19 +329,6 @@
axios "^0.21.1"
fast-deep-equal "^3.1.3"

"@cosmjs/ledger-amino@^0.26.5":
version "0.26.6"
resolved "https://registry.yarnpkg.com/@cosmjs/ledger-amino/-/ledger-amino-0.26.6.tgz#4fd342229f3de3059e193f8db3f88877074aabe0"
integrity sha512-L5KDfEq7EswV4ku2SbWlozfKVv9WJWtap4/7SMXKH0XrYWOIz0AYeBfM0OGtJQjuHAiD/1QJ8pam/kjUL3+quQ==
dependencies:
"@cosmjs/amino" "0.26.6"
"@cosmjs/crypto" "0.26.6"
"@cosmjs/encoding" "0.26.6"
"@cosmjs/math" "0.26.6"
"@cosmjs/utils" "0.26.6"
ledger-cosmos-js "^2.1.8"
semver "^7.3.2"

"@cosmjs/[email protected]":
version "0.23.1"
resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.23.1.tgz#706f38742a9a1f6561cf2c4510f8e5ab001fc5e6"
Expand Down Expand Up @@ -1062,7 +1049,7 @@
"@ledgerhq/errors" "^6.10.0"
events "^3.3.0"

"@ledgerhq/hw-transport@^5.11.0", "@ledgerhq/hw-transport@^5.19.1", "@ledgerhq/hw-transport@^5.25.0", "@ledgerhq/hw-transport@^5.51.1":
"@ledgerhq/hw-transport@^5.11.0", "@ledgerhq/hw-transport@^5.19.1", "@ledgerhq/hw-transport@^5.51.1":
version "5.51.1"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-5.51.1.tgz#8dd14a8e58cbee4df0c29eaeef983a79f5f22578"
integrity sha512-6wDYdbWrw9VwHIcoDnqWBaDFyviyjZWv6H9vz9Vyhe4Qd7TIFmbTl/eWs6hZvtZBza9K8y7zD8ChHwRI4s9tSw==
Expand Down Expand Up @@ -1095,16 +1082,13 @@
bignumber.js "^9.0.1"
json-rpc-2.0 "^0.2.16"

"@ledgerhq/live-common@22.0.0":
"@ledgerhq/live-common@file:.yalc/@ledgerhq/live-common":
version "22.0.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/live-common/-/live-common-22.0.0.tgz#2717701fc8ba63b4befdd3cb1400527c2922335f"
integrity sha512-BUMgPMWmavlFip0LwMVzr+TABG1o77nLZepGSmxZWIcyLUvsmRRDtCEasVJCW60g0Cd0BhvbtUOo8l0NdDZ+/A==
dependencies:
"@celo/contractkit" "^1.5.2"
"@celo/wallet-base" "^1.5.2"
"@celo/wallet-ledger" "^1.5.2"
"@cosmjs/crypto" "^0.26.5"
"@cosmjs/ledger-amino" "^0.26.5"
"@cosmjs/proto-signing" "^0.26.5"
"@cosmjs/stargate" "^0.26.5"
"@crypto-com/chain-jslib" "0.0.19"
Expand Down Expand Up @@ -4855,16 +4839,6 @@ leb128@^0.0.5:
bn.js "^5.0.0"
buffer-pipe "0.0.3"

ledger-cosmos-js@^2.1.8:
version "2.1.8"
resolved "https://registry.yarnpkg.com/ledger-cosmos-js/-/ledger-cosmos-js-2.1.8.tgz#b409ecd1e77f630e6fb212a9f602fe5c6e8f054b"
integrity sha512-Gl7SWMq+3R9OTkF1hLlg5+1geGOmcHX9OdS+INDsGNxSiKRWlsWCvQipGoDnRIQ6CPo2i/Ze58Dw0Mt/l3UYyA==
dependencies:
"@babel/runtime" "^7.11.2"
"@ledgerhq/hw-transport" "^5.25.0"
bech32 "^1.1.4"
ripemd160 "^2.0.2"

libsodium-wrappers@^0.7.6:
version "0.7.9"
resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.9.tgz#4ffc2b69b8f7c7c7c5594a93a4803f80f6d0f346"
Expand Down
8 changes: 4 additions & 4 deletions dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ yarn upgrade-interactive -i --latest
|@celo/contractkit | Celo coin integration | monthly |
|@celo/wallet-base | Celo coin integration | monthly |
|@celo/wallet-ledger | Celo coin integration | monthly |
|@cosmjs/amino | Cosmos coin integration | monthly |
|@cosmjs/crypto | Cosmos coin integration | monthly |
|@cosmjs/ledger-amino | Cosmos coin integration | monthly |
|@cosmjs/proto-signing | Cosmos coin integration | monthly |
|@cosmjs/stargate | Cosmos coin integration | monthly |
|@crypto-com/chain-jslib | Crypto.com coin integration | monthly |
Expand All @@ -37,12 +37,12 @@ yarn upgrade-interactive -i --latest
|@ledgerhq/hw-app-xrp | XRP coin integration | weekly |
|@ledgerhq/hw-transport | device communication | weekly |
|@ledgerhq/hw-transport-mocker| used by tests | weekly |
|@ledgerhq/hw-transport-node-speculos| used by bot tests | weekly |
|@ledgerhq/hw-transport-node-speculos| used by bot tests | weekly |
|@ledgerhq/json-bignumber| workaround for Ledger explorers who don't give String in some API | stable |
|@ledgerhq/live-app-sdk | utils for live apps feature | ??? |
|@ledgerhq/logs | logs | weekly |
|@polkadot/types | Polkadot coin integration | **BLOCKED BY LLM (ticket missing)** |
|@polkadot/types-known | Polkadot coin integration | **BLOCKED BY LLM (ticket missing)** |
|@polkadot/types | Polkadot coin integration | monthly |
|@polkadot/types-known | Polkadot coin integration | monthly |
|@solana/spl-token | Solana coin integration | monthly |
|@solana/web3.js | Solana coin integration | monthly |
|@taquito/ledger-signer | Tezos coin integration | **BLOCKED BY LLM (ticket missing)** |
Expand Down
65 changes: 30 additions & 35 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,43 +25,38 @@ export default {
"test-helpers/",
],
moduleNameMapper: {
"^@polkadot/metadata/(.*)/(.*)": "@polkadot/metadata/$1/$2.cjs",
"^@polkadot/metadata/decorate$": "@polkadot/metadata/decorate/index.cjs",
"^@polkadot/metadata/(.*)": "@polkadot/metadata/$1.cjs",
"^@polkadot/metadata$": "@polkadot/metadata/index.cjs",
"^@polkadot/networks/(.*).cjs$": "@polkadot/networks/$1.cjs",
"^@polkadot/networks/(.*)": "@polkadot/networks/$1.cjs",
"^@polkadot/networks$": "@polkadot/networks/index.cjs",
"^@polkadot/types/codec$": "@polkadot/types/codec/index.cjs",
"^@polkadot/types/primitive$": "@polkadot/types/primitive/index.cjs",
"^@polkadot/types/augment$": "@polkadot/types/augment/index.cjs",
"^@polkadot/types/metadata$": "@polkadot/types/metadata/index.cjs",
"^@polkadot/networks/(.*)": "@polkadot/networks/$1.js",
"^@polkadot/networks$": "@polkadot/networks/cjs/index.js",
"^@polkadot/types/codec$": "@polkadot/types/cjs/codec/index.js",
"^@polkadot/types/primitive$": "@polkadot/types/cjs/primitive/index.js",
"^@polkadot/types/augment$": "@polkadot/types/cjs/augment/index.js",
"^@polkadot/types/metadata$": "@polkadot/types/cjs/metadata/index.js",
"^@polkadot/types/metadata/decorate$":
"@polkadot/types/metadata/decorate/index.cjs",
"^@polkadot/types/types$": "@polkadot/types/types/index.cjs",
"^@polkadot/types/(.*)/(.*)": "@polkadot/types/$1/$2.cjs",
"^@polkadot/types/(.*).cjs$": "@polkadot/types/$1.cjs",
"@polkadot/types/cjs/metadata/decorate/index.js",
"^@polkadot/types/types$": "@polkadot/types/cjs/types/index.js",
"^@polkadot/types/(.*)/(.*)": "@polkadot/types/$1/$2.js",
"^@polkadot/types/(.*).js$": "@polkadot/types/$1.js",
"^@polkadot/types/(.*)": "@polkadot/types/$1.cjs",
"^@polkadot/types$": "@polkadot/types/index.cjs",
"^@polkadot/types-known/(.*)": "@polkadot/types-known/$1.cjs",
"^@polkadot/types-known$": "@polkadot/types-known/index.cjs",
"^@polkadot/util/(.*).cjs$": "@polkadot/util/$1.cjs",
"^@polkadot/util$": "@polkadot/util/index.cjs",
"^@polkadot/util-crypto$": "@polkadot/util-crypto/index.cjs",
"^@polkadot/wasm-crypto$": "@polkadot/wasm-crypto/index.cjs",
"^@polkadot/wasm-crypto-asmjs/(.*)": "@polkadot/wasm-crypto-asmjs/$1.cjs",
"^@polkadot/wasm-crypto-asmjs$": "@polkadot/wasm-crypto-asmjs/empty.cjs",
"^@polkadot/wasm-crypto-wasm/(.*)": "@polkadot/wasm-crypto-wasm/$1.cjs",
"^@polkadot/wasm-crypto-wasm$": "@polkadot/wasm-crypto-wasm/data.cjs",
"^@polkadot/x-global$": "@polkadot/x-global/index.cjs",
"^@polkadot/x-randomvalues$": "@polkadot/x-randomvalues/node.cjs",
"^@polkadot/x-textdecoder$": "@polkadot/x-textdecoder/node.cjs",
"^@polkadot/x-textencoder$": "@polkadot/x-textencoder/node.cjs",
"^@polkadot/x-bigint/(.*)": "@polkadot/x-bigint/$1.cjs",
"^@polkadot/x-bigint$": "@polkadot/x-bigint/index.cjs",
"^@polkadot/x-noble-secp256k1$": "@polkadot/x-noble-secp256k1/index.cjs",
"^@polkadot/x-noble-hashes/(.*)": "@polkadot/x-noble-hashes/$1.cjs",
"^@polkadot/x-noble-hashes$": "@polkadot/x-noble-hashes/index.cjs",
"^@polkadot/types$": "@polkadot/types/cjs/index.js",
"^@polkadot/types-known/(.*)": "@polkadot/types-known/$1.js",
"^@polkadot/types-known$": "@polkadot/types-known/cjs/index.js",
"^@polkadot/util/(.*).js$": "@polkadot/util/$1.js",
"^@polkadot/util$": "@polkadot/util/cjs/index.js",
"^@polkadot/util-crypto$": "@polkadot/util-crypto/cjs/index.js",
"^@polkadot/wasm-crypto$": "@polkadot/wasm-crypto/cjs/index.js",
"^@polkadot/wasm-crypto-asmjs/(.*)": "@polkadot/wasm-crypto-asmjs/$1.js",
"^@polkadot/wasm-crypto-asmjs$": "@polkadot/wasm-crypto-asmjs/cjs/index.js",
"^@polkadot/wasm-crypto-wasm/(.*)": "@polkadot/wasm-crypto-wasm/$1.js",
"^@polkadot/wasm-crypto-wasm$": "@polkadot/wasm-crypto-wasm/cjs/index.js",
"^@polkadot/x-global$": "@polkadot/x-global/cjs/index.js",
"^@polkadot/x-randomvalues$": "@polkadot/x-randomvalues/cjs/node.js",
"^@polkadot/x-textdecoder$": "@polkadot/x-textdecoder/cjs/node.js",
"^@polkadot/x-textencoder$": "@polkadot/x-textencoder/cjs/node.js",
"^@polkadot/x-bigint/(.*)": "@polkadot/x-bigint/$1.js",
"^@polkadot/x-bigint$": "@polkadot/x-bigint/cjs/index.js",
"^@polkadot/x-noble-secp256k1$": "@polkadot/x-noble-secp256k1/cjs/index.js",
"^@polkadot/x-noble-hashes/(.*)": "@polkadot/x-noble-hashes/$1.js",
"^@polkadot/x-noble-hashes$": "@polkadot/x-noble-hashes/cjs/index.js",
},
transformIgnorePatterns: [
"/node_modules/(?!@polkadot|@babel/runtime/helpers/esm/)",
Expand Down
Loading

1 comment on commit ef2d791

@github-actions
Copy link

Choose a reason for hiding this comment

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

⚠️ 18 specs ($0.00) for Bot 'Bitcoin via Mooncake'

⚠️ 72 mutations uncovered

18 critical spec errors

Spec Bitcoin failed!

Error: speculos process failure.     raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Bitcoin Testnet failed!

Error: speculos process failure. FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Bitcoin Cash failed!

Error: speculos process failure. FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Bitcoin Gold failed!

Error: speculos process failure.     raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Dash failed!

Error: speculos process failure. FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Digibyte failed!

Error: speculos process failure. Traceback (most recent call last):
  File "/speculos/./speculos.py", line 7, in <module>
    main()
  File "/speculos/speculos/main.py", line 305, in main
    vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec DogeCoin failed!

Error: speculos process failure. FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Komodo failed!

Error: speculos process failure.     raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Litecoin failed!

Error: speculos process failure. 09:12:41.504:speculos: --button-port is deprecated, please use the REST API instead
Traceback (most recent call last):
  File "/speculos/./speculos.py", line 7, in <module>
    main()
  File "/speculos/speculos/main.py", line 305, in main
    vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Peercoin failed!

Error: speculos process failure. 09:12:43.102:speculos: --button-port is deprecated, please use the REST API instead
Traceback (most recent call last):
  File "/speculos/./speculos.py", line 7, in <module>
    main()
  File "/speculos/speculos/main.py", line 305, in main
    vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec PivX failed!

Error: speculos process failure. Traceback (most recent call last):
  File "/speculos/./speculos.py", line 7, in <module>
    main()
  File "/speculos/speculos/main.py", line 305, in main
    vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Qtum failed!

Error: speculos process failure. 09:12:45.062:speculos: --button-port is deprecated, please use the REST API instead
Traceback (most recent call last):
  File "/speculos/./speculos.py", line 7, in <module>
    main()
  File "/speculos/speculos/main.py", line 305, in main
    vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Stakenet failed!

Error: speculos process failure.   File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Vertcoin failed!

Error: speculos process failure.   File "/speculos/./speculos.py", line 7, in <module>
    main()
  File "/speculos/speculos/main.py", line 305, in main
    vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Viacoin failed!

Error: speculos process failure.     vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec ZCash failed!

Error: speculos process failure.     vnc = VNC(args.vnc_port, screen_size, args.vnc_password)
  File "/speculos/speculos/mcu/vnc.py", line 37, in __init__
    self.p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Horizen failed!

Error: speculos process failure. FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Spec Decred failed!

Error: speculos process failure.     self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/speculos/speculos/mcu/../resources/vnc_server'

Details of the 0 mutations

Spec Bitcoin (failed)


Spec Bitcoin Testnet (failed)


Spec Bitcoin Cash (failed)


Spec Bitcoin Gold (failed)


Spec Dash (failed)


Spec Digibyte (failed)


Spec DogeCoin (failed)


Spec Komodo (failed)


Spec Litecoin (failed)


Spec Peercoin (failed)


Spec PivX (failed)


Spec Qtum (failed)


Spec Stakenet (failed)


Spec Vertcoin (failed)


Spec Viacoin (failed)


Spec ZCash (failed)


Spec Horizen (failed)


Spec Decred (failed)


Details of the 72 uncovered mutations

Spec Bitcoin (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Bitcoin Testnet (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Bitcoin Cash (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Bitcoin Gold (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Dash (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Digibyte (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec DogeCoin (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Komodo (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Litecoin (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Peercoin (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec PivX (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Qtum (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Stakenet (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Vertcoin (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Viacoin (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec ZCash (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Horizen (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Spec Decred (4)

  • move ~50%:
  • optimize-size:
  • send 1 utxo:
  • send max:

Portfolio ($0.00)

Details of the 18 currencies
Spec (accounts) Operations Balance funds?
Bitcoin (0) 0 🤷‍♂️ ???
Bitcoin Testnet (0) 0 🤷‍♂️ ???
Bitcoin Cash (0) 0 🤷‍♂️ ???
Bitcoin Gold (0) 0 🤷‍♂️ ???
Dash (0) 0 🤷‍♂️ ???
Digibyte (0) 0 🤷‍♂️ ???
DogeCoin (0) 0 🤷‍♂️ ???
Komodo (0) 0 🤷‍♂️ ???
Litecoin (0) 0 🤷‍♂️ ???
Peercoin (0) 0 🤷‍♂️ ???
PivX (0) 0 🤷‍♂️ ???
Qtum (0) 0 🤷‍♂️ ???
Stakenet (0) 0 🤷‍♂️ ???
Vertcoin (0) 0 🤷‍♂️ ???
Viacoin (0) 0 🤷‍♂️ ???
ZCash (0) 0 🤷‍♂️ ???
Horizen (0) 0 🤷‍♂️ ???
Decred (0) 0 🤷‍♂️ ???

Please sign in to comment.