Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update accounts related packages #27284

Merged
merged 13 commits into from
Oct 7, 2024
Merged
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,14 @@
"@metamask-institutional/transaction-update": "^0.2.5",
"@metamask-institutional/types": "^1.1.0",
"@metamask/abi-utils": "^2.0.2",
"@metamask/account-watcher": "^4.1.0",
"@metamask/accounts-controller": "^18.2.1",
"@metamask/account-watcher": "^4.1.1",
"@metamask/accounts-controller": "^18.2.2",
"@metamask/address-book-controller": "^6.0.0",
"@metamask/announcement-controller": "^7.0.0",
"@metamask/approval-controller": "^7.0.0",
"@metamask/assets-controllers": "^37.0.0",
"@metamask/base-controller": "^7.0.0",
"@metamask/bitcoin-wallet-snap": "^0.6.0",
"@metamask/bitcoin-wallet-snap": "^0.6.1",
"@metamask/browser-passworder": "^4.3.0",
"@metamask/contract-metadata": "^2.5.0",
"@metamask/controller-utils": "^11.2.0",
Expand All @@ -316,17 +316,17 @@
"@metamask/eth-ledger-bridge-keyring": "^3.0.1",
"@metamask/eth-query": "^4.0.0",
"@metamask/eth-sig-util": "^7.0.1",
"@metamask/eth-snap-keyring": "^4.3.3",
"@metamask/eth-snap-keyring": "^4.3.6",
"@metamask/eth-token-tracker": "^8.0.0",
"@metamask/eth-trezor-keyring": "^3.1.0",
"@metamask/eth-trezor-keyring": "^3.1.3",
"@metamask/etherscan-link": "^3.0.0",
"@metamask/ethjs": "^0.6.0",
"@metamask/ethjs-contract": "^0.4.1",
"@metamask/ethjs-query": "^0.7.1",
"@metamask/gas-fee-controller": "^18.0.0",
"@metamask/jazzicon": "^2.0.0",
"@metamask/keyring-api": "^8.1.0",
"@metamask/keyring-controller": "^17.2.1",
"@metamask/keyring-api": "^8.1.3",
"@metamask/keyring-controller": "^17.2.2",
"@metamask/logging-controller": "^6.0.0",
"@metamask/logo": "^3.1.2",
"@metamask/message-manager": "^10.1.0",
Expand Down Expand Up @@ -359,7 +359,7 @@
"@metamask/snaps-rpc-methods": "^11.1.1",
"@metamask/snaps-sdk": "^6.5.1",
"@metamask/snaps-utils": "^8.1.1",
"@metamask/transaction-controller": "^37.0.0",
"@metamask/transaction-controller": "37.1.0",
ccharly marked this conversation as resolved.
Show resolved Hide resolved
"@metamask/user-operation-controller": "^13.0.0",
"@metamask/utils": "^9.1.0",
"@ngraveio/bc-ur": "^1.1.12",
Expand Down
4 changes: 2 additions & 2 deletions test/data/mock-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,8 @@
"developer": "Metamask",
"website": "https://www.consensys.io/",
"auditUrls": ["auditUrl1", "auditUrl2"],
"version": "1.0.0",
"lastUpdated": "April 20, 2023"
"version": "1.1.6",
"lastUpdated": "September 26, 2024"
}
},
"notifications": {
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const BUNDLER_URL = 'http://localhost:3000/rpc';

/* URL of the 4337 account snap site. */
export const ERC_4337_ACCOUNT_SNAP_URL =
'https://metamask.github.io/snap-account-abstraction-keyring/0.4.1/';
'https://metamask.github.io/snap-account-abstraction-keyring/0.4.2/';

/* Salt used to generate the 4337 account. */
export const ERC_4337_ACCOUNT_SALT = '0x1';
Expand All @@ -31,7 +31,7 @@ export const SIMPLE_ACCOUNT_FACTORY =

/* URL of the Snap Simple Keyring site. */
export const TEST_SNAPS_SIMPLE_KEYRING_WEBSITE_URL =
'https://metamask.github.io/snap-simple-keyring/1.1.2/';
'https://metamask.github.io/snap-simple-keyring/1.1.6/';

/* Address of the VerifyingPaymaster smart contract deployed to Ganache. */
export const VERIFYING_PAYMASTER = '0xbdbDEc38ed168331b1F7004cc9e5392A2272C1D7';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,8 @@
"bridgeState": {
"bridgeFeatureFlags": {
"extensionSupport": "boolean",
"srcNetworkAllowlist": {
"0": "string",
"1": "string",
"2": "string"
},
"destNetworkAllowlist": {
"0": "string",
"1": "string",
"2": "string"
}
"srcNetworkAllowlist": { "0": "string", "1": "string", "2": "string" },
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK why this got pretty-print differently, maybe our prettier/eslint config got updated. Anyway, the CI is happy with that change :)

"destNetworkAllowlist": { "0": "string", "1": "string", "2": "string" }
}
}
},
Expand Down Expand Up @@ -180,6 +172,7 @@
"permissionActivityLog": "object"
},
"PreferencesController": {
"selectedAddress": "string",
"useBlockie": false,
"useNonceField": false,
"usePhishDetect": true,
Expand Down Expand Up @@ -213,10 +206,10 @@
"smartTransactionsOptInStatus": false,
"useNativeCurrencyAsPrimaryCurrency": true,
"petnamesEnabled": true,
"showMultiRpcModal": "boolean",
"isRedesignedConfirmationsDeveloperEnabled": "boolean",
"redesignedConfirmationsEnabled": true,
"redesignedTransactionsEnabled": "boolean",
"showMultiRpcModal": "boolean"
"redesignedTransactionsEnabled": "boolean"
},
"ipfsGateway": "string",
"isIpfsGatewayEnabled": "boolean",
Expand All @@ -228,8 +221,7 @@
"useExternalNameSources": "boolean",
"useTransactionSimulations": true,
"enableMV3TimestampSave": true,
"useExternalServices": "boolean",
"selectedAddress": "string"
"useExternalServices": "boolean"
},
"QueuedRequestController": { "queuedRequestCount": 0 },
"SelectedNetworkController": { "domains": "object" },
Expand Down Expand Up @@ -306,7 +298,8 @@
"TxController": {
"methodData": "object",
"transactions": "object",
"lastFetchedBlockNumbers": "object"
"lastFetchedBlockNumbers": "object",
"submitHistory": "object"
},
"UserOperationController": { "userOperations": "object" },
"UserStorageController": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"internalAccounts": { "accounts": "object", "selectedAccount": "string" },
"transactions": "object",
"networkConfigurations": "object",
"networkConfigurationsByChainId": "object",
"addressBook": "object",
"confirmationExchangeRates": {},
"pendingTokens": "object",
Expand All @@ -34,10 +33,10 @@
"smartTransactionsOptInStatus": false,
"useNativeCurrencyAsPrimaryCurrency": true,
"petnamesEnabled": true,
"showMultiRpcModal": "boolean",
"isRedesignedConfirmationsDeveloperEnabled": "boolean",
"redesignedConfirmationsEnabled": true,
"redesignedTransactionsEnabled": "boolean",
"showMultiRpcModal": "boolean"
"redesignedTransactionsEnabled": "boolean"
},
"firstTimeFlowType": "import",
"completedOnboarding": true,
Expand Down Expand Up @@ -95,7 +94,9 @@
"status": "available"
}
},
"networkConfigurationsByChainId": "object",
"keyrings": "object",
"selectedAddress": "string",
"useNonceField": false,
"usePhishDetect": true,
"dismissSeedBackUpReminder": true,
Expand Down Expand Up @@ -127,16 +128,15 @@
"useTransactionSimulations": true,
"enableMV3TimestampSave": true,
"useExternalServices": "boolean",
"selectedAddress": "string",
"metaMetricsId": "fake-metrics-id",
"marketingCampaignCookieId": null,
"metaMetricsDataDeletionId": null,
"metaMetricsDataDeletionTimestamp": 0,
"eventsBeforeMetricsOptIn": "object",
"traits": "object",
"previousUserTraits": "object",
"fragments": "object",
"segmentApiCalls": "object",
"metaMetricsDataDeletionId": null,
"metaMetricsDataDeletionTimestamp": 0,
"currentCurrency": "usd",
"alertEnabledness": { "unconnectedAccount": true, "web3ShimUsage": true },
"unconnectedAccountAlertShownOrigins": "object",
Expand Down Expand Up @@ -177,6 +177,7 @@
"logs": "object",
"methodData": "object",
"lastFetchedBlockNumbers": "object",
"submitHistory": "object",
"fiatCurrency": "usd",
"rates": { "btc": { "conversionDate": 0, "conversionRate": "0" } },
"cryptocurrencies": ["btc"],
Expand Down Expand Up @@ -248,16 +249,8 @@
"bridgeState": {
"bridgeFeatureFlags": {
"extensionSupport": "boolean",
"srcNetworkAllowlist": {
"0": "string",
"1": "string",
"2": "string"
},
"destNetworkAllowlist": {
"0": "string",
"1": "string",
"2": "string"
}
"srcNetworkAllowlist": { "0": "string", "1": "string", "2": "string" },
"destNetworkAllowlist": { "0": "string", "1": "string", "2": "string" }
}
},
"ensEntries": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ exports[`<SnapAccountRedirect /> renders the url and message when provided and i
class="mm-box mm-text mm-text--body-md mm-box--padding-2 mm-box--color-primary-default"
data-testid="snap-account-redirect-url-display-box"
>
https://metamask.github.io/snap-simple-keyring/1.1.2/
https://metamask.github.io/snap-simple-keyring/1.1.6/
</p>
<button
aria-label=""
Expand Down
Loading
Loading