Skip to content

Commit

Permalink
Merge remote-tracking branch 'ledger/develop' into feat/icx-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
hakim-adamik committed Jan 9, 2024
2 parents c993e6a + a4a72da commit 209707d
Show file tree
Hide file tree
Showing 386 changed files with 92,972 additions and 28,944 deletions.
7 changes: 7 additions & 0 deletions .changeset/angry-needles-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ledgerhq/cryptoassets": patch
"@ledgerhq/crypto-icons-ui": patch
"ledger-live-desktop": patch
---

Rename Coreum ticker to COREUM
5 changes: 5 additions & 0 deletions .changeset/big-beds-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/live-network": patch
---

Inject https agent in all platform other than mobile
5 changes: 5 additions & 0 deletions .changeset/bright-insects-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Remove infinite rerender on live apps sign eth tx summary
6 changes: 6 additions & 0 deletions .changeset/brown-seas-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
---

fix account wallet parameter not passed to dapp
5 changes: 5 additions & 0 deletions .changeset/chilled-eels-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Add `useSystem` & `useSettings` hooks
5 changes: 5 additions & 0 deletions .changeset/dry-pugs-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Pixel polish of the "device not onboarded" device action state
5 changes: 5 additions & 0 deletions .changeset/friendly-ravens-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": minor
---

LLD - Carousel visibility toggle removed from the settings and we can now dismiss carousel cards individually
5 changes: 5 additions & 0 deletions .changeset/healthy-windows-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Fixes Android limits of 2MB per sqlite window cursor silently crashing for many users.
5 changes: 5 additions & 0 deletions .changeset/hungry-lizards-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/live-common": patch
---

Log Cardano raw transactions about to be signed
5 changes: 5 additions & 0 deletions .changeset/itchy-oranges-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": minor
---

Unresponsive button in Receive token flow
6 changes: 6 additions & 0 deletions .changeset/khaki-schools-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"live-mobile": patch
"@ledgerhq/live-common": patch
---

Fix the disconnected device drawer behavior when a device is disconnected during action
7 changes: 7 additions & 0 deletions .changeset/little-ducks-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
"@ledgerhq/live-common": patch
---

fix(LIVE-10552): change quote refresh rate to 20 seconds
8 changes: 8 additions & 0 deletions .changeset/mean-insects-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@ledgerhq/types-live": minor
"ledger-live-desktop": minor
"live-mobile": minor
"@ledgerhq/live-common": minor
---

Add support for Tron Stake 2.0
5 changes: 5 additions & 0 deletions .changeset/nice-bobcats-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/hw-app-btc": minor
---

make Qtum work with old and new nano app interfaces
5 changes: 5 additions & 0 deletions .changeset/perfect-weeks-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/coin-evm": patch
---

remove unreachable statement
5 changes: 5 additions & 0 deletions .changeset/red-sloths-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/coin-evm": minor
---

Add support for internal transactions in transactions' history
6 changes: 6 additions & 0 deletions .changeset/sharp-buttons-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"@ledgerhq/live-common": patch
---

Replace hardcoded countervalues URL with env var
5 changes: 5 additions & 0 deletions .changeset/shiny-vans-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Fix renaming device flow design
5 changes: 5 additions & 0 deletions .changeset/smart-snails-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/live-common": patch
---

[Near] Cache getValidator and getComission
7 changes: 7 additions & 0 deletions .changeset/ten-olives-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"ledger-live-desktop": patch
---

Fix "locked device" device action state rendering
Rework `ErrorBody` component used by device actions so that it works everywhere even in v2 style provider
Use `ErrorBody` for "device not onboarded" device action state
6 changes: 6 additions & 0 deletions .changeset/ten-pianos-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"@ledgerhq/live-common": patch
---

Fix exchange funds
5 changes: 5 additions & 0 deletions .changeset/three-candles-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

add icon usb on connect device recover restore flow
5 changes: 5 additions & 0 deletions .changeset/tiny-hotels-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Add loading spinner to accounts page when url contains account address param to avoid janky redirection via accounts list.
6 changes: 6 additions & 0 deletions .changeset/tricky-needles-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"@ledgerhq/live-common": patch
---

Safer Solana staking
55 changes: 0 additions & 55 deletions .github/workflows/cal-importer-stg.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/cal-importer.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/healthchecks-runners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: pnpm/action-setup@v2
if: always()
with:
version: 8.12.1
version: 8.13.1
dest: ${{ runner.temp }}/setup-pnpm
- uses: actions/setup-node@v3
if: always()
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- uses: pnpm/action-setup@v2
if: always()
with:
version: 8.12.1
version: 8.13.1
dest: ${{ runner.temp }}/setup-pnpm
- uses: actions/setup-node@v3
if: always()
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
- uses: pnpm/action-setup@v2
if: always()
with:
version: 8.12.1
version: 8.13.1
dest: ${{ runner.temp }}/setup-pnpm
- uses: actions/setup-node@v3
if: always()
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-desktop-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ jobs:
with:
skip_builds: true
- name: lint
run: |
pnpm lint --filter="ledger-live-desktop" -- --format="json" -o="lint.json"
node -p "require('./node_modules/eslint/lib/cli-engine/formatters/stylish.js')(require('./apps/ledger-live-desktop/lint.json'))"
run: pnpm desktop lint:ci
- name: prettier
run: pnpm desktop prettier:check
- name: typecheck
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ jobs:
skip_builds: true
turborepo-server-port: ${{ steps.toolchain.outputs.port }}
- name: lint
run: |
pnpm lint --filter="ledger-live-desktop" --api="http://127.0.0.1:${{ steps.toolchain.outputs.port }}" --token="${{ secrets.TURBOREPO_SERVER_TOKEN }}" --team="foo" -- --format="json" -o="lint.json"
node -p "require('./node_modules/eslint/lib/cli-engine/formatters/stylish.js')(require('./apps/ledger-live-desktop/lint.json'))"
run: pnpm desktop lint:ci -p ${{ steps.toolchain.outputs.port }} -t "${{ secrets.TURBOREPO_SERVER_TOKEN }}"
- name: prettier
run: pnpm desktop prettier:check
- name: typecheck
Expand Down
18 changes: 5 additions & 13 deletions .github/workflows/test-mobile-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,15 @@ jobs:
echo "id=$ID" >> $GITHUB_OUTPUT
- name: Build iOS app for Detox test run
if: steps.detox-build.outputs.cache-hit != 'true'
run: |
pnpm mobile e2e:build -c ios.sim.release
run: pnpm mobile e2e:ci -p ios -b

- name: Build JS Bundle app for Detox test run
if: steps.detox-build.outputs.cache-hit == 'true'
run: |
pnpm mobile bundle:ios --dev false --minify false
pnpm mobile exec detox clean-framework-cache
pnpm mobile exec detox build-framework-cache
cd apps/ledger-live-mobile
cp main.jsbundle ios/build/Build/Products/Release-iphonesimulator/ledgerlivemobile.app/main.jsbundle
mv main.jsbundle ios/build/Build/Products/Release-iphonesimulator/main.jsbundle
run: pnpm mobile e2e:ci -p ios --bundle
- name: Test iOS app
id: detox
timeout-minutes: 45
run: |
pnpm mobile e2e:test -c ios.sim.release --loglevel error --record-logs all --take-screenshots all --headless --retries 1 --cleanup --record-performance all
run: pnpm mobile e2e:ci -p ios -t
- name: Delete iOS simulator
if: always()
run: |
Expand Down Expand Up @@ -207,7 +199,7 @@ jobs:
shell: bash
- name: Build Android app for Detox test run
run: |
pnpm mobile e2e:build -c android.emu.release
pnpm mobile e2e:ci -p android -b
- name: cache android emulator
uses: tespkg/actions-cache@v1
id: detox-avd
Expand Down Expand Up @@ -258,7 +250,7 @@ jobs:
ram-size: 8192M
disable-linux-hw-accel: false
emulator-options: -read-only -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
script: pnpm mobile e2e:test -c android.emu.release --loglevel error --record-logs all --take-screenshots all --forceExit --headless --retries 1 --cleanup
script: pnpm mobile e2e:ci -p android -t
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v3
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ jobs:
- name: Install dependencies
run: pnpm i --filter="live-mobile..." --filter="ledger-live" --no-frozen-lockfile --unsafe-perm
- name: Run linter
run: |
pnpm lint --filter="live-mobile" --api="http://127.0.0.1:${{ steps.toolchain.outputs.port }}" --token="${{ secrets.TURBOREPO_SERVER_TOKEN }}" --team="foo" -- --format="json" -o="lint.json"
node -p "require('./node_modules/eslint/lib/cli-engine/formatters/stylish.js')(require('./apps/ledger-live-mobile/lint.json'))"
run: pnpm lint --filter="live-mobile" --api="http://127.0.0.1:${{ steps.toolchain.outputs.port }}" --token="${{ secrets.TURBOREPO_SERVER_TOKEN }}" --team="foo" -- --format="json" -o="lint.json"
- name: check for dead code
run: pnpm mobile unimported
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node = "18.19.0"
npm = "10.2.4"
pnpm = "8.12.1"
node = "20.10.0"
npm = "10.2.5"
pnpm = "8.13.1"
Loading

1 comment on commit 209707d

@github-actions
Copy link

Choose a reason for hiding this comment

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

[Bot] Testing with 'Nitrogen' 💰 1 miss funds ($0.00) ⏲ 12.4s

💰 1 specs may miss funds: Icon

What is the bot and how does it work? Everything is documented here!

⚠️ 1 spec hints
  • Spec Icon:
    • There are not enough accounts (1) to cover all mutations (2).
      Please increase the account target to at least 3 accounts
Details of the 0 mutations

Spec Icon (failed)

Spec Icon found 1 ICON accounts. Will use ICON 1.0.8 on nanoSP 1.1.1
ICON 1 cross: 0 ICX (0ops) (hxdd614da5f057ce32185619f98edd81445a946ea5 on 44'/4801368'/0'/0'/0') icon#0 js:2:icon:hxdd614da5f057ce32185619f98edd81445a946ea5:icon

This SEED does not have ICON. Please send funds to hxdd614da5f057ce32185619f98edd81445a946ea5

Details of the 2 uncovered mutations

Spec Icon (2)

  • send 50%~:
  • send max:
Portfolio ($0.00) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
Icon (1) 0 ops , 0 ICX ($0.00) hxdd614da5f057ce32185619f98edd81445a946ea5
ICON 1 cross: 0 ICX (0ops) (hxdd614da5f057ce32185619f98edd81445a946ea5 on 44'/4801368'/0'/0'/0') icon#0 js:2:icon:hxdd614da5f057ce32185619f98edd81445a946ea5:icon
Performance ⏲ 12.4s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 3.24ms 4.3s N/A N/A N/A N/A N/A N/A
Icon (0) 3.24ms 4.3s N/A N/A N/A N/A N/A N/A

What is the bot and how does it work? Everything is documented here!

Please sign in to comment.