Omniscia Boson Protocol Audit
BundleHandlerFacet Code Style Findings
BundleHandlerFacet Code Style Findings
BHF-01C: Unused Code
Type | Severity | Location |
---|---|---|
Code Style | ![]() | BundleHandlerFacet.sol:L15-L18 |
Description:
The BundleUpdateAttribute
remains unused in the codebase.
Example:
contracts/protocol/facets/BundleHandlerFacet.sol
15enum BundleUpdateAttribute {16 TWIN,17 OFFER18}
Recommendation:
We advise it to either be safely omitted or update functionality to be introduced to the codebase, either of which would be a sufficient alleviation of this exhibit.
Alleviation (44009967e4f68092941d841e9e0f5dd2bb31bf0b):
The redundant enum
declaration has been safely omitted from the codebase.