Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge upstream gas escalator and run test (#14)
Fixes some issues @tkporter brought up in hyperlane-xyz/hyperlane-monorepo#3852 (review): 1. Holding mutex lock across gas escalations (fixed upstream, I just merged the changes) 2. Silently ignoring nonce related errors: added a `warn` log. These error are only expected to occur if the original tx landed onchain though 3. I ran the unit test that comes with this middleware, and similar to what Trevor pointed out, sending a tx returns a `PendingTransaction` whose tx hash will not reflect the hash of the tx that lands onchain. However I manually checked by polling anvil and emitting logs that the gas is escalated and the final tx is finalized
- Loading branch information