Skip to content

Refactor/move constants to params - #1678

Merged
Baskarayelu merged 8 commits into
Remitwise-Org:mainfrom
JuanVP2:refactor/move-constants-to-params
Jul 30, 2026
Merged

Refactor/move constants to params#1678
Baskarayelu merged 8 commits into
Remitwise-Org:mainfrom
JuanVP2:refactor/move-constants-to-params

Conversation

@JuanVP2

@JuanVP2 JuanVP2 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Closes #1572

Summary

This PR refactors bill_payments by extracting operational constants and parameters from src/lib.rs into a dedicated src/params.rs module.

Changes Made

  • Created bill_payments/src/params.rs containing all configuration limits, operational constants, and rate limiting parameters.
  • Updated bill_payments/src/lib.rs to declare pub mod params; and re-export pub use params::*; ensuring backward compatibility.
  • Maintained exact runtime behavior and module interfaces without logic changes.

Verification

  • cargo check -p bill_payments
  • cargo test --lib -p bill_payments

@Baskarayelu
Baskarayelu merged commit c7cb256 into Remitwise-Org:main Jul 30, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: move constants out of lib.rs into params.rs

2 participants