47e4682d9f
* x/stake: Limit the size of rationals from user input This commit sets the maximum number of decimal points that can be passed in from messages. This is enforced on the validate basic of MsgBeginUnbonding and MsgBeginRedelegation. The cli has been updated to truncate the user input to the specified precision. This also updates types/rational to return big ints for Num() and Den(). Closes #887 * Switch NewFromDecimal to error instead of truncating |
||
---|---|---|
.. | ||
client | ||
keeper | ||
tags | ||
types | ||
app_test.go | ||
genesis.go | ||
handler.go | ||
handler_test.go | ||
stake.go |