You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/thirdweb/src/transaction/actions/zksync/send-eip712-transaction.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ export async function populateEip712Transaction(
128
128
max_priority_fee_per_gas: string;
129
129
gas_per_pubdata_limit: string;
130
130
};
131
-
gas=toBigInt(result.gas_limit);
131
+
gas=toBigInt(result.gas_limit)*2n;// overestimating to avoid issues when not accounting for paymaster extra gas ( we should really pass the paymaster input above for better accuracy )
132
132
constbaseFee=toBigInt(result.max_fee_per_gas);
133
133
maxFeePerGas=baseFee*2n;// bumping the base fee per gas to ensure fast inclusion
0 commit comments