Skip to content

Dead CMask imports in LibFixedPointDecimalStrings #33

Description

@thedavidmeister

Unit

src/lib/LibFixedPointDecimalStrings.sol:16:

import {CMASK_NUMERIC_0_9, CMASK_DECIMAL_POINT} from "rain-string-0.2.0/src/lib/parse/LibParseCMask.sol";

Neither identifier is referenced anywhere in the file (the parsing that uses them lives in LibFixedPointDecimalParse.sol, which has its own imports).

Fix

Delete the import line. No behavior change; compile is the proof.

Found by the 2026-08-24 rain.string CMask consumer-oracle audit while tracing every mask constant to its call sites — this import is noise for any future consumer trace.

🤖 Generated with Claude Code

Metadata

Metadata

Labels

adversarialFound by adversarial testingauditAudit finding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions