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

Auto-Not-So-Matic: Fix two matic.network URLs to polygon.technology #3483

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

Shadowfiend
Copy link
Contributor

@Shadowfiend Shadowfiend commented Jun 16, 2023

Looks like matic.network has been fully decommissioned, and for both gas prices and for the PoS WETH asset, we were relying on it. Move to polygon.technology equivalents.

In practice, the asset SVG for PoS WETH won't be used because newer versions of the Polygon token lists don't include the broken WETH asset that we were substituting in. We keep it because it's referenced in a migration and I would rather not try to figure out if it's safe to kill the migration for now.

Testing

  • Switch to Polygon
    • Try to send an asset. You should be able to get to the send transaction screen with a populated gas price.
    • Look up ETH under the swap target while on Polygon and make sure you see as the icon. The changes in this PR shouldn't really affect this, but might as well check!

Fixes #3482 .

Latest build: extension-builds-3483 (as of Fri, 16 Jun 2023 00:51:51 GMT).

Looks like matic.network has been fully decommissioned, and for both gas
prices and for the PoS WETH asset, we were relying on it. Move to
polygon.technology equivalents.
@Shadowfiend Shadowfiend requested a review from a team June 16, 2023 00:48
Copy link
Contributor

@hyphenized hyphenized left a comment

Choose a reason for hiding this comment

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

Works well, thought I had encountered a bug but it turns out that icon does not show up because we have a hardcoded icon for assets with the ETH symbol.

We can remove the dead code if we return an empty promise instead of modifying the stored collection in the migration. This shouldn't be a problem for 99% of our users given this would only affect users running anything before v0.18.0.

Copy link
Contributor

@jagodarybacka jagodarybacka left a comment

Choose a reason for hiding this comment

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

Everything fine, I think we can merge it as it is ✅

@jagodarybacka jagodarybacka merged commit f6b9c1f into main Jun 16, 2023
@jagodarybacka jagodarybacka deleted the auto-not-so-matic branch June 16, 2023 10:22
@jagodarybacka jagodarybacka mentioned this pull request Jun 16, 2023
kkosiorowska pushed a commit that referenced this pull request Jun 21, 2023
## What's Changed
* Auto-Not-So-Matic: Fix two matic.network URLs to polygon.technology by
@Shadowfiend in #3483

**Full Changelog**:
v0.38.0...v0.38.1

Latest build:
[extension-builds-3484](https://github.com/tahowallet/extension/suites/13658282222/artifacts/754228230)
(as of Fri, 16 Jun 2023 13:32:24 GMT).
@jagodarybacka jagodarybacka mentioned this pull request Jun 22, 2023
jagodarybacka added a commit that referenced this pull request Jun 23, 2023
## What's Changed
* Repeater Connection: Forward requests to new default when default is
switched off during dApp connection flow by @Shadowfiend in
#3462
* Auto-Not-So-Matic: Fix two matic.network URLs to polygon.technology by
@Shadowfiend in #3483
* v0.38.0 by @kkosiorowska in
#3480
* Case Dismissed: Forcibly show DAppConnectionInfoBar popover on first
dApp connection by @Shadowfiend in
#3464
* Add Hardhat Fork Functionality by @0xDaedalus in
#3247
* Faded Jeans: Rename fadeIn class to fade_in by @Shadowfiend in
#3485
* Fix issue for discovery transaction hash by @kkosiorowska in
#3458
* Full Sweep: Drop the USE_UPDATED_SIGNING_UI feature flag by
@Shadowfiend in #3475
* Token Discovery - Remap redux asset balances by @hyphenized in
#3195
* Make specific warnings for adding custom asset by @kkosiorowska in
#3478
* Run NFTs e2e tests on a controlled wallet address by
@michalinacienciala in #3487
* v0.38.1 by @jagodarybacka in
#3484


**Full Changelog**:
v0.38.1...v0.39.0
Latest build:
[extension-builds-3496](https://github.com/tahowallet/extension/suites/13792957673/artifacts/764738599)
(as of Thu, 22 Jun 2023 14:27:32 GMT).
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.

I am receiving "Error getting Block Prices From Polygon" message.
3 participants