Skip to content

Commit 19cc58f

Browse files
committed
fix: Fix harcoded gas limit value on helpers
1 parent 3119882 commit 19cc58f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import 'solidity-coverage';
3030
import { fork } from 'child_process';
3131

3232
const SKIP_LOAD = process.env.SKIP_LOAD === 'true';
33-
const DEFAULT_BLOCK_GAS_LIMIT = 12450000;
33+
const DEFAULT_BLOCK_GAS_LIMIT = 8000000;
3434
const DEFAULT_GAS_MUL = 5;
3535
const HARDFORK = 'istanbul';
3636
const ETHERSCAN_KEY = process.env.ETHERSCAN_KEY || '';

helpers/init-helpers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ export const configureReservesByHelper = async (
270270
console.log(`- Configure reserves in ${chunkedInputParams.length} txs`);
271271
for (let chunkIndex = 0; chunkIndex < chunkedInputParams.length; chunkIndex++) {
272272
await waitForTx(
273-
await atokenAndRatesDeployer.configureReserves(chunkedInputParams[chunkIndex], {
274-
gasLimit: 8000000, // TODO: Change this
275-
})
273+
await atokenAndRatesDeployer.configureReserves(chunkedInputParams[chunkIndex])
276274
);
277275
console.log(` - Init for: ${chunkedSymbols[chunkIndex].join(', ')}`);
278276
}

0 commit comments

Comments
 (0)