Merged
Conversation
…mpile issues - Add .github/workflows/ci.yml with 4 jobs: fmt check, clippy (-D warnings), cargo check (wasm32-unknown-unknown), and cargo test - Add .pre-commit-config.yaml with cargo fmt and cargo clippy hooks - Update CONTRIBUTING.md with CI pipeline table and pre-commit setup docs - Fix governance.rs: replace loan.defaulted field with loan.status comparison - Expose get_slash_vote on contract public API in lib.rs - Fix all test files: replace .defaulted/.repaid bool fields with LoanStatus enum - Rewrite slash_auth_test.rs to use vote_slash instead of removed slash fn - Remove unused imports: Config, DataKey, ContractError across test files - Remove dead struct fields: contract_id from Setup structs in 5 test files - Remove dead code: get_slash_balance, token_client from helpers.rs - Remove dead rate-limit vars (_now, _last) from vouch.rs - Remove unused slash_balance variable from loan.rs repay function - Fix slash_precision_small_stake_test.rs: escaped string literals and dead vars - Fix security_fixes_test.rs: redundant assignment to total_inflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes QuorumCredit#198
Body:
Category: Infrastructure - Developer Experience
Priority: Low
Estimated Time: 1 hour
Description:
Add pre-commit hooks to run cargo fmt and cargo clippy before every commit.
Tasks:
Add .pre-commit-config.yaml
Configure fmt and clippy hooks
Document setup in CONTRIBUTING.md