Skip to content

Conversation

@0xChin
Copy link
Member

@0xChin 0xChin commented Apr 28, 2025

Closes OPT-776

@0xChin 0xChin requested a review from 0xOneTony April 28, 2025 21:20
@0xChin 0xChin self-assigned this Apr 29, 2025
@linear
Copy link

linear bot commented May 6, 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.

looks good! 2 small comments

@0xChin 0xChin changed the base branch from feat/add-delegate-proposal-validator to sc-feat/permissionless-proposals May 6, 2025 16:57
@0xChin 0xChin merged commit ee2f4b1 into sc-feat/permissionless-proposals May 6, 2025
2 checks passed
@0xChin 0xChin deleted the feat/duplicated-proposals-check branch May 6, 2025 17:47
0xOneTony added a commit that referenced this pull request Jul 29, 2025
* feat: add initial interface and logic

* refactor: remove installed governor submodule

* chore: remove xERC20

* feat: add proposal routing full flow

* feat: check voting power and required proposals

* refactor: rename to ProposalValidator

* feat: add EAS validation for certain Proposal Types

* feat: add duplicated proposals validation

* chore: fix attestation schema approved address naming

Co-authored-by: 0xOneTony <[email protected]>
Signed-off-by: Chiin <[email protected]>

* chore: remove management functions

* chore: run pre-pr

* refacto: follow style guide for function parameters and return variables

* docs: add natspec, remove unused errors

* chore: remove management functions from interface

* chore: make voting token immutable

* perf: make governor immutable

* feat: add validator management functions

* chore: add comments for imports in ProposalValidator

* test: add unit tests

* chore: run pre-pr

* fix: semgrep warnings

* chore: rename MaintenanceUpgradeProposals --> MaintenanceUpgrade

* chore(semgrep): add excluded governance files

* chore: fix coding style

* chore: add ImmutableProposalTypeData

* chore: improve errors naming

* docs: improve natspec

Co-authored-by: 0xOneTony <[email protected]>
Signed-off-by: Chiin <[email protected]>

* docs: add technical explanation on attestation validation function

* feat: add _proposalTypeData mapping

* chore: keep private functions consistency

* chore: improve required attestation naming

* chore: run pre-pr

* chore: more descriptive errors

* chore: confusing error name in submitProposal

---------

Signed-off-by: Chiin <[email protected]>
Co-authored-by: 0xOneTony <[email protected]>
0xOneTony added a commit that referenced this pull request Jul 29, 2025
* feat: add initial interface and logic

* refactor: remove installed governor submodule

* chore: remove xERC20

* feat: add proposal routing full flow

* feat: check voting power and required proposals

* refactor: rename to ProposalValidator

* feat: add EAS validation for certain Proposal Types

* feat: add duplicated proposals validation

* chore: fix attestation schema approved address naming

Co-authored-by: 0xOneTony <[email protected]>
Signed-off-by: Chiin <[email protected]>

* chore: remove management functions

* chore: run pre-pr

* refacto: follow style guide for function parameters and return variables

* docs: add natspec, remove unused errors

* chore: remove management functions from interface

* chore: make voting token immutable

* perf: make governor immutable

* feat: add validator management functions

* chore: add comments for imports in ProposalValidator

* test: add unit tests

* chore: run pre-pr

* fix: semgrep warnings

* chore: rename MaintenanceUpgradeProposals --> MaintenanceUpgrade

* chore(semgrep): add excluded governance files

* chore: fix coding style

* chore: add ImmutableProposalTypeData

* chore: improve errors naming

* docs: improve natspec

Co-authored-by: 0xOneTony <[email protected]>
Signed-off-by: Chiin <[email protected]>

* docs: add technical explanation on attestation validation function

* feat: add _proposalTypeData mapping

* chore: keep private functions consistency

* chore: improve required attestation naming

* chore: run pre-pr

* chore: more descriptive errors

* chore: confusing error name in submitProposal

---------

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