Skip to content

Commit

Permalink
Merge branch 'develop' into 240213-apply-token-detection-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Mar 13, 2024
2 parents 5f7ae9d + 4fdbdb7 commit d038ff9
Show file tree
Hide file tree
Showing 61 changed files with 1,552 additions and 1,116 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ executors:
resource_class: small
environment:
FONTCONFIG_PATH: /etc/fonts
NODE_OPTIONS: --max_old_space_size=1024
NODE_OPTIONS: --max_old_space_size=2048
node-browsers-medium:
docker:
- image: cimg/node:20.11-browsers
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:
command: .circleci/scripts/release-create-release-pr.sh

prep-deps:
executor: node-browsers-small
executor: node-browsers-medium
steps:
- run: *shallow-git-clone
- run:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Validate Conventional Commit Title
on:
pull_request:
branches:
- develop
types: [opened, edited, reopened]

jobs:
Expand Down
46 changes: 0 additions & 46 deletions .yarn/patches/ethereumjs-util-npm-5.2.1-72b39f4e7e.patch

This file was deleted.

39 changes: 34 additions & 5 deletions app/_locales/en/messages.json

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

Binary file added app/images/portfolio-v2-whatsnew-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/scripts/controllers/preferences.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ObservableStore } from '@metamask/obs-store';
import { normalize as normalizeAddress } from 'eth-sig-util';
import { normalize as normalizeAddress } from '@metamask/eth-sig-util';
import {
CHAIN_IDS,
IPFS_DEFAULT_GATEWAY_URL,
Expand Down
1 change: 1 addition & 0 deletions app/scripts/lib/ppom/ppom-middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const CONFIRMATION_METHODS = Object.freeze([
export const SUPPORTED_CHAIN_IDS: string[] = [
CHAIN_IDS.ARBITRUM,
CHAIN_IDS.AVALANCHE,
CHAIN_IDS.BASE,
CHAIN_IDS.BSC,
CHAIN_IDS.LINEA_MAINNET,
CHAIN_IDS.MAINNET,
Expand Down
1 change: 1 addition & 0 deletions app/scripts/lib/setupSentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ export const SENTRY_BACKGROUND_STATE = {
SnapsRegistry: {
database: false,
lastUpdated: false,
databaseUnavailable: false,
},
SubjectMetadataController: {
subjectMetadata: false,
Expand Down
9 changes: 4 additions & 5 deletions app/scripts/lib/transaction/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,12 +716,11 @@ function getUniqueId(
eventName: TransactionMetaMetricsEvent,
transactionId: string,
) {
const isSubmitted = [
TransactionMetaMetricsEvent.finalized,
TransactionMetaMetricsEvent.submitted,
].includes(eventName);
const isFinalizedOrSubmitted =
eventName === TransactionMetaMetricsEvent.finalized ||
eventName === TransactionMetaMetricsEvent.submitted;
const uniqueIdentifier = `transaction-${
isSubmitted ? 'submitted' : 'added'
isFinalizedOrSubmitted ? 'submitted' : 'added'
}-${transactionId}`;

return uniqueIdentifier;
Expand Down
8 changes: 4 additions & 4 deletions builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ buildTypes:
- SEGMENT_WRITE_KEY_REF: SEGMENT_PROD_WRITE_KEY
- ALLOW_LOCAL_SNAPS: false
- REQUIRE_SNAPS_ALLOWLIST: true
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.2/index.html
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.3/index.html
- ACCOUNT_SNAPS_DIRECTORY_URL: https://snaps.metamask.io/account-management
# Main build uses the default browser manifest
manifestOverrides: false
Expand Down Expand Up @@ -65,7 +65,7 @@ buildTypes:
- SEGMENT_FLASK_WRITE_KEY
- ALLOW_LOCAL_SNAPS: true
- REQUIRE_SNAPS_ALLOWLIST: false
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.2/index.html
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.3/index.html
- SUPPORT_LINK: https://metamask-flask.zendesk.com/hc
- SUPPORT_REQUEST_LINK: https://metamask-flask.zendesk.com/hc/en-us/requests/new
- INFURA_ENV_KEY_REF: INFURA_FLASK_PROJECT_ID
Expand All @@ -86,7 +86,7 @@ buildTypes:
- SEGMENT_FLASK_WRITE_KEY
- ALLOW_LOCAL_SNAPS: true
- REQUIRE_SNAPS_ALLOWLIST: false
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.2/index.html
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.3/index.html
- SUPPORT_LINK: https://metamask-flask.zendesk.com/hc
- SUPPORT_REQUEST_LINK: https://metamask-flask.zendesk.com/hc/en-us/requests/new
- INFURA_ENV_KEY_REF: INFURA_FLASK_PROJECT_ID
Expand All @@ -107,7 +107,7 @@ buildTypes:
- SEGMENT_WRITE_KEY_REF: SEGMENT_MMI_WRITE_KEY
- ALLOW_LOCAL_SNAPS: false
- REQUIRE_SNAPS_ALLOWLIST: true
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.2/index.html
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/5.0.3/index.html
- MMI_CONFIGURATION_SERVICE_URL: https://configuration.metamask-institutional.io/v2/configuration/default
- SUPPORT_LINK: https://mmi-support.zendesk.com/hc/en-us
- SUPPORT_REQUEST_LINK: https://mmi-support.zendesk.com/hc/en-us/requests/new
Expand Down
Binary file added docs/assets/approval_template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/confirmation.png
Binary file not shown.
Binary file added docs/assets/success_approval.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/success_approval_templates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d038ff9

Please sign in to comment.