Alessio Treglia
1f211aad57
types: keep migrating tests to test suites ( #7478 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-08 11:42:32 +00:00
Alessio Treglia
ddaa3c5176
types: tests -> test suites migration ( #7405 )
2020-09-29 13:29:10 +02:00
Alessio Treglia
04ff40a8df
types: start grouping tests in test suites ( #7395 )
...
Ref #7362
2020-09-27 23:51:14 +02:00
dauTT
30f9862b4b
Remove zero coins from ParseCoins and ParseDecCoins ( #7348 )
...
* Remove zero coins from ParseCoins and ParseDecCoins
* Implement requested changes
* Update types/coin_test.go
* Revert
* Align the behaviour of NewCoins and ParseCoins (respectively NewDecCoins and ParseDecCoins)
* Amend comments
* Update types/dec_coin.go
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-09-25 08:31:31 +00:00
Federico Kunze
1b08e1032c
types: update coin regex ( #7027 )
...
* types: update coin regex
* more tests
* fix test case
* increase coverage
* changelog
* fix tests
* support unicode letters and numbers
* remove ToUpper
* Update types/coin.go
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Validate function
* fix ICS20 test
* table tests and revert unicodes
* add test case
* add test cases and comment
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-08-14 09:09:53 +00:00
Ira Miller
282afcdb12
Fix for 6786 removeZeroCoins mutates original slice ( #6811 )
...
* added test cases to show errors identified in 6786
* mods to fix remove zero coin mutation in slice
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-28 10:17:58 +00:00
Ferenc Fabian
066dd1114f
Merge PR #5449 : Add New constructor for the DecCoin
2020-01-03 15:44:53 -05:00
Federico Kunze
fb0a2c46d3
fix DecCoins constructor ( #5410 )
...
* fix decCoins
* minor changes for standardization
* changelog
* add test cases
2019-12-16 19:10:18 -03:00
Marko
b9490f2d93
Merge PR #5203 : Add more linters
2019-10-17 09:47:35 -04:00
Alexander Bezobchuk
576eb51928
Merge PR #4058 : Fix DecCoins Bugs
2019-04-05 14:13:22 -04:00
Alexander Bezobchuk
5f92fef4b0
Fix TruncateDecimal ( #3913 )
2019-03-16 16:14:37 -07:00
Christopher Goes
4c50380181
Merge PR #3750 : Outstanding per-validator rewards; correctly handle same-BeginBlock redelegation-double-slash
2019-03-06 19:54:12 +01:00
Jae Kwon
7e08b62f4e
Merge PR #3726 : Cap(clip) reward to remaining coins in AllocateTokens
2019-02-27 21:38:57 +01:00
frog power 4000
a814e5ce66
Merge PR #3679 : Consistent Operators
...
* Minus->Sub Plus->Add Div->Quo
* pending
* Update PENDING.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* fix
* typo
2019-02-21 12:35:55 -05:00
Alexander Bezobchuk
26c13b28cd
Merge PR #3607 : Reconcile DecCoin/s API with Coin/s API
2019-02-15 16:33:23 +01:00
Alexander Bezobchuk
36d1736a08
Refactor Gas/Fee Model ( #3258 )
2019-01-18 08:45:20 -08:00
Christopher Goes
2942f83ff5
Merge PR #3099 : F1 fee distribution
2019-01-16 22:38:05 +01:00