Area
Investment Vault / Testing
Complexity
Easy
File(s)
investment_vault/src/lib.rs:1413-1440 (start_funding_round/end_funding_round/is_funding_round_active), :2213-2222 (FungibleToken::transfer override)
Problem
Grepping test.rs for start_funding_round/end_funding_round/is_funding_round_active/FundingRoundActive returns zero hits. The transfer override that's supposed to block HBS transfers during an active funding round ("to prevent vault-accounting manipulation") has never been exercised by a test, so a regression here would go unnoticed.
Scope
In:
- Test that transfer panics with FundingRoundActive while a round is open, and succeeds once closed.
Out:
- Changing the funding-round semantics.
Acceptance Criteria
Area
Investment Vault / Testing
Complexity
Easy
File(s)
investment_vault/src/lib.rs:1413-1440 (start_funding_round/end_funding_round/is_funding_round_active), :2213-2222 (FungibleToken::transfer override)
Problem
Grepping test.rs for start_funding_round/end_funding_round/is_funding_round_active/FundingRoundActive returns zero hits. The transfer override that's supposed to block HBS transfers during an active funding round ("to prevent vault-accounting manipulation") has never been exercised by a test, so a regression here would go unnoticed.
Scope
In:
Out:
Acceptance Criteria