Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
wminshew committed Sep 20, 2022
1 parent 478432f commit f8e303b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
7 changes: 1 addition & 6 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,7 @@ const config: HardhatUserConfig = {
timeout: 50000,
},
dodoc: {
exclude: [
'Clones',
'ReverseRecords',
'SafeTransferLib',
'ERC20',
],
exclude: ['Clones', 'ReverseRecords', 'SafeTransferLib', 'ERC20'],
},
}

Expand Down
13 changes: 4 additions & 9 deletions tasks/estimateGas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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({
Expand Down

0 comments on commit f8e303b

Please sign in to comment.