-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Functions like set_creator_reputation and set_creation_deposit perform critical administrative state changes but do not emit any cross-contract events. This makes it impossible for the community or off-chain monitoring tools to audit protocol-level changes in real-time without polling the contract state, reducing transparency.
Requirements and context
- Emit standardized events for all administrative state transitions.
- Include both old and new values in the event payload.
Suggested execution
- Fork the repo and create a branch:
git checkout -b fix/issue-82-admin-events - Update the admin module.
Implementation changes
- Modify
markets.rs(Lines 192 & 207) to call event emission functions.
Test and commit
- Verify that a reputation update for a creator is visible in the event log.
Example commit message
fix: add event emission for administrative state changes
Guidelines
- Protocol transparency.
- Timeframe: 12 hours.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program