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

Fix display of incoming transactions #8942

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jul 8, 2020

The metamaskNetworkId property in the txMeta for incoming transactions was incorrectly set as a Number instead of a String. This change was made accidentally as part of #8627.

As a result incoming transactions were being excluded from the transaction list, as they didn't have a matching network ID.

metamaskNetworkId is now set to a string, and a migration has been added to ensure metamaskNetworkId is converted to a string for any incoming transactions in state.

The `metamaskNetworkId` property in the `txMeta` for incoming
transactions was incorrectly set as a Number instead of a String. This
change was made accidentally as part of #8627.

As a result incoming transactions were being excluded from the
transaction list, as they didn't have a matching network ID.

`metamaskNetworkId` is now set to a string, and a migration has been
added to ensure `metamaskNetworkId` is converted to a string for any
incoming transactions in state.
@Gudahtt
Copy link
Member Author

Gudahtt commented Jul 8, 2020

Thanks to @rekmarks for the migration, which I stole shamelessly from #8628

@Gudahtt Gudahtt marked this pull request as ready for review July 8, 2020 19:18
@Gudahtt Gudahtt requested a review from a team as a code owner July 8, 2020 19:18
@metamaskbot
Copy link
Collaborator

Builds ready [cb0f6a0]
Page Load Metrics (1347 ± 79 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaintNaNNaNNaNNaNNaN
domContentLoaded11361711134416479
load11431712134716479
domInteractive11361710134416479

@Gudahtt Gudahtt merged commit a71cc2b into develop Jul 8, 2020
@Gudahtt Gudahtt deleted the fix-incoming-tx-metamask-network-id branch July 8, 2020 19:48
@metamaskbot metamaskbot mentioned this pull request Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants