Skip to content

Standardize Event Topic Naming Across Modules #123

@hman38705

Description

@hman38705

issues : 15

Great issue: Standardize Event Topic Naming Across Modules

Description
The contract suite uses inconsistent methods for naming event topics, mixing symbol_short! and Symbol::new. This fragmentation forces off-chain indexers and analytics platforms to implement custom logic for every module, increasing the fragility of the data pipeline.

Requirements and context

  • Standardize all event emission to use a consistent format.
  • Preferably move event definitions to a central events.rs module.

Suggested execution

  • Fork the repo and create a branch: git checkout -b fix/issue-15-event-standardization
  • Global refactor of event emission.

Implementation changes

  • Update fees.rs (around line 61) and other modules to use a unified event emitter.

Test and commit

  • Verify all events are correctly picked up by a standard Soroban event indexer.

Example commit message
refactor: unify event naming conventions across all modules

Guidelines

  • Maintainability of off-chain monitoring tools.
  • Timeframe: 24 hours.

Metadata

Metadata

Assignees

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