We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e125e74 commit 10a1c7cCopy full SHA for 10a1c7c
packages/thirdweb/src/wallets/smart/lib/userop.ts
@@ -269,6 +269,11 @@ async function getGasFees(args: {
269
maxPriorityFeePerGas =
270
resolvedMaxPriorityFeePerGas ?? feeData.maxPriorityFeePerGas ?? 0n;
271
maxFeePerGas = resolvedMaxFeePerGas ?? feeData.maxFeePerGas ?? 0n;
272
+
273
+ if(chain.id === 88 || chain.id === 89) {
274
+ maxPriorityFeePerGas = maxPriorityFeePerGas ?? feeData.gasPrice ?? 0n
275
+ maxFeePerGas = maxFeePerGas ?? feeData.gasPrice ?? 0n
276
+ }
277
}
278
279
return { maxFeePerGas, maxPriorityFeePerGas };
0 commit comments