Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/thirdweb/src/wallets/smart/lib/userop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@
maxPriorityFeePerGas =
resolvedMaxPriorityFeePerGas ?? feeData.maxPriorityFeePerGas ?? 0n;
maxFeePerGas = resolvedMaxFeePerGas ?? feeData.maxFeePerGas ?? 0n;

if(chain.id === 88 || chain.id === 89) {
maxPriorityFeePerGas = maxPriorityFeePerGas || feeData.gasPrice || 0n
maxFeePerGas = maxFeePerGas || feeData.gasPrice || 0n
}

Check warning on line 276 in packages/thirdweb/src/wallets/smart/lib/userop.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/smart/lib/userop.ts#L273-L276

Added lines #L273 - L276 were not covered by tests
}
}
return { maxFeePerGas, maxPriorityFeePerGas };
Expand Down
Loading