the white paper defines w(t) = w(t-1) + κ[channel + trend - normalizationFactor] in ChannelFollowingUpdateRule.sol
with the following declarations in the natspec
The issue comes from the scaling down of the absolute gradient value (|g/(2S)|) by 2S which is not reflected in the whitepaper
the protocol deviates from the whitepaper
could lead to miscalculations in the long run
Manual review
The protocol should strictly follow the calculations in the white paper
The formula here is the one in Whitepaper page 11, which is right and the division is explained on the last line : "Finally note …".
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.