logs: organize logs at tenderly-utils.ts

This commit is contained in:
David Racero 2021-05-12 09:50:24 +02:00
parent 009752df4f
commit 6312f9ad64

View File

@ -8,12 +8,10 @@ export const usingTenderly = () =>
process.env.TENDERLY === 'true'); process.env.TENDERLY === 'true');
export const verifyAtTenderly = async (id: string, instance: Contract) => { export const verifyAtTenderly = async (id: string, instance: Contract) => {
console.log(); console.log('\n- Doing Tenderly contract verification of', id);
console.log('Doing Tenderly contract verification of', id);
await (DRE as any).tenderlyRPC.verify({ await (DRE as any).tenderlyRPC.verify({
name: id, name: id,
address: instance.address, address: instance.address,
}); });
console.log(`Verified ${id} at Tenderly!`); console.log(` - Verified ${id} at Tenderly!`);
console.log();
}; };