core icon indicating copy to clipboard operation
core copied to clipboard

Fix: When querying bundler, use existing gas prices if available

Open montelaidev opened this issue 1 year ago • 0 comments

Explanation

This PR fixes issue where the gas prices being sent to the bundler is always set as 0. maxFeePerGas and maxPriorityFeePerGas from the transaction params will be used by default with the gasPrice and VALUE_ONE as the fallback.

References

Changelog

@metamask/user-operations-controller

  • CHANGED: Use gas prices from transactions params when sending a query to a bundler.

Checklist

  • [x] I've updated the test suite for new or updated code as appropriate
  • [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

montelaidev avatar Feb 21 '24 12:02 montelaidev