Summary
The bash scripts used for calibnet wallet integration tests (e.g., scripts/tests/calibnet_delegated_wallet_check.sh, scripts/tests/calibnet_wallet_check.sh) have grown complex and are difficult to maintain. They should be converted to proper Rust code (e.g., using a test harness or integration test binary) to improve readability, maintainability, and type safety.
Motivation
As noted in PR #6788 (comment: #6788 (comment)), the bash scripts are increasingly complex, with repeated retry loops, manual string parsing, and ad-hoc error handling that is error-prone and hard to extend.
Suggested Approach
- Rewrite the wallet calibnet check scripts as Rust integration tests or a dedicated binary under
scripts/tests/ or a suitable location in the Rust workspace.
- Ensure feature parity with the existing bash scripts (delegated wallet creation, funding, balance polling, remote wallet operations, etc.).
References
Summary
The bash scripts used for calibnet wallet integration tests (e.g.,
scripts/tests/calibnet_delegated_wallet_check.sh,scripts/tests/calibnet_wallet_check.sh) have grown complex and are difficult to maintain. They should be converted to proper Rust code (e.g., using a test harness or integration test binary) to improve readability, maintainability, and type safety.Motivation
As noted in PR #6788 (comment: #6788 (comment)), the bash scripts are increasingly complex, with repeated retry loops, manual string parsing, and ad-hoc error handling that is error-prone and hard to extend.
Suggested Approach
scripts/tests/or a suitable location in the Rust workspace.References