Skip to content

fix: toBignumber conversion error with high balance #36357

fix: toBignumber conversion error with high balance

fix: toBignumber conversion error with high balance #36357

Triggered via pull request October 24, 2024 17:12
Status Failure
Total duration 8m 36s
Artifacts 9

ci.yml

on: pull_request
Matrix: unit-tests
js-bundle-size-check
6m 54s
js-bundle-size-check
Matrix: scripts
merge-unit-tests
0s
merge-unit-tests
ship-js-bundle-size-check
0s
ship-js-bundle-size-check
sonar-cloud
0s
sonar-cloud
sonar-cloud-quality-gate-status
0s
sonar-cloud-quality-gate-status
All jobs pass
0s
All jobs pass
Check all jobs pass
0s
Check all jobs pass
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 23 warnings
scripts (lint): app/components/UI/Stake/hooks/useBalance.ts#L54
The 'assets' conditional could make the dependencies of useMemo Hook (at line 58) change on every render. To fix this, wrap the initialization of 'assets' in its own useMemo() Hook
scripts (lint): app/components/UI/Stake/hooks/useBalance.ts#L54
The 'assets' conditional could make the dependencies of useMemo Hook (at line 63) change on every render. To fix this, wrap the initialization of 'assets' in its own useMemo() Hook
scripts (lint)
Process completed with exit code 1.
unit-tests (7)
Process completed with exit code 1.
unit-tests (3)
The job was canceled because "_7" failed.
unit-tests (3)
The operation was canceled.
Check all jobs pass
Process completed with exit code 1.
scripts (test:tgz-check)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scripts (audit:ci)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dedupe
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scripts (test:depcheck)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scripts (lint:tsc)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scripts (lint)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scripts (lint): app/components/UI/Stake/hooks/useBalance.ts#L55
Trailing spaces not allowed
scripts (lint): app/components/Views/confirmations/components/UI/BottomModal/BottomModal.tsx#L7
'#414141' Hex color values are not allowed. Consider using design tokens instead. For support reach out to the design system team #metamask-design-system on Slack
scripts (lint): e2e/specs/ramps/offramp.spec.js#L35
Missing semicolon
scripts (lint): e2e/specs/ramps/offramp.spec.js#L70
Trailing spaces not allowed
unit-tests (6)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (9)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (5)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (8)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-tests (7)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
js-bundle-size-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-diff
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage-1", "coverage-10", "coverage-2", "coverage-4", "coverage-5", "coverage-6", "coverage-8", "coverage-9". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
coverage-1
7.54 MB
coverage-10
7.54 MB
coverage-2
7.46 MB
coverage-4
7.54 MB
coverage-5
7.58 MB
coverage-6
7.56 MB
coverage-8
7.49 MB
coverage-9
7.47 MB
ios-bundle
8.52 MB