Skip to content
Open
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
5 changes: 0 additions & 5 deletions eslint-suppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -774,11 +774,6 @@
"count": 3
}
},
"packages/bridge-status-controller/src/utils/transaction.ts": {
"no-restricted-syntax": {
"count": 4
}
},
"packages/chain-agnostic-permission/src/caip25Permission.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 11
Expand Down
1 change: 1 addition & 0 deletions packages/bridge-status-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Refactor tx submission into strategies to reduce quote-specific branching in the controller, and to de-duplicate shared logic between `submitTx` and `submitIntent`. Each strategy yields payloads that the controller uses to update history, poll, and publish metrics ([#8257](https://github.com/MetaMask/core/pull/8257))
- Bump `@metamask/accounts-controller` from `^37.1.1` to `^37.2.0` ([#8363](https://github.com/MetaMask/core/pull/8363))
- Bump `@metamask/keyring-controller` from `^25.1.1` to `^25.2.0` ([#8363](https://github.com/MetaMask/core/pull/8363))
- Bump `@metamask/messenger` from `^1.0.0` to `^1.1.1` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373))
Expand Down
7 changes: 6 additions & 1 deletion packages/bridge-status-controller/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ module.exports = merge(baseConfig, {

coverageProvider: 'v8',

coveragePathIgnorePatterns: ['.*/index\\.ts', '.*-method-action-types\\.ts'],
coveragePathIgnorePatterns: [
...baseConfig.coveragePathIgnorePatterns,
'.*/strategy/types\\.ts$',
'.*/index\\.ts',
'.*-method-action-types\\.ts',
],

// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3859,6 +3859,7 @@ exports[`BridgeStatusController submitTx: EVM swap should handle smart transacti
"requireApproval": false,
"transactions": [
{
"assetsFiatValues": undefined,
"params": {
"data": "0xapprovalData",
"from": "0xaccount1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,7 @@ describe('BridgeStatusController (intent swaps)', () => {
"chainId": "0x1",
"hash": undefined,
"id": "intentDisplayTxId1",
"isIntentTx": true,
"networkClientId": "network-client-id-1",
"orderUid": "order-uid-approve-1",
"status": "submitted",
"time": 1773879217428,
"txParams": {
Expand Down
Loading
Loading