We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 639b542 commit 6672549Copy full SHA for 6672549
packages/thirdweb/src/transaction/actions/estimate-gas.ts
@@ -73,6 +73,10 @@ export async function estimateGas(
73
// biome-ignore lint/style/noNonNullAssertion: the `has` above ensures that this will always be set
74
return cache.get(txWithFrom)!;
75
}
76
+ // Saga Mainnet has a fixed gas limit for all transactions
77
+ if (options.transaction.chain.id === 5464) {
78
+ return 20000000n;
79
+ }
80
const { account } = options;
81
const promise = (async () => {
82
const predefinedGas = await resolvePromisedValue(options.transaction.gas);
0 commit comments