Skip to content

feat: more change to security council election - #354

Merged
gzeoneth merged 5 commits into
sc-rotationfrom
more-change-to-sc
Aug 14, 2025
Merged

feat: more change to security council election#354
gzeoneth merged 5 commits into
sc-rotationfrom
more-change-to-sc

Conversation

@gzeoneth

Copy link
Copy Markdown
Collaborator

On top of audited #315

godzillaba and others added 5 commits July 31, 2025 23:50
* automatically make members nominees

* member must add themself as contender before nomination

* test auto nomination

* fix tests

* gas snapshot

* test: reelection

* chore: update snapshot

---------

Co-authored-by: gzeon <im@gzeon.dev>
* feat: setCadence

* test: setCadence

* chore: update misc

* test: 36 months

* feat: CadenceChanged event

* refactor: move CadenceChanged to Timing abstract contract

* update optimizer runs

* refactor: cut some size

* refactor: equal 0

* fix: return

* docs: currentElectionCount

* refactor: use solady add and subMonths

* chore: reduce sec_council_mgmt opt-run to 500 due to contract size

* chore: cleanup lint warning

* Simple cadence minor fixes (#359)

---------

Co-authored-by: Henry <11198460+godzillaba@users.noreply.github.com>
Co-authored-by: José FP <105675159+TucksonDev@users.noreply.github.com>
* feat: setCadence

* test: setCadence

* chore: update misc

* test: 36 months

* feat: CadenceChanged event

* refactor: move CadenceChanged to Timing abstract contract

* update optimizer runs

* refactor: cut some size

* refactor: equal 0

* fix: return

* docs: currentElectionCount

* refactor: use solady add and subMonths

* chore: reduce sec_council_mgmt opt-run to 500 due to contract size

* refactor: rename to SecurityCouncilUpgradeAction

* feat: SecurityCouncilUpgradeAction

* chore: cleanup lint warning

* chore: storage

* chore: 4bytes

* feat: more validations

---------

Co-authored-by: Henry <11198460+godzillaba@users.noreply.github.com>
* feat: setCadence

* test: setCadence

* chore: update misc

* test: 36 months

* feat: CadenceChanged event

* refactor: move CadenceChanged to Timing abstract contract

* update optimizer runs

* refactor: cut some size

* refactor: equal 0

* fix: return

* docs: currentElectionCount

* refactor: use solady add and subMonths

* chore: reduce sec_council_mgmt opt-run to 500 due to contract size

* refactor: rename to SecurityCouncilUpgradeAction

* feat: SecurityCouncilUpgradeAction

* chore: cleanup lint warning

* chore: storage

* chore: 4bytes

* feat: more validations

* revert: rotatingTo

* feat: rotateNominee

* chore: contract size reduction

* refactor: use isCompliantNominee

* fix: wrong sign

* fix: rotationDeadline

* test: rotateNominee

* review fixes for "feat: rotateNominee" (#360)

* misc review fixes

* fix gas and sigs

---------

Co-authored-by: Henry <11198460+godzillaba@users.noreply.github.com>
@gzeoneth
gzeoneth marked this pull request as ready for review August 14, 2025 08:34
@gzeoneth
gzeoneth merged commit d89b171 into sc-rotation Aug 14, 2025
7 of 8 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.

2 participants