core
core copied to clipboard
This monorepo is a collection of packages used across multiple MetaMask clients
## Explanation Update `ts-jest` to resolve peer dependency warning about the version of `typescript` we're using being too high. The changelogs for the two breaking changes of `ts-jest` are here:...
## Explanation `handleOnKeyringStateChange` is calling this function on every account which is taking ~ 200ms. It's been determined that we can remove this call. ## References N/A ## Checklist -...
## Explanation ## References ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.)...
## Explanation Some developers run `yarn lint:fix` before pushing. After the ESLint 9 upgrade, however, this package script has been broken because it fixes all lint warnings in addition to...
## Explanation ## References ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.)...
Following #6088, all existing uses of `JsonRpcEngine` and its middleware pattern must be migrated to `JsonRpcEngineV2`. This is the tracking issue for this process, which will have to be incremental....
## Explanation ### Current State The `getBalancesInSingleCall` function in `AssetsContractController` was previously using a direct contract call to the single-call balance checker contract (`SINGLE_CALL_BALANCES_ADDRESS_BY_CHAINID`). This approach had limited chain coverage...
## Explanation ### What is the current state and why does it need to change? Currently, the multi-chain accounts API calls in `TokenDetectionController` and `TokenBalancesController` are made without authentication. This...
## Explanation Price api already exposes its supported chainIds here https://price.api.cx.metamask.io/v1/supportedNetworks. Instead of relying on the old static array; this array pulls the supported chainIds from the API directly. This...
## Explanation Multichain account groups can "disable" accounts using `AccountProviderWrapper`s. This is mostly used in combination with remote feature flags or with the "Basic Functionality" flags. Though, since the account...