Skip to content

feat(rotation): emit RotationVoted event on intermediate votes (#130) - #191

Closed
ZacLou wants to merge 1 commit into
drydocs:mainfrom
ZacLou:feat/rotation-voted-event-130
Closed

feat(rotation): emit RotationVoted event on intermediate votes (#130)#191
ZacLou wants to merge 1 commit into
drydocs:mainfrom
ZacLou:feat/rotation-voted-event-130

Conversation

@ZacLou

@ZacLou ZacLou commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Adds a RotationVoted contract event for the common case where a resolver casts a vote that neither passes nor deadlocks a rotation proposal.

Changes

  • New #[contractevent] RotationVoted with old_resolver, new_resolver, resolver, approve, yes_count, and no_count.
  • Emitted in vote_rotation when the vote lands in the still-open branch (Ok(None)).
  • Off-chain indexers/keepers can now track vote accumulation in real time rather than only learning the outcome once the proposal resolves.

Non-goals (preserved from issue)

  • No change to majority counting, deadlock guard, or execution logic.

Closes #130

…cs#130)

- Add RotationVoted contract event with resolver, vote, and current tally
- Publish in vote_rotation's still-open (Ok(None)) branch so off-chain
  indexers can track vote accumulation before terminal outcome
- No behavior change to majority/deadlock logic

Closes drydocs#130
@collinsezedike

Copy link
Copy Markdown
Collaborator

@ZacLou Closing. #130 is assigned to Iker2522, not you.

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.

[Chore] vote_rotation's intermediate votes emit no event

2 participants