**Description:** The batch submission function needs tests for edge cases. **Why it matters:** Batch operations have complex validation logic that needs testing. **Acceptance Criteria:** - [ ] Test batch with all valid invoices - [ ] Test batch rejection when size > 10 - [ ] Test batch with some invalid invoices (should fail entirely) - [ ] Test referral tracking across batch **Relevant Files:** `contracts/invoice_liquidity/src/tests_new_features.rs` ---
Description:
The batch submission function needs tests for edge cases.
Why it matters: Batch operations have complex validation logic that needs testing.
Acceptance Criteria:
Relevant Files:
contracts/invoice_liquidity/src/tests_new_features.rs