Skip to content

Commit

Permalink
Add blobBaseFee to markdown report
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Mar 30, 2024
1 parent 7f357f9 commit 4e42103
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/render/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ export function generateMarkdownTable(
} = getCommonTableVals(options));

gasPrices = (options.L2)
? [[`L1 Base Fee`, `${l1gwei} gwei`], [`L2 Gas Price`, `${l2gwei} gwei` ]]
? [
[`L1 Base Fee`, `${options.baseFee!} gwei`],
[`L1 Blob Base Fee`, `${options.blobBaseFee!} gwei`],
[`L2 Gas Price`, `${l2gwei} gwei` ]
]
: [[`L1 Gas Price`, `${l1gwei} gwei`]];

tokenPrice = `${rate} ${currency}/${token}`
Expand Down
1 change: 1 addition & 0 deletions test/projects/options/hardhat.options.c.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const config: HardhatUserConfig = {
L2: "optimism",
gasPrice: 0.098775564,
baseFee: 79,
blobBaseFee: 15,
reportFormat: "markdown",
enabled: true
}
Expand Down

0 comments on commit 4e42103

Please sign in to comment.