From f8e303beea3cd7e1295effa41e77b0bc4b93cdc8 Mon Sep 17 00:00:00 2001 From: Will Minshew Date: Tue, 20 Sep 2022 14:52:02 -0700 Subject: [PATCH] prettier --- hardhat.config.ts | 7 +------ tasks/estimateGas.ts | 13 ++++--------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index f9df77a..20d1ead 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -103,12 +103,7 @@ const config: HardhatUserConfig = { timeout: 50000, }, dodoc: { - exclude: [ - 'Clones', - 'ReverseRecords', - 'SafeTransferLib', - 'ERC20', - ], + exclude: ['Clones', 'ReverseRecords', 'SafeTransferLib', 'ERC20'], }, } diff --git a/tasks/estimateGas.ts b/tasks/estimateGas.ts index ff47395..0954e75 100644 --- a/tasks/estimateGas.ts +++ b/tasks/estimateGas.ts @@ -122,10 +122,9 @@ export default task( // maybe make a fn that maps named inputs to their ordering in table? const sizeString = size.toString() - const gasUsed = [ - createSplitImmutableReceipt, - distributeETHNReceipt, - ].map((r) => r.gasUsed) + const gasUsed = [createSplitImmutableReceipt, distributeETHNReceipt].map( + (r) => r.gasUsed, + ) totalGas.push([sizeString, ...gasUsed.map(formatBN)]) totalGasUSD.push([ sizeString, @@ -151,11 +150,7 @@ export default task( ]) } - const head = [ - 'Size', - 'Create Split', - 'Distribute ETH', - ] + const head = ['Size', 'Create Split', 'Distribute ETH'] const alignment = Array(head.length).fill(Align.Right) const totalTable = getMarkdownTable({