In the DifferenceMomentumUpdateRule, kappa is a value used to detect aggressiveness. Assuming kappa has a scale from [-1, 1], where -1 is the least aggressive and 1 is the most aggressive, there might be cases where the kappa vector has values that sum to 0, including both positive and negative values.
Example with 4 kappa values:
[-0.5e18, 0.25e18, 0.2e18, 0.05e18]
In this scenario, while each individual value is valid, the sum of these values being 0 breaks the calculation due to the implementation logic:
A broken calculation occurs in the DifferenceMomentumUpdateRule when the kappa vector sums to 0.
Manual review.
To address this issue, use the absolute value for kappa:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.