Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tables thinner with narrower label text #187

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/lib/render/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,22 +247,22 @@ export function generateTerminalTextTable(
{
hAlign: "left",
colSpan: 1,
content: chalk.cyan(`Optimizer: ${solc.optimizer}`)
content: chalk.cyan(`Optim: ${solc.optimizer}`)
},
{
hAlign: "left",
colSpan: 1,
content: chalk.cyan(`viaIR: ${solc.viaIR.toString()}`)
content: chalk.cyan(`Runs: ${solc.runs}`)
},
{
hAlign: "left",
colSpan: 1,
content: chalk.cyan(`Runs: ${solc.runs}`)
content: chalk.cyan(`viaIR: ${solc.viaIR.toString()}`)
},
{
hAlign: "center",
colSpan: blockLimitColumnWidth,
content: chalk.cyan(`Block limit: ${utils.commify(hre.__hhgrec.blockGasLimit!)} gas`)
content: chalk.cyan(`Block: ${utils.commify(hre.__hhgrec.blockGasLimit!)} gas`)
}
];

Expand Down
3 changes: 1 addition & 2 deletions src/utils/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ export function getCommonTableVals(options: GasReporterOptions) {
}

const nonZeroMsg = "Cost was non-zero but below the precision setting for the currency display";
const intrinsicMsg = "Execution gas vals for methods with this symbol do not include intrinsic gas overhead " +
"(due to `eth_call` or option settings)";
const intrinsicMsg = "Execution gas for this method does not include intrinsic gas overhead ";

return {
l1gwei,
Expand Down