mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
14 lines
503 B
TypeScript
14 lines
503 B
TypeScript
|
import {task} from '@nomiclabs/buidler/config';
|
||
|
import {checkVerification} from '../../helpers/etherscan-verification';
|
||
|
|
||
|
task('uniswap:dev', 'Deploy development enviroment')
|
||
|
.addOptionalParam('verify', 'Verify contracts at Etherscan')
|
||
|
.setAction(async ({verify}, localBRE) => {
|
||
|
await localBRE.run('set-bre');
|
||
|
// Prevent loss of gas verifying all the needed ENVs for Etherscan verification
|
||
|
if (verify) {
|
||
|
checkVerification();
|
||
|
}
|
||
|
console.log('TODO: Pending to migrate');
|
||
|
});
|