@vleap/warps-adapter-evm 0.2.0-beta.67 → 0.2.0-beta.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1719,6 +1719,9 @@ var WarpEvmWallet = class {
1719
1719
  if (tx.maxFeePerGas && tx.maxPriorityFeePerGas) {
1720
1720
  tx.maxFeePerGas = tx.maxFeePerGas > priorityReduction ? tx.maxFeePerGas - priorityReduction : minGasPrice;
1721
1721
  tx.maxPriorityFeePerGas = tx.maxPriorityFeePerGas > priorityReduction ? tx.maxPriorityFeePerGas - priorityReduction : minGasPrice;
1722
+ if (tx.maxPriorityFeePerGas > tx.maxFeePerGas) {
1723
+ tx.maxPriorityFeePerGas = tx.maxFeePerGas;
1724
+ }
1722
1725
  delete tx.gasPrice;
1723
1726
  } else if (tx.gasPrice) {
1724
1727
  tx.gasPrice = tx.gasPrice > priorityReduction ? tx.gasPrice - priorityReduction : minGasPrice;