-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
The current validator system lacks proper incentive mechanisms and slashing conditions. Validators could potentially act maliciously without consequences, and there's no mechanism to reward good behavior.
Current Problem:
fn distribute_validator_fees(ref self: ContractState, pool_id: u256) {
let total_validator_fee = self.validator_fee.read(pool_id);
let validator_count = self.validators.len();
let fee_per_validator = total_validator_fee / validator_count_u256;
// No slashing conditions
// No reputation system
// No incentive for accurate validation
}
PR Requirements:
Implement validator reputation system
Add slashing conditions for malicious validators (slashing can be called by admin)
Create validator performance metrics
Implement dynamic fee distribution based on performance
Add validator incentive tests and documentation
Metadata
Metadata
Assignees
Labels
No labels