Skip to content

Commit d6ce3ae

Browse files
[SDK] fix: Remove fixed gas limit for Saga Mainnet (#6501)
1 parent 6672549 commit d6ce3ae

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/thirdweb/src/transaction/actions/estimate-gas.ts

-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ export async function estimateGas(
7373
// biome-ignore lint/style/noNonNullAssertion: the `has` above ensures that this will always be set
7474
return cache.get(txWithFrom)!;
7575
}
76-
// Saga Mainnet has a fixed gas limit for all transactions
77-
if (options.transaction.chain.id === 5464) {
78-
return 20000000n;
79-
}
8076
const { account } = options;
8177
const promise = (async () => {
8278
const predefinedGas = await resolvePromisedValue(options.transaction.gas);

0 commit comments

Comments
 (0)