Error during fee allocation(distr module). At some point, the total sum of allocated token > initial fees. Seems, problems with truncating.
I reproduced this error on https://github.com/cosmos/cosmos-sdk/pull/3722 .
Thanks for the report, we'll investigate this.
The issue here is that we weren't truncating multiplication and division (particularly the latter), so token amounts paid to validators could have been rounded up, resulting in more tokens allocated in total than had been collected in fees and generated by inflation.
I've implemented the appropriate truncation in #3728.
I think #3728 is a more sensible approach here using already existing APIs.
Most helpful comment
The issue here is that we weren't truncating multiplication and division (particularly the latter), so token amounts paid to validators could have been rounded up, resulting in more tokens allocated in total than had been collected in fees and generated by inflation.
I've implemented the appropriate truncation in #3728.