This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into bugfix/bitcoin-js-LL-2160
- Loading branch information
Showing
18 changed files
with
825 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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== | ||
|
@@ -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" | ||
|
@@ -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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ef2d791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
18 critical spec errors
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 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)
Spec Bitcoin Testnet (4)
Spec Bitcoin Cash (4)
Spec Bitcoin Gold (4)
Spec Dash (4)
Spec Digibyte (4)
Spec DogeCoin (4)
Spec Komodo (4)
Spec Litecoin (4)
Spec Peercoin (4)
Spec PivX (4)
Spec Qtum (4)
Spec Stakenet (4)
Spec Vertcoin (4)
Spec Viacoin (4)
Spec ZCash (4)
Spec Horizen (4)
Spec Decred (4)
Portfolio ($0.00)
Details of the 18 currencies