Skip to content

Conversation

@0xChin
Copy link
Member

@0xChin 0xChin commented May 28, 2025

Closes OPT-800, OPT-807

🐧 ?

@0xChin 0xChin requested a review from 0xOneTony May 28, 2025 16:36
@0xChin 0xChin self-assigned this May 28, 2025
@linear
Copy link

linear bot commented May 28, 2025

Copy link
Member

@0xOneTony 0xOneTony left a comment

Choose a reason for hiding this comment

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

Good job so far! Lets try to be a bit more careful with natspecs and variable naming both in src and in tests. We want to be as verbose as possible and anyone reading our code should be able to understand at least on a high level what we do.
I am also considering removing the "proposalTypeConfigurator" name all together and rename to "votingModule" but thats for a different PR.

@0xChin 0xChin requested a review from 0xOneTony May 30, 2025 15:05
@linear
Copy link

linear bot commented May 30, 2025

@0xChin 0xChin changed the title refactor: proposal type configurator refactor: proposal type data struct May 30, 2025
Copy link
Member

@0xOneTony 0xOneTony left a comment

Choose a reason for hiding this comment

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

LGTM! good job

@0xChin 0xChin merged commit 726f2bd into sc-feat/permissionless-proposals Jun 2, 2025
2 checks passed
0xOneTony pushed a commit that referenced this pull request Jul 29, 2025
* refactor: use proposalTypesData mapping

* docs: improve natspec

* feat: add mismatched lenghts check in contract initializer

* fix: emit ProposalTypeDataSet with missing arg

* refactor: correct naming in test helper functions

* refactor: correct variable naming in fuzz tests

* perf: remove redundant fields from ProposalData struct

* chore: run pre-pr

* chore: improve code formatting
0xOneTony pushed a commit that referenced this pull request Jul 29, 2025
* refactor: use proposalTypesData mapping

* docs: improve natspec

* feat: add mismatched lenghts check in contract initializer

* fix: emit ProposalTypeDataSet with missing arg

* refactor: correct naming in test helper functions

* refactor: correct variable naming in fuzz tests

* perf: remove redundant fields from ProposalData struct

* chore: run pre-pr

* chore: improve code formatting
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