Skip to content

Conversation

@0xChin
Copy link
Member

@0xChin 0xChin commented Jul 24, 2025

No description provided.

@0xChin 0xChin requested a review from 0xOneTony July 24, 2025 13:06
@0xChin 0xChin self-assigned this Jul 24, 2025

/// @notice Semantic version.
/// @custom:semver 1.0.0
string public constant version = "1.0.0";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Version Function Change Breaks Interface Compliance

The version function was converted from a public pure virtual function to a public constant string. This change removes the ability for derived contracts to override the version and alters its state mutability from pure to view, breaking interface compliance (e.g., with ISemver) and potentially affecting external contracts expecting a pure function.

Locations (2)

Fix in CursorFix in Web

@0xChin 0xChin merged commit 332b1f3 into fix/ir-findings Jul 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants