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

Update Ethereum related libraries #1780

Merged
merged 2 commits into from
Mar 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
78 changes: 78 additions & 0 deletions .github/workflows/ethereum-carbone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Bot 'Ethereum on Carbone'
on:
push:
branches:
- family/ethereum

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@v2
- 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:
SEED: ${{ secrets.SEED2 }}
VERBOSE_FILE: bot-tests.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: ci-eth-ll
BOT_FILTER_FAMILY: ethereum
run: 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: bot-tests.txt
path: bot-tests.txt
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@
"@celo/wallet-base": "^1.5.1",
"@celo/wallet-ledger": "^1.5.1",
"@crypto-com/chain-jslib": "0.0.19",
"@ethereumjs/common": "^2.6.0",
"@ethereumjs/tx": "^3.4.0",
"@ethereumjs/common": "^2.6.2",
"@ethereumjs/tx": "^3.5.0",
"@ledgerhq/compressjs": "1.3.2",
"@ledgerhq/cryptoassets": "6.25.0",
"@ledgerhq/cryptoassets": "6.26.0",
"@ledgerhq/devices": "6.24.1",
"@ledgerhq/errors": "6.10.0",
"@ledgerhq/hw-app-algorand": "6.24.1",
"@ledgerhq/hw-app-btc": "6.24.1",
"@ledgerhq/hw-app-cosmos": "6.24.1",
"@ledgerhq/hw-app-eth": "6.25.0",
"@ledgerhq/hw-app-eth": "6.26.0",
"@ledgerhq/hw-app-polkadot": "6.24.1",
"@ledgerhq/hw-app-solana": "^6.24.1",
"@ledgerhq/hw-app-solana": "^6.26.0",
"@ledgerhq/hw-app-str": "6.24.1",
"@ledgerhq/hw-app-tezos": "6.24.1",
"@ledgerhq/hw-app-trx": "6.24.1",
Expand All @@ -76,12 +76,12 @@
"@taquito/taquito": "stablelib",
"@types/bchaddrjs": "^0.4.0",
"@types/bs58check": "^2.1.0",
"@walletconnect/client": "1.7.1",
"@walletconnect/client": "1.7.3",
"@xstate/react": "^1.6.3",
"@zondax/ledger-filecoin": "^0.11.2",
"algosdk": "1.13.0",
"async": "^3.2.3",
"axios": "0.24.0",
"axios": "0.26.0",
"axios-retry": "^3.2.4",
"base32-decode": "^1.0.0",
"bchaddrjs": "^0.5.2",
Expand All @@ -102,7 +102,7 @@
"eip55": "^2.1.0",
"eth-sig-util": "3.0.1",
"ethereumjs-abi": "^0.6.8",
"ethereumjs-util": "^7.1.3",
"ethereumjs-util": "^7.1.4",
"expect": "^27.4.6",
"generic-pool": "^3.8.2",
"invariant": "^2.2.2",
Expand Down
Loading