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
Describe the bug
updateTaxPolicy and updateRewardPolicy are updating new tax-rate and reward-weight with current ctx. The ctx height is the last block of current epoch, but treasury should update next epoch's tax-rate and reward-weight at the last block of current epoch.
To Reproduce
swap luna to terra
current epoch(tax-rate and reward-weight) will be set at the last block of current epoch, not next epoch.
Context & versions
core-v0.2.x
(if applicable) suggested solution
In updateTaxPolicy and updateRewardPolicy, change ctx input of keeper setter to ctx with next epoch height.
The text was updated successfully, but these errors were encountered:
Describe the bug
updateTaxPolicy and updateRewardPolicy are updating new tax-rate and reward-weight with current ctx. The ctx height is the last block of current epoch, but treasury should update next epoch's tax-rate and reward-weight at the last block of current epoch.
To Reproduce
Context & versions
core-v0.2.x
(if applicable) suggested solution
In updateTaxPolicy and updateRewardPolicy, change ctx input of keeper setter to ctx with next epoch height.
The text was updated successfully, but these errors were encountered: