whyrusleeping
a3602d4fcf
fix tests, handle parsing with suffixes properly
2020-07-09 17:26:06 -07:00
whyrusleeping
a79b31c230
produce and parse FIL suffix on FIL strings
2020-07-08 16:16:45 -07:00
Raúl Kripalani
0fddf3e114
make system constants configurable as vars.
...
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.
Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.
Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00
whyrusleeping
b447b6cf0a
only trim zeros to the right of the decimal
2019-11-05 10:50:27 -08:00
Jakub Sztandera
bc97a73d67
Implment formatter on FIL to override big.Int
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 01:52:24 +01:00
whyrusleeping
acb7d57794
fix handling of actor not found for balance checks
2019-10-24 15:55:00 +08:00
Jakub Sztandera
237df4cc44
New big rats and set the precision to 18 (atto = 1e-18)
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 23:45:15 +09:00
whyrusleeping
03d847b8a6
add nicer printing and parsing of filecoin values
2019-10-18 21:31:45 +09:00