cosmos-sdk/x/slashing
Rigel d9dc061b4f
Merge pull request #1819: rational -> decimal
* changelog

* ...

* decimal func working

* decimal complete, untested

* fixing tests

* decimal compile errors resolved

* test compile errors

* precision multiplier test

* 1% laptop battery

* fixed TestNewDecFromStr

* equalities working

* fix bankers round chop

* ...

* working, some decimal issues resolved

* fix rounding error

* rounding works

* decimal works

* ...

* deleted rational

* rational conversion working

* revert changelog

* code compiles (not tests)

* went through all NewDec, made sure they were converted from NewRat properly

* test debugging

* all testing bugs besides the json marshalling fixed

* json unmarshal

* lint

* document update

* fix lcd test

* cli test fix

* mostly undo Dece -> Rate

* val comments

* Efficiency improvements

This now caches all of the precision multipliers (as they were all
used in non-mutative functions), and caches the precisionInt calculation.
(Now it just copies the already calculated value)

* Cache another precisionInt() call.

* Improve banker rounding efficiency

* remove defer, make negation in-place.

* chris val comments

* bez comments

* Aditya comments

* ...

* val comments

* rebasing start

* ...

* compiling

* tests pass

* cli fix

* anton, cwgoes, val comments

* val and jae comments

* type

* undo reuse quo
2018-08-14 20:15:02 -04:00
..
client Merge PR #1741: CoreContext Refactor 2018-08-06 20:11:30 +02:00
app_test.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
errors.go Merge PR #1511: Prevent unrevoked validators from unrevoking 2018-07-03 07:47:40 +02:00
genesis.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
handler_test.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
handler.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
keeper_test.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
keeper.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
msg_test.go fixed lcd errors 2018-07-09 01:01:29 -07:00
msg.go asdf 2018-07-09 00:59:51 -07:00
params.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
signing_info_test.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
signing_info.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
test_common.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
tick_test.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
tick.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
wire.go Reorganization in progress 2018-05-28 21:55:54 +02:00