Commit Graph

329 Commits

Author SHA1 Message Date
Christopher Goes 5b4fb85f7e
Fn suffix & http.HandlerFunc 2018-04-25 22:32:22 +02:00
Christopher Goes fd40d39556
Only one CoreContext for all REST commands 2018-04-25 16:49:31 +02:00
Christopher Goes 56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
rigelrozanski 996cafe972 register wire, stake changelog, stake genesis update 2018-04-18 12:19:35 -04:00
Christopher Goes f8e44b5b00 Error codespacing (#809)
* Initial codespacing layout (ref #766)
* Add codespace to Router (ref #766)
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
Sunny Aggarwal d2013ec2a0
added state change revert comment 2018-04-17 23:39:57 +02:00
Sunny Aggarwal fcc164fab1
rebase and switch test to amino 2018-04-17 23:39:57 +02:00
Sunny Aggarwal c7bd05f0b8
hard reset 2018-04-17 23:39:52 +02:00
Christopher Goes c7b680a545
Address PR comments 2018-04-10 11:16:30 +02:00
Christopher Goes bd626ba94e
Helper function 2018-04-10 11:16:30 +02:00
Christopher Goes ec98545a1b
Default to next sequence number (closes #807) 2018-04-10 11:16:30 +02:00
Adrian Brink 13521b3f77
Remove deadcode 2018-04-09 17:33:53 +02:00
Ethan Buchman 4bee8c6865 update for tendermint v0.18.0-rc1 2018-04-05 16:31:06 +03:00
Christopher Goes 12f4a21d03
Reuse Tendermint client instance (closes #671) 2018-04-03 22:16:03 +02:00
Christopher Goes 8412215c16
Additional module cleanup 2018-04-03 22:16:03 +02:00
Christopher Goes 7214149f1d
Move client context initialization from viper to separate package 2018-04-03 22:16:03 +02:00
Christopher Goes f5322fa25f
Remove unused imports 2018-04-03 22:15:51 +02:00
Christopher Goes 7a8e00dbb9
Change CoreContext parameters instead of using viper.Set 2018-04-03 22:15:27 +02:00
Christopher Goes 579e5d4cdc
Add CoreContext for CLI/REST options 2018-04-03 22:15:12 +02:00
Christopher Goes 720b37c6f2
Rename client/builder to client/core (ref #721) 2018-04-03 22:14:11 +02:00
Rigel d0eb05b162
Merge pull request #690 from cosmos/sunny/keeper-based-modules
Keeper based modules
2018-03-28 02:47:50 +02:00
Sunny Aggarwal 0be651fd27 address rigels review 2018-03-27 19:42:09 +02:00
Yukai Tu 96d9c55172 Encaptulate Get Passphrase Logic in Builder 2018-03-24 23:14:18 -07:00
Sunny Aggarwal eac63038e3 works 2018-03-25 01:43:36 +01:00
Sunny Aggarwal 8fe34097eb asdf 2018-03-25 01:12:44 +01:00
Sunny Aggarwal 884b827730 everything but IBC 2018-03-25 00:29:33 +01:00
Sunny Aggarwal 917d431f39 updated app.go 2018-03-25 00:28:41 +01:00
Sunny Aggarwal 8b19ffa7c1 worked on coolKeeper 2018-03-25 00:27:29 +01:00
Joon e80f7b040c
Merge branch 'develop' into joon/ibc-mvp1 2018-03-19 22:53:58 +01:00
Ethan Buchman 984aff12da
Merge pull request #642 from cosmos/sunny/errors
move some errors to sdk from bank
2018-03-19 22:37:30 +01:00
Adrian Brink 54b162f5c3
Merge branch 'develop' into joon/ibc-mvp1 2018-03-18 17:11:34 +01:00
Adrian Brink 23191aee68
Work out wire for IBC module 2018-03-18 15:47:17 +01:00
Adrian Brink 6c9b62d461
Add errors to IBC module 2018-03-18 14:51:08 +01:00
Sunny Aggarwal 3e91e12a2f moved errors to sdk from bank 2018-03-18 03:42:54 +01:00
Ethan Buchman 64852138b6 fix the tests. includes some hacks 2018-03-18 02:02:26 +01:00
Ethan Buchman d807d32f8a client/lcd: wip use in-proc tm and lcd for tests 2018-03-17 23:12:43 +01:00
Ethan Buchman 683663f680 fixes post rebase 2018-03-17 23:09:04 +01:00
Fabian Weber 5ea06639f9 fix tests and refactored 2018-03-17 22:17:56 +01:00
Fabian Weber cf6f04978c adjusted sending + tx tests 2018-03-17 22:17:56 +01:00
Fabian 0121c98a1e add /accounts endpoints but failing 2018-03-17 22:14:19 +01:00
Ethan Buchman 3babf8c2d9 fix and clean fees and x/auth 2018-03-17 19:54:18 +01:00
rigelrozanski 5965df1613 move signmsg into common sign and build functionality 2018-03-17 16:49:47 +01:00
Ethan Buchman 2336a20f5a fix cli to sign StdSignDoc. fixes #620 2018-03-14 13:11:19 +01:00
Ethan Buchman 087721dc04 x/bank: clean up tests 2018-03-13 01:42:13 +01:00
Ethan Buchman b906c141bd x/bank: remove Sequence from Input 2018-03-13 01:42:13 +01:00
rigelrozanski fb199e293e fixes, add to changelog 2018-03-04 17:21:37 +00:00
rigelrozanski a2e4479dcc complete cool CLI 2018-03-04 17:21:37 +00:00
rigelrozanski b6347db664 refactor client 2018-03-04 17:21:37 +00:00
rigelrozanski 131130b7a4 basecoin upgrade without CLI 2018-03-04 17:21:37 +00:00
rigelrozanski 6dec9353be working new cool module in basecoin 2018-03-04 17:21:37 +00:00
Ethan Buchman 630a5fe579 revert to old go-wire 2018-03-02 04:24:07 -05:00
Ethan Buchman 62d6a5de46 crypto.Address -> sdk.Address 2018-03-02 02:49:07 -05:00
rigelrozanski 3be46395cf restructure to remove deps on example 2018-03-01 02:36:57 +00:00
rigelrozanski 5bc5135c1b wire 2018-03-01 02:36:57 +00:00
rigelrozanski 1d3904dfd3 bank registers crypto 2018-03-01 02:36:57 +00:00
rigelrozanski 65f27f2daa basecli refactor 2018-03-01 02:36:57 +00:00
Ethan Frey bb74e84b29 Clean up keys/keybase and comments 2018-03-01 02:36:57 +00:00
Ethan Frey 03dc660797 Cleanup client/input.go per buckys request 2018-03-01 02:36:57 +00:00
Ethan Frey 05f5141734 Cleanup from rige's review 2018-03-01 02:36:57 +00:00
Ethan Frey 734b1073ba Added tx subcommands and automate manual testing 2018-03-01 02:36:57 +00:00
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