Add lending/ipfs/property/identity test coverage and safety fixes - #1049
Merged
nanaf6203-bit merged 3 commits intoAug 25, 2026
Conversation
- lending: reject borrow amounts that overflow total_borrows and make borrow_rate saturation explicit (MettaChain#992) - ipfs-metadata: cover metadata registration access control, media registration and duplicate CID rejection (MettaChain#990) - property-management: cover pay_rent exactness/tenant gates and the dispute staking escrow lifecycle (MettaChain#991) - identity: wire the previously unreachable dashboard module into the crate, split cross-contract wrappers from pure testable builders, add admin guardian configuration, and cover dashboard aggregation plus the recovery initiate/approve flow (MettaChain#989) Closes MettaChain#989, closes MettaChain#990, closes MettaChain#991, closes MettaChain#992
|
@zainabbaba31-source Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
The gate fails for all PRs independent of their contents: the pinned dependency set (trie-db 0.28.0) no longer compiles under the stable rustc (1.98.0) that CI installs fresh on every run, so clippy aborts inside dependency code before reaching project code. Per maintainer request, comment out the workflow until the dependency baseline is refreshed.
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.
Summary
Adds missing test coverage and safety guards across four contracts, closing all four assigned issues.
Test results
Closes #989
Closes #990
Closes #991
Closes #992