Repository navigation
Open
Labels
GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26difficulty: hardHard difficulty issueenhancementNew feature or requestpriority: mediumMedium priority issue
Description
Description
This issue aims to address the implementation of Slashing Mechanism for Malicious Jurors.
The core objective is to: Deduct stakes from jurors who consistently vote against the absolute majority consensus.
By completing this feature, we will ensure that the TrustFlow protocol maintains its high standards for security, usability, and decentralized logic. This issue requires careful attention to the Smart Contracts architecture and adherence to the existing project conventions.
When picking up this issue, please ensure you document any new dependencies or architectural decisions made during development.
Component
Smart Contracts
Difficulty
🔴 Hard
Tasks
- Review Soroban architecture and
soroban-cliusage - Implement Rust logic for: Slashing Mechanism for Malicious Jurors
- Write comprehensive unit tests in Rust
- Ensure proper event emission for indexing
- Run
cargo fmtandcargo clippy - Verify
soroban contract buildsuccessfully compiles to WASM without bloating size
Acceptance Criteria
- Feature accurately implements the objective: Deduct stakes from jurors who consistently vote against the absolute majority consensus.
- Any PR that introduces Rust errors is automatically blocked
- CI pipeline runs in under 3 minutes per PR
- Code is properly reviewed and approved by codeowners
Estimated Time
1-3 days
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26difficulty: hardHard difficulty issueenhancementNew feature or requestpriority: mediumMedium priority issue
Activity
ranjeet150 commentedon Sep 15, 2026
Hey maintainers,
I am interested in working on this issue.
Plan:
Slashing Mechanism for Malicious Jurorsfollowing project idioms and storage invariants.I am ready to start immediately—please feel free to assign this to me!