You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The return_per_1000 in DelegateInfo RPC has hardcoded parameter
The 18% delegate take is hardcoded as 1 - 18% = 0.82 in get_delegate_by_existing_account. If it changes, the DelegateInfo::return_per_1000 will be inaccurate. Change it to read the delegate take from Delegates state map.
The text was updated successfully, but these errors were encountered:
gztensor
changed the title
The return_per_1000 in DelegateInfo RPC has hardcoded parameter
Calculation of the return_per_1000 in DelegateInfo RPC is incorrect
Nov 18, 2024
gztensor
changed the title
Calculation of the return_per_1000 in DelegateInfo RPC is incorrect
[RAO] Calculation of the return_per_1000 in DelegateInfo RPC is incorrect
Nov 18, 2024
The
return_per_1000
in DelegateInfo RPC has hardcoded parameterThe 18% delegate take is hardcoded as 1 - 18% = 0.82 in
get_delegate_by_existing_account
. If it changes, the DelegateInfo::return_per_1000 will be inaccurate. Change it to read the delegate take fromDelegates
state map.The text was updated successfully, but these errors were encountered: