Skip to content

Administrative changes lack Event emission #185

@hman38705

Description

@hman38705

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.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions