Skip to content

Commit 0f5564c

Browse files
op bnb call gas limit calc using baseFee
1 parent 2a1202d commit 0f5564c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

common/simulation/BundlerSimulationService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ export class BundlerSimulationService {
277277
let callGasLimit = Math.ceil(totalGas - preOpGas + 30000);
278278
log.info(`call gas limit: ${callGasLimit} on chainId: ${chainId}`);
279279

280-
if ([137, 80001, 43113, 43114, 42161, 421613, 1, 8453, 84531, 420].includes(chainId)) {
280+
if ([137, 80001, 43113, 43114, 42161, 421613, 1,
281+
8453, 84531, 420, 204, 5611].includes(chainId)) {
281282
const baseFeePerGas = await this.gasPriceService.getBaseFeePerGas();
282283
log.info(`baseFeePerGas: ${baseFeePerGas} on chainId: ${chainId}`);
283284
totalGas = Math.ceil(paid / Math.min(

0 commit comments

Comments
 (0)