Skip to content

Conversation

@0xChin
Copy link
Member

@0xChin 0xChin commented May 23, 2025

No description provided.

@0xChin 0xChin requested a review from 0xOneTony May 23, 2025 12:23
@0xChin 0xChin self-assigned this May 23, 2025
@0xChin 0xChin added the hold Do not merge for now label May 23, 2025
@0xChin 0xChin removed the hold Do not merge for now label May 23, 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.

I noticed we set the voting cycle data on initiallization but I dont think this is needed, wdyt?

{
_setMinimumVotingPower(_minimumVotingPower);
_setVotingCycleBlock(_votingCycleBlock);
_setVotingCycleData(_cycleNumber, _startBlock, _duration, _votingCycleDistributionLimit);
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to set the voting cycle data on initiallization?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd recommend keeping it as it is required for moving to vote any proposal. This is being further discussed internally regarding how the logic will be done. I prefer to keep this for the moment

Copy link
Member

Choose a reason for hiding this comment

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

thinking more about this maybe we can keep it and even if no cycle is active or planned we could always use the previous one i guess

@0xChin 0xChin requested a review from 0xOneTony May 28, 2025 14:51
@0xChin 0xChin merged commit ec4369c into sc-feat/permissionless-proposals May 28, 2025
2 checks passed
0xOneTony pushed a commit that referenced this pull request Jul 29, 2025
* feat: add upgradeability to ProposalValidator contract

* chore: fix styling

* feat: add admin functions and tests

* chore: more descriptive variables naming

* test: expect event emissions

* test: use fuzzing for setter functions

* chore: run pre-pr

* docs: use correct natspec in ProosalValidator contract

* feat: add semver

* feat: add reinitializable base

* chore: run pre-pr

* chore: run pre-pr

---------

Signed-off-by: Chiin <[email protected]>
0xOneTony pushed a commit that referenced this pull request Jul 29, 2025
* feat: add upgradeability to ProposalValidator contract

* chore: fix styling

* feat: add admin functions and tests

* chore: more descriptive variables naming

* test: expect event emissions

* test: use fuzzing for setter functions

* chore: run pre-pr

* docs: use correct natspec in ProosalValidator contract

* feat: add semver

* feat: add reinitializable base

* chore: run pre-pr

* chore: run pre-pr

---------

Signed-off-by: Chiin <[email protected]>
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