Skip to content

Version v11.7.2#22336

Merged
danjm merged 2 commits intomasterfrom
Version-v11.7.2
Dec 20, 2023
Merged

Version v11.7.2#22336
danjm merged 2 commits intomasterfrom
Version-v11.7.2

Conversation

@danjm
Copy link
Copy Markdown
Contributor

@danjm danjm commented Dec 19, 2023

No description provided.

@danjm danjm requested a review from a team as a code owner December 19, 2023 09:10
@github-actions
Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the INVALID-PR-TEMPLATE PR's body doesn't match template label Dec 19, 2023
@danjm danjm requested review from a team as code owners December 19, 2023 10:33
@socket-security
Copy link
Copy Markdown

socket-security bot commented Dec 19, 2023

No top level dependency changes detected. Learn more about Socket for GitHub ↗︎

@socket-security
Copy link
Copy Markdown

socket-security bot commented Dec 19, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

CHANGELOG.md Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This changelog needs to be fixed; we have two empty sections and we're missing a change entry

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @Gudahtt i believe this list is still WIP but i have included the latest changes here #1a6d367a please take a look at it and let me know if there's any issues.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should be able to remove api.coingecko.com from this list now as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed here #22372

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should be subscribed to networkDidChange here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@Gudahtt The code changes you commented on are now part of v11.7.3 #22354

I wanted to clarify on the point you made here though. Are you saying these lines of code should be changed to:

onNetworkDidChange: networkControllerMessenger.subscribe.bind(
    networkControllerMessenger,
    'NetworkController:networkDidChange',
)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed here #22372

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A few lines below here, the getERC20TokenName option should be removed. This option is not accepted as of v21

BREAKING: TokensController.watchAsset now performs on-chain validation of the asset's symbol and decimals, if they're defined in the contract (MetaMask/core#1745)

The TokensController constructor no longer accepts a getERC20TokenName option. It was no longer needed due to this change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed here #22372

@Gudahtt
Copy link
Copy Markdown
Member

Gudahtt commented Dec 19, 2023

I found a few minor issues with the code changes here, but we should fix them on develop first before fixing them here. Any changes introduced in this PR will be undone with the sync back to develop.

matthewwalsh0 and others added 2 commits December 20, 2023 05:07
Fix the `dropped` status detection.
Ensure previously pending transactions are monitored after switching
network and not stuck as `pending`.
Prevent `failed` transactions on networks that use pending transaction
receipts with `null` status.
Fix recording of `v` value.
Fix usage of saved gas fees.
@danjm
Copy link
Copy Markdown
Contributor Author

danjm commented Dec 20, 2023

The commits in this PR have changed from when it was first cut. What was v11.7.2 yesterday is now v11.7.3 #22354 So the above comments on needed code changes now apply to v11.7.3

This new v11.7.2 contains a single commit focused on fixing transaction status display bugs

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [622a783]
Page Load Metrics (590 ± 284 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint951711232211
domContentLoaded771671102311
load901402590592284
domInteractive771671102311

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [622a783]
Page Load Metrics (697 ± 313 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint921951262813
domContentLoaded761771162713
load881814697651313
domInteractive761761162713

@sleepytanya
Copy link
Copy Markdown
Contributor

Confirmed for all test networks on Chrome and Firefox:

  1. incoming transactions history on Linea Goerli is fixed [Bug]: Incoming transactions are not visible in the Activity list on Firefox RC 11.8.0 (Linea Goerli) #22237
  2. saved gas fee (Advanced gas) applied to all subsequent transactions unless user changes gas settings to another option [Bug]: Gas fix or default value not working in recent updates. #22333
  3. I don't see 'dropped' transaction issue (scenario 1 - create tx, switch network, create tx with the same account and with the same nonce, scenario 2 - send eth between two accounts on the same wallet and same network with the same nonce / higher / lower nonce) [Bug]: Swap shows as Dropped in MM UI and successful on chain (example - LINEA)  #22312
  4. I sent around 50 txs while testing but encountered 'pending' transaction only once and the status was updated pretty quick so we can count it as accidental one-time issue (?) and consider 'pending' transaction issue fixed [Bug]: Transaction stays in Pending state even though it's confirmed in Etherscan #21941

@danjm danjm merged commit 6bf6c73 into master Dec 20, 2023
@danjm danjm deleted the Version-v11.7.2 branch December 20, 2023 18:44
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2023
@gauthierpetetin gauthierpetetin added the release-11.7.2 Issue or pull request that will be included in release 11.7.2 label Jan 2, 2024
@metamaskbot
Copy link
Copy Markdown
Collaborator

No release label at all on PR. Adding release label release-11.7.2 on PR, as PR was added to branch 11.7.2 when release was cut.

1 similar comment
@metamaskbot
Copy link
Copy Markdown
Collaborator

No release label at all on PR. Adding release label release-11.7.2 on PR, as PR was added to branch 11.7.2 when release was cut.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

INVALID-PR-TEMPLATE PR's body doesn't match template QA Passed release-11.7.2 Issue or pull request that will be included in release 11.7.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants