Skip to content

Commit

Permalink
Merge branch 'develop' into multichain-e2e-tests-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiKJha authored Oct 2, 2024
2 parents 250ba94 + 5639952 commit 084a4bc
Show file tree
Hide file tree
Showing 70 changed files with 2,722 additions and 1,316 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- opened
- reopened
- synchronize
merge_group:

jobs:
test-unit:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-lavamoat-policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
run: |
if [[ $HAS_CHANGES == 'true' ]]
then
gh pr comment "${PR_NUMBER}" --body 'Policies updated'
echo -e 'Policies updated. \n👀 Please review the diff for suspicious new powers. \n\n🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff' | gh pr comment "${PR_NUMBER}" --body-file -
else
gh pr comment "${PR_NUMBER}" --body 'No policy changes'
fi
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.3.1]
### Fixed
- Fix duplicate network validation ([#27463](https://github.com/MetaMask/metamask-extension/pull/27463))
- Fix notification metrics ([#27435](https://github.com/MetaMask/metamask-extension/pull/27435))
- Fix transaction metrics ([#27457](https://github.com/MetaMask/metamask-extension/pull/27457))

## [12.3.0]
### Added
- Added the ability to name accounts during the snap account creation flow ([#25191](https://github.com/MetaMask/metamask-extension/pull/25191))
Expand Down Expand Up @@ -5106,7 +5112,8 @@ Update styles and spacing on the critical error page ([#20350](https://github.c
- Added the ability to restore accounts from seed words.


[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v12.3.0...HEAD
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v12.3.1...HEAD
[12.3.1]: https://github.com/MetaMask/metamask-extension/compare/v12.3.0...v12.3.1
[12.3.0]: https://github.com/MetaMask/metamask-extension/compare/v12.2.4...v12.3.0
[12.2.4]: https://github.com/MetaMask/metamask-extension/compare/v12.2.3...v12.2.4
[12.2.3]: https://github.com/MetaMask/metamask-extension/compare/v12.2.2...v12.2.3
Expand Down
27 changes: 27 additions & 0 deletions app/_locales/en/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/scripts/controllers/mmi-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ export default class MMIController extends EventEmitter {
const allAccounts = await this.keyringController.getAccounts();

const accountsToTrack = [
...new Set(
...new Set<string>(
oldAccounts.concat(allAccounts.map((a: string) => a.toLowerCase())),
),
];
Expand Down
2 changes: 2 additions & 0 deletions app/scripts/controllers/swaps/swaps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const MOCK_FETCH_PARAMS: FetchTradesInfoParams = {
fromAddress: '0x7F18BB4Dd92CF2404C54CBa1A9BE4A1153bdb078',
exchangeList: 'zeroExV1',
balanceError: false,
enableGasIncludedQuotes: false,
};

const TEST_AGG_ID_1 = 'TEST_AGG_1';
Expand Down Expand Up @@ -1164,6 +1165,7 @@ describe('SwapsController', function () {
fromAddress: '',
exchangeList: 'zeroExV1',
balanceError: false,
enableGasIncludedQuotes: false,
metaData: {} as FetchTradesInfoParamsMetadata,
};
const swapsFeatureIsLive = false;
Expand Down
1 change: 1 addition & 0 deletions app/scripts/controllers/swaps/swaps.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ export type FetchTradesInfoParams = {
fromAddress: string;
exchangeList: string;
balanceError: boolean;
enableGasIncludedQuotes: boolean;
};

export type FetchTradesInfoParamsMetadata = {
Expand Down
Loading

0 comments on commit 084a4bc

Please sign in to comment.