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
On handleMsgEditValidator, we presently run stakeKeeper.UpdateValidator, which runs the full power update logic - as far as I can tell, this is unnecessary, since only the description has changed. All we need to do is write the primary record in the store.
cwgoes
changed the title
Avoid calling the full update loop when validator description is changed
Avoid calling the full update loop when only validator description has changed
Jul 25, 2018
On
handleMsgEditValidator
, we presently runstakeKeeper.UpdateValidator
, which runs the full power update logic - as far as I can tell, this is unnecessary, since only the description has changed. All we need to do is write the primary record in the store.cc @rigelrozanski
The text was updated successfully, but these errors were encountered: