mirror of
				https://github.com/Instadapp/aave-protocol-v2.git
				synced 2024-07-29 21:47:30 +00:00 
			
		
		
		
	fix: Fix harcoded gas limit value on helpers
This commit is contained in:
		
							parent
							
								
									3119882c91
								
							
						
					
					
						commit
						19cc58f30d
					
				|  | @ -30,7 +30,7 @@ import 'solidity-coverage'; | |||
| import { fork } from 'child_process'; | ||||
| 
 | ||||
| const SKIP_LOAD = process.env.SKIP_LOAD === 'true'; | ||||
| const DEFAULT_BLOCK_GAS_LIMIT = 12450000; | ||||
| const DEFAULT_BLOCK_GAS_LIMIT = 8000000; | ||||
| const DEFAULT_GAS_MUL = 5; | ||||
| const HARDFORK = 'istanbul'; | ||||
| const ETHERSCAN_KEY = process.env.ETHERSCAN_KEY || ''; | ||||
|  |  | |||
|  | @ -270,9 +270,7 @@ export const configureReservesByHelper = async ( | |||
|     console.log(`- Configure reserves in ${chunkedInputParams.length} txs`); | ||||
|     for (let chunkIndex = 0; chunkIndex < chunkedInputParams.length; chunkIndex++) { | ||||
|       await waitForTx( | ||||
|         await atokenAndRatesDeployer.configureReserves(chunkedInputParams[chunkIndex], { | ||||
|           gasLimit: 8000000, // TODO: Change this
 | ||||
|         }) | ||||
|         await atokenAndRatesDeployer.configureReserves(chunkedInputParams[chunkIndex]) | ||||
|       ); | ||||
|       console.log(`  - Init for: ${chunkedSymbols[chunkIndex].join(', ')}`); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 miguelmtzinf
						miguelmtzinf