Skip to content

Conversation

@0xiamflux
Copy link

@0xiamflux 0xiamflux commented Aug 12, 2025

Closes OPT-1004
Complies with pre-pr rules for ProposalValidator tests by:

  • Moving the helper ProposalValidatorForTest out of the test files
  • Renaming test contract
  • Committing to the semver lock

@0xiamflux 0xiamflux requested a review from agusduha August 12, 2025 18:05
@0xiamflux 0xiamflux self-assigned this Aug 12, 2025
@linear
Copy link

linear bot commented Aug 12, 2025

OPT-1004 Fix pre-pr

/// @title ProposalValidator_HashProposalWithModule_Test
/// @notice Tests for the hashProposalWithModule function
contract ProposalValidator_HashProposalWithModule_Test is ProposalValidator_TestInit {
contract ProposalValidator_Uncategorized_Test is ProposalValidator_TestInit {
Copy link
Member

Choose a reason for hiding this comment

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

HashProposalWithModule is not a function right?

Copy link
Author

Choose a reason for hiding this comment

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

It is, but it's internal.

Copy link
Member

Choose a reason for hiding this comment

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

Ok lets add a comment on why the Uncategorized so its clear what we are testing

Copy link
Author

Choose a reason for hiding this comment

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

Perfect.

Copy link
Author

Choose a reason for hiding this comment

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

Addressed in here.

@0xiamflux 0xiamflux merged commit 1300c98 into sc-feat/permissionless-proposals Aug 12, 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