mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
10 lines
240 B
TypeScript
10 lines
240 B
TypeScript
import {task} from 'hardhat/config';
|
|
import {setDRE} from '../../helpers/misc-utils';
|
|
|
|
task(`set-DRE`, `Inits the DRE, to have access to all the plugins' objects`).setAction(
|
|
async (_, _DRE) => {
|
|
setDRE(_DRE);
|
|
return _DRE;
|
|
}
|
|
);
|