The _getBaseWeight
function incorrectly retrieves contract-level weights instead of account-specific weights, despite accepting an account parameter.
Current implementation:
The function ignores the provided account parameter and always returns the contract's weight.
Incorrect account-specific weight calculations
Potential errors in staking and voting mechanisms
Manual Code Review
Either use account parameter in weight retrieval:
Or remove misleading account parameter if contract-level weight is intended
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.