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
Currently the simulator's MsgEditValidator changes the commission rate wrong.
Almost every call fails under one of the following two errors:
{262245 [] {"codespace":4,"code":101,"abci_code":262245,"message":"Error{commission cannot be changed more than once in 24h}"} 0 0 0 []}
{262245 [] {"codespace":4,"code":101,"abci_code":262245,"message":"Error{commission cannot be more than the max rate}"} 0 0 0 []}
We may not be able to easily fix the 24h issue, but we can fix the max rate one easily.
The text was updated successfully, but these errors were encountered:
@ValarDragon can you elaborate steps of reproduction? I recall testing this. Are you creating validator and then changing its commission? Are you sure you're setting it to under the max rate?
For bugs like these, its very helpful to details reproduction steps.
The simulator is not setting it under the max rate, hence I made the issue. This is a bug in the simulator, not the state machine. My bad, I forgot to indicate this in the post, only indicated it in the title, edited the original post to reflect this :)
Add a fmt.Println(result) after its created in the simulator's thing for MsgEditValidator. Then run any simulation command, you'll see the errors.
Currently the simulator's MsgEditValidator changes the commission rate wrong.
Almost every call fails under one of the following two errors:
{262245 [] {"codespace":4,"code":101,"abci_code":262245,"message":"Error{commission cannot be changed more than once in 24h}"} 0 0 0 []}
{262245 [] {"codespace":4,"code":101,"abci_code":262245,"message":"Error{commission cannot be more than the max rate}"} 0 0 0 []}
We may not be able to easily fix the 24h issue, but we can fix the max rate one easily.
The text was updated successfully, but these errors were encountered: