Commit Graph

14 Commits

Author SHA1 Message Date
Dev Ojha d6df6b07d1 Merge PR #1388: types/int: Switch Int, Uint to use pointers internally
* types/int: Switch Int, Uint to use pointers internally
This reduces the amount of pointer refs & derefs.
* Fix nil pointers on unmarshalling amino
* Fix elusive bug in marshalling with unitialized big int
* Remove debug code
* Switch big.rat to use pointers internally
2018-06-27 03:10:34 +02:00
Dev Ojha 9f30a90980 Merge PR #1374: types/rat: Fix overflowing in printing
This now uses the underlying golang big.rat's string function,
instead of casting to num and den which are int64s.

Closes #1258
2018-06-26 05:03:55 +02:00
rigelrozanski ed5d088824 renaming and refactoring for fees 2018-05-17 09:17:14 -04:00
rigelrozanski dd9b5e78f7 cleanup stake marshalJson -> marshalBinary 2018-05-01 16:41:04 -04:00
Jae Kwon cb2491bbb8 Use GoAmino 0.9.9 and change impl of Rational.MarshalAmino 2018-05-01 11:31:56 -07:00
rigelrozanski 4a834ae9c5 rational cleanup 2018-04-30 17:39:13 -04:00
rigelrozanski ce32117399 rational embedes bigRat 2018-04-30 17:21:14 -04:00
rigelrozanski e5199f0c7c fix validator keeper functionality, add testing 2018-03-28 19:01:50 +02:00
rigelrozanski e25b78055b dep update
...

...
2018-03-28 19:01:50 +02:00
rigelrozanski a4ab2fcf2f staking passing, low test coverage 2018-03-28 19:01:50 +02:00
rigelrozanski db0a275b23 rational to Exposed Fields 2018-03-28 19:01:50 +02:00
Ethan Buchman af6c1a3f02 types/rational: use encoding/json
minor fixes

working on compiling
2018-03-28 19:01:50 +02:00
rigelrozanski c8c85dfbc8 ported over rational 2018-03-28 19:01:49 +02:00
rigelrozanski 1ed7206efe added rational to types 2018-03-28 19:01:49 +02:00