Skip to content

refactor: support non-evm tokens in asset-picker #59645

refactor: support non-evm tokens in asset-picker

refactor: support non-evm tokens in asset-picker #59645

Triggered via pull request February 25, 2025 02:09
Status Failure
Total duration 19m 59s
Artifacts 13

main.yml

on: pull_request
Wait for CircleCI workflow status  /  Wait for CircleCI workflow status
19m 37s
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Build storybook  /  Build storybook
3m 35s
Build storybook / Build storybook
Build beta  /  Build beta
25s
Build beta / Build beta
Matrix: Run tests / Unit tests
Matrix: Validate lavamoat policy webapp / Validate lavamoat policy webapp
Lint workflows  /  Lint workflows
8s
Lint workflows / Lint workflows
Test lint shellcheck  /  Test lint shellcheck
7s
Test lint shellcheck / Test lint shellcheck
Test lint  /  Test lint
8m 19s
Test lint / Test lint
Test lint changelog  /  Test lint changelog
1m 30s
Test lint changelog / Test lint changelog
Test lint lockfile  /  Test lint lockfile
2m 2s
Test lint lockfile / Test lint lockfile
Test yarn dedupe  /  Test yarn dedupe
1m 30s
Test yarn dedupe / Test yarn dedupe
Test deps depcheck  /  Test deps depcheck
1m 58s
Test deps depcheck / Test deps depcheck
Test storybook  /  Test storybook
8m 44s
Test storybook / Test storybook
Validate lavamoat allow scripts  /  Validate lavamoat allow scripts
1m 33s
Validate lavamoat allow scripts / Validate lavamoat allow scripts
Validate lavamoat policy build  /  Validate lavamoat policy build
2m 46s
Validate lavamoat policy build / Validate lavamoat policy build
prep-build-test-browserify
7m 55s
prep-build-test-browserify
prep-build-test-webpack
2m 32s
prep-build-test-webpack
Run tests  /  Webpack tests
1m 55s
Run tests / Webpack tests
Run tests  /  Integration tests
3m 48s
Run tests / Integration tests
Test circular deps
1m 53s
Test circular deps
Test deps audit  /  Test deps audit
1m 38s
Test deps audit / Test deps audit
Runway  /  Runway
Runway / Runway
Publish prerelease  /  Publish prerelease
Publish prerelease / Publish prerelease
Matrix: run-benchmarks / benchmarks
Run tests  /  Report coverage
0s
Run tests / Report coverage
All jobs completed
0s
All jobs completed
All jobs pass
0s
All jobs pass
Log merge group failure  /  Log merge group failure
Log merge group failure / Log merge group failure
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 10 warnings
Run tests / Unit tests (3)
Process completed with exit code 1.
Test lint / Test lint: ui/hooks/bridge/useBridgeExchangeRates.ts#L68
Argument of type '`0x${string}` | MultichainNetworks | ChainId' is not assignable to parameter of type '`0x${string}` | ChainId'.
Test lint / Test lint: ui/pages/bridge/prepare/prepare-bridge-page.tsx#L419
Type '{ network: NetworkConfiguration | { blockExplorerUrls: never[]; name: string; nativeCurrency: string; rpcEndpoints: { url: string; type: string; networkClientId: string; }[]; ... 9 more ...; isAddressCompatible: (address: string) => boolean; } | undefined; networks: (NetworkConfiguration | { ...; })[]; onNetworkChan...' is not assignable to type 'Pick<{ isOpen: boolean; network?: NetworkOption | undefined; networks?: NetworkOption[] | undefined; onNetworkChange: (network: NetworkOption) => void; ... 6 more ...; onMultiselectSubmit?: ((selectedChainIds: string[]) => void) | undefined; }, "network" | ... 3 more ... | "shouldDisableNetwork"> | undefined'.
Test lint / Test lint: ui/pages/bridge/prepare/prepare-bridge-page.tsx#L510
Argument of type 'AddNetworkFields | { blockExplorerUrls: never[]; name: string; nativeCurrency: string; rpcEndpoints: { url: string; type: string; networkClientId: string; }[]; defaultRpcEndpointIndex: number; ... 8 more ...; isAddressCompatible: (address: string) => boolean; } | undefined' is not assignable to parameter of type 'NetworkConfiguration | AddNetworkFields | (Omit<NetworkConfiguration, "chainId"> & { chainId: `${string}:${string}`; }) | undefined'.
Test lint / Test lint: ui/pages/bridge/prepare/prepare-bridge-page.tsx#L513
Argument of type 'AddNetworkFields | { blockExplorerUrls: never[]; name: string; nativeCurrency: string; rpcEndpoints: { url: string; type: string; networkClientId: string; }[]; defaultRpcEndpointIndex: number; ... 8 more ...; isAddressCompatible: (address: string) => boolean; } | undefined' is not assignable to parameter of type 'NetworkConfiguration | AddNetworkFields | (Omit<NetworkConfiguration, "chainId"> & { chainId: `${string}:${string}`; }) | undefined'.
Test lint / Test lint: ui/pages/bridge/prepare/prepare-bridge-page.tsx#L527
Argument of type 'AddNetworkFields | { blockExplorerUrls: never[]; name: string; nativeCurrency: string; rpcEndpoints: { url: string; type: string; networkClientId: string; }[]; defaultRpcEndpointIndex: number; ... 8 more ...; isAddressCompatible: (address: string) => boolean; }' is not assignable to parameter of type 'NetworkConfiguration | AddNetworkFields | (Omit<NetworkConfiguration, "chainId"> & { chainId: `${string}:${string}`; }) | undefined'.
Test lint / Test lint: ui/pages/bridge/prepare/prepare-bridge-page.tsx#L555
Type '{ network: AddNetworkFields | { blockExplorerUrls: never[]; name: string; nativeCurrency: string; rpcEndpoints: { url: string; type: string; networkClientId: string; }[]; ... 9 more ...; isAddressCompatible: (address: string) => boolean; } | undefined; networks: (AddNetworkFields | { ...; })[]; onNetworkChange: (net...' is not assignable to type 'Pick<{ isOpen: boolean; network?: NetworkOption | undefined; networks?: NetworkOption[] | undefined; onNetworkChange: (network: NetworkOption) => void; ... 6 more ...; onMultiselectSubmit?: ((selectedChainIds: string[]) => void) | undefined; }, "network" | ... 3 more ... | "shouldDisableNetwork"> | undefined'.
Test lint / Test lint: ui/pages/bridge/quotes/bridge-quote-card.tsx#L145
Property 'name' does not exist on type 'never'.
Test lint / Test lint: ui/pages/bridge/quotes/bridge-quote-card.tsx#L163
Property 'name' does not exist on type 'never'.
Test lint / Test lint
Process completed with exit code 2.
Test storybook / Test storybook
Process completed with exit code 1.
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Workflow status is 'failed'. Exiting with error.
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Process completed with exit code 1.
All jobs pass
Process completed with exit code 1.
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1265
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1286
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1306
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1390
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1406
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1429
Some tests seem to be commented
Test lint / Test lint: test/e2e/flask/solana/common-solana.ts#L91
'#fb9f18' 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
Test lint / Test lint: ui/components/app/alert-system/alert-modal/alert-modal.tsx#L209
React Hook "useI18nContext" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
Test lint / Test lint: ui/components/app/assets/asset-list/asset-list-control-bar/asset-list-control-bar.tsx#L83
React Hook useMemo has an unnecessary dependency: 'TEST_CHAINS'. Either exclude it or remove the dependency array. Outer scope values like 'TEST_CHAINS' aren't valid dependencies because mutating them doesn't re-render the component
Test lint / Test lint: ui/components/app/assets/asset-list/asset-list-control-bar/asset-list-control-bar.tsx#L109
React Hook useEffect has missing dependencies: 'allOpts', 'currentNetwork.chainId', 'dispatch', and 'tokenNetworkFilter'. Either include them or remove the dependency array

Artifacts

Produced during runtime
Name Size
benchmark-browserify-pageload
812 Bytes
benchmark-browserify-userActions
197 Bytes
benchmark-webpack-pageload
823 Bytes
benchmark-webpack-userActions
197 Bytes
coverage-integration
810 KB
coverage-unit-1
1.08 MB
coverage-unit-2
1.08 MB
coverage-unit-4
1.1 MB
coverage-unit-5
1.07 MB
coverage-unit-6
1.09 MB
coverage-webpack
14.6 KB
prep-build-test-browserify
58.5 MB
prep-build-test-webpack
27.5 MB