Skip to content

Fix: Remove dead code (#331) - #347

Closed
laurentketterle-hub wants to merge 3 commits into
Heliobond:mainfrom
laurentketterle-hub:fix/remove-dead-code-331
Closed

Fix: Remove dead code (#331)#347
laurentketterle-hub wants to merge 3 commits into
Heliobond:mainfrom
laurentketterle-hub:fix/remove-dead-code-331

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Closes #331

  • Removed unused calculate_interest_rate function from project_registry/src/logic.rs
  • Added #[allow(dead_code)] attribute to 6 unused storage wrapper functions in project_registry/src/storage.rs: read_project, write_project, read_proposal, write_proposal, read_whitelist, write_whitelist

…e removal

- Add missing closing braces in get_volume_fee_tier, get_withdrawal_window,
  withdrawal_window_set, and funding_round_ended (Heliobond#310)
- Remove unreachable code in check_deposit_lock referencing undefined last_seq
- Fix duplicate enum discriminants: FundingRoundActive=42, InvestmentCapExceeded=43 (Heliobond#311)
- Remove dead calculate_interest_rate function (Heliobond#331)
- Add #[allow(dead_code)] to unused storage wrapper functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dead/duplicate interest-rate and storage-accessor code in logic.rs and storage.rs

1 participant