Skip to content

Comments

feat: integrate governance event logging across all actions (closes #184)#198

Merged
Devsol-01 merged 3 commits intoDevsol-01:mainfrom
onahiOMOTI:update
Feb 24, 2026
Merged

feat: integrate governance event logging across all actions (closes #184)#198
Devsol-01 merged 3 commits intoDevsol-01:mainfrom
onahiOMOTI:update

Conversation

@onahiOMOTI
Copy link
Contributor

Closes #184

Changes

  • Integrated governance_events.rs emits into core governance functions
  • Added events for:
    • Proposal creation
    • Vote casting
    • Proposal queuing
    • Proposal execution
    • Proposal cancellation
  • Added cancel_proposal function (with event) if not already present
  • All events are now emitted at the correct moment with proper indexing

Why

  • Makes governance fully observable
  • Enables frontend real-time updates (new proposal, votes, execution, etc.)
  • Meets acceptance criteria: events emitted correctly & indexed for frontend

Testing

  • Tested locally: created proposal → emitted ProposalCreated
  • Voted → emitted VoteCast
  • Queued/executed/canceled → correct events appear
  • Verified topics include "gov" + action + actor

Ready for review/merge — governance is now event-complete.

@vercel
Copy link

vercel bot commented Feb 23, 2026

@onahiOMOTI is attempting to deploy a commit to the devsol-01's projects Team on Vercel.

A member of the Team first needs to authorize it.

@onahiOMOTI
Copy link
Contributor Author

cargo test passes

@Devsol-01 Devsol-01 merged commit 182f9bf into Devsol-01:main Feb 24, 2026
0 of 2 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.

## Governance Event Logging

2 participants