Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(middleware): polygon gas stations #2479

Merged
merged 2 commits into from
Jun 17, 2023

Conversation

DaniPopes
Copy link
Collaborator

Motivation

Fixes foundry-rs/foundry#5167

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

ty!

Copy link
Contributor

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

lgtm! should fix a few of the reports we've seen on foundry

@DaniPopes DaniPopes merged commit b730b74 into gakonst:master Jun 17, 2023
@DaniPopes DaniPopes deleted the fix/polygon-gas branch June 17, 2023 16:23
tkporter pushed a commit to hyperlane-xyz/ethers-rs that referenced this pull request Nov 29, 2023
* fix(middleware): polygon gas stations

* fix: wasm
tkporter added a commit to hyperlane-xyz/ethers-rs that referenced this pull request Nov 29, 2023
Cherry picking gakonst#2479

Sadly we've deviated decently far from upstream so I had to bust out the
code scalpel to effectively cherry-pick w/o a bunch of changes. Opened
hyperlane-xyz/issues#806 as I think now is
probably the time to try to move away from our fork

## Motivation

Looks like the old URLs we were using were broken. The way we were
consuming this previously gracefully handled errors here to mean that it
should just fall back to legacy txs, so we had no issues. But when we
moved to using a GasOracleMiddleware, we lost the graceful error
handling

## Solution

See gakonst#2479

## PR Checklist

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

forge fails due to gasstation used to get fees for Polygon mainnet being down
3 participants