Skip to content

chore(common): remove unnecessary ReportKind abstraction #11505

@mablr

Description

@mablr

I propose to remove struct ReportKind as it is a redundant abstraction layer over shell.

pub enum ReportKind {

It is only used in SizeReport, TestSummaryReport, and GasReport. Other forge report types are already using shell directly (e.g. storage, selectors...).

This straightforward simplification represents a nice initial step towards refactoring and unifying the display of all Forge report types (#11473 as follow-up).

If you think it's relevant, I would be happy to propose a PR 😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions