Commit Graph

618 Commits

Author SHA1 Message Date
Ethan Frey 7779eec990 Make store name for query account configurable 2018-03-01 02:36:57 +00:00
Ethan Frey 356baf61c1 Move sendtx and query account commands into x/bank 2018-03-01 02:36:57 +00:00
Adrian Brink d79473d1ab
Go through all tests 2018-02-26 11:59:48 +01:00
Zach Ramsay 0e0b6ae504 x/bank: moar tests 2018-02-21 02:05:41 +00:00
Zach Ramsay b9780ff9ae x/bank: boost test coverage 2018-02-20 23:57:24 +00:00
Adrian Brink 8837af66bd Refactor CoinMapper
CoinMapper is now called CoinKeeper to differentiate it from
AccountMapper. A Mapper retrieves things from a store. A Keeper exposes
functionality of coins and maintain invariants.

bank.NewHandler takes a CoinKeeper instead of the entire AccountMapper.
2018-02-13 13:33:19 -05:00
Jae Kwon 3b09a3033a Review feedback from Adrian 2018-01-28 15:20:45 -08:00
Jae Kwon b95b67d520 Separation of Tx from Msg; CodeType 2018-01-26 06:54:03 -08:00
Jae Kwon c6bad0b325 Add first Basecoin test harness 2018-01-26 06:54:03 -08:00
Jae Kwon be665d53fe Substore->Store; BaseApp has db; Mapper 2018-01-22 06:20:46 -08:00
Jae Kwon bd8bbf9d98 BasecoinApp init refactor 2018-01-20 19:06:29 -08:00
Jae Kwon 11cccfaf02 New error API 2018-01-18 00:44:54 -08:00
Jae Kwon 14a0dce920
Refactor basecoin example (#332)
Refactor basecoin example
2018-01-17 16:59:40 -08:00
Ethan Buchman 124f93b20f x/bank: fix test 2018-01-15 20:21:33 -05:00
Ethan Buchman 2d56729a1f TransferHandlerFn -> NewHandler 2018-01-12 19:17:17 -08:00
Ethan Buchman 5f76febce8 auth and bank compile 2018-01-12 19:17:17 -08:00
Jae Kwon fcd8e88e65 Fix x/coin imports 2018-01-12 19:17:17 -08:00
Jae Kwon ba2b4f0f21 WIP: refactor
Refactor

* No more decorators, but rather types.AntiHandler
* No more handlers, but rather types.MsgHandler
* Ability to pass "stores" in NewXYZHandler()
* Coins live in types, and Accounts have coins
* Coinstore -> bank
2018-01-12 19:17:17 -08:00