Area
Investment Vault / Build
Complexity
Easy
File(s)
investment_vault/src/lib.rs:1125-1130 (get_withdrawal_window), :2089-2105 (check_deposit_lock); investment_vault/src/events.rs:505-507, :519-521
Problem
The crate currently does not compile. cargo check -p investment-vault fails with error: this file contains an unclosed delimiter --> investment_vault/src/lib.rs:2246:16, tracing back through get_withdrawal_window and check_deposit_lock — four functions are missing their closing } before the next doc-comment/section header. This is confirmed live on main: the most recent CI run (gh run list --repo Heliobond/contracts --branch main) shows the CI and Benchmarks workflows both failing with this exact error, and the docs job fails documenting investment-vault for the same reason.
Scope
In:
- Add the four missing closing braces (verified by brace-depth analysis of the file).
Out:
- Any behavioral changes to the functions themselves.
Acceptance Criteria
Area
Investment Vault / Build
Complexity
Easy
File(s)
investment_vault/src/lib.rs:1125-1130 (get_withdrawal_window), :2089-2105 (check_deposit_lock); investment_vault/src/events.rs:505-507, :519-521
Problem
The crate currently does not compile.
cargo check -p investment-vaultfails witherror: this file contains an unclosed delimiter --> investment_vault/src/lib.rs:2246:16, tracing back throughget_withdrawal_windowandcheck_deposit_lock— four functions are missing their closing}before the next doc-comment/section header. This is confirmed live onmain: the most recent CI run (gh run list --repo Heliobond/contracts --branch main) shows the CI and Benchmarks workflows both failing with this exact error, and thedocsjob fails documentinginvestment-vaultfor the same reason.Scope
In:
Out:
Acceptance Criteria
cargo checkandcargo testsucceed for the investment_vault crate