Skip to content

Add event helper schema consistency tests in remitwise-common #328

@Baskarayelu

Description

@Baskarayelu

Description

Add tests for RemitwiseEvents helper to ensure event topic and payload shape consistency.

Requirements and context

  • Must be secure, tested, and documented
  • Should be efficient and easy to review
  • Prevent accidental schema drift in common event helper usage

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b test/common-event-helper-consistency
  • Implement changes
  • Write contract: remitwise-common/src/lib.rs
  • Write comprehensive tests: remitwise-common/src/lib.rs
  • Add documentation: README.md
  • Include NatSpec-style comments
  • Validate security assumptions

Test and commit

  • Run tests: cargo test -p remitwise-common
  • Cover edge cases
  • Include test output and security notes

Example commit message

test: add schema consistency tests for common event helpers

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programarea:remitwise-commonRemitWise contracts labelcontractsRemitWise contracts labeleventsRemitWise contracts labelpriority:lowRemitWise contracts labelqualityRemitWise contracts labeltype:testRemitWise contracts label

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions