Skip to content
Merged
Changes from all 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
4 changes: 4 additions & 0 deletions packages/thirdweb/src/transaction/actions/estimate-gas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ export async function estimateGas(
// biome-ignore lint/style/noNonNullAssertion: the `has` above ensures that this will always be set
return cache.get(txWithFrom)!;
}
// Saga Mainnet has a fixed gas limit for all transactions
if (options.transaction.chain.id === 5464) {
return 20000000n;
}
const { account } = options;
const promise = (async () => {
const predefinedGas = await resolvePromisedValue(options.transaction.gas);
Expand Down