Skip to content

Test – get_fee_analytics and collect_transaction_fees #348

@Baskarayelu

Description

@Baskarayelu

Description
Add tests for get_fee_analytics (period); collect_transaction_fees (internal) called after fee calculation; treasury and platform receive correct amounts.

Requirements and context

  • Achieve minimum 95% test coverage for fee analytics and collection
  • Smart contracts only (Soroban/Rust)

Suggested execution

  1. Fork the repo and create a branch
    git checkout -b test/fee-analytics-collect
  2. Implement changes
    • Add tests in src/test_fees.rs
  3. Test and commit
    • Run cargo test
    • Attach test output

Example commit message
test: get_fee_analytics and collect_transaction_fees

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 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