Skip to content

Convert calibnet wallet check bash scripts to Rust #6850

@coderabbitai

Description

@coderabbitai

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions