Description
Ensure the workspace includes vault, revenue_pool, and settlement exactly once each (as product intends) and cargo metadata succeeds.
Requirements and context
- CI must use a coherent workspace graph.
- Update README layout tree if needed.
Suggested execution
- Fork the repo and create a branch:
git checkout -b fix/workspace-cargo-members
- Implement changes in the Callora-Contracts Soroban workspace (
contracts/*/src/).
- Run
cargo fmt, cargo clippy --all-targets --all-features -- -D warnings, and cargo test from the workspace root.
- For WASM release builds:
cargo build --target wasm32-unknown-unknown --release -p callora-vault (adjust -p if the crate name differs).
Deliverables
- Edit
Callora-Contracts/Cargo.toml.
- Run
cargo test --workspace.
Test and commit
- Run tests and
./scripts/coverage.sh (or cargo tarpaulin per tarpaulin.toml).
- Cover edge cases; include summarized test output and brief security notes in the PR description.
Example commit message
fix(workspace): correct Cargo workspace members list
Guidelines
- Minimum 95% line coverage for touched crates (workspace policy).
- Clear documentation (Rust
/// on public items where applicable; repo markdown as needed).
- Timeframe: 96 hours from assignment unless agreed otherwise.
Description
Ensure the workspace includes vault, revenue_pool, and settlement exactly once each (as product intends) and
cargo metadatasucceeds.Requirements and context
Suggested execution
git checkout -b fix/workspace-cargo-memberscontracts/*/src/).cargo fmt,cargo clippy --all-targets --all-features -- -D warnings, andcargo testfrom the workspace root.cargo build --target wasm32-unknown-unknown --release -p callora-vault(adjust-pif the crate name differs).Deliverables
Callora-Contracts/Cargo.toml.cargo test --workspace.Test and commit
./scripts/coverage.sh(orcargo tarpaulinpertarpaulin.toml).Example commit message
Guidelines
///on public items where applicable; repo markdown as needed).