Skip to content

Remove duplicate Stats type alias in stats.rs #709

Description

@Kingsman-99

Description

stats.rs declares pub type Stats = (u64, i128, u64); twice (once near line 9 and again near line 16), which is a compile warning-level duplicate definition. Cleaning up the duplicate (as part of the broader refactor to a named struct) makes the module tidier and removes the warning.

Acceptance Criteria

  • Duplicate type Stats alias removed; exactly one declaration remains, or removed entirely if replaced by a ProtocolStats struct
  • All compilation warnings in stats.rs resolved
  • cargo test passes
  • cargo clippy -- -D warnings passes for the split crate

Context

  • Target file: contracts/split/src/stats.rs

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcomplexity: highComplex feature requiring deep knowledge - 200 ptsrefactorCode quality and restructuring

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions