Open Issues Need Help
View All on GitHubAI Summary: This enhancement aims to resolve `mismatched_lifetime_syntaxes` warnings reported by `cargo clippy`. The warnings occur in three builder methods across exchange and info providers due to inconsistent lifetime syntax where `&self` lifetimes are elided but hidden in return types. The fix involves adding explicit `'_` lifetime annotations to the affected return types without altering existing behavior or breaking tests.
AI Summary: This GitHub issue addresses Clippy warnings in `exchange.rs` where three functions (`perp_deploy_register_asset`, `c_validator_register`, `c_validator_change_profile`) exceed the recommended maximum of 7 arguments. The goal is to refactor these functions to reduce their argument count, thereby improving API ergonomics and maintainability. The solution must ensure existing tests pass, public API functionality remains equivalent, and documentation is updated.