Commit Graph

1257 Commits

Author SHA1 Message Date
gamarin 48bd59eee3 Split in multiple files 2018-02-26 16:35:09 +01:00
gamarin 798b2b6ea3 Add Readme 2018-02-26 16:07:17 +01:00
Adrian Brink d0539d5e9d
Review Governance specification 2018-02-26 12:27:26 +01:00
gamarin dd0695afa0 Small fixes 2018-02-21 17:45:23 +01:00
gamarin d0e458f3bc Massive consolidation: queue, data storage struct, store, logic, ... 2018-02-20 18:40:01 +01:00
Ethan Buchman 6197eb831e
Merge pull request #487 from cosmos/glide-update-for-abci
glide update: use abci develop
2018-02-19 13:59:19 -05:00
zramsay 7e39fb01f1 glide update: use abci develop 2018-02-19 17:13:59 +00:00
Jae Kwon 1197c6db93 Making basecoind quickly terminate - temporary workaround 2018-02-18 22:09:10 -08:00
Ethan Buchman 1bb3b975c8
Merge pull request #481 from cosmos/docs-apps
docs: notes about the different apps
2018-02-18 21:47:48 -05:00
Ethan Buchman f7b8775013
Merge pull request #482 from cosmos/zach-basecoin-tests
tests for basecoin/app
2018-02-18 21:44:47 -05:00
zramsay 0e93f694d6 basecoin/tests: send real tx, check balances (#471) 2018-02-19 02:31:52 +00:00
Ethan Buchman 6f4ffab6e8 docs: notes about the different apps 2018-02-18 20:54:55 -05:00
Ethan Buchman c9dd62dd89
Merge pull request #476 from cosmos/begin-end-block
baseapp: ctxCheck and ctxDeliver, begin/endBlocker
2018-02-18 13:52:50 -05:00
Ethan Buchman 5019700425 Set(Begin/End)Blocker and some comments 2018-02-18 13:48:36 -05:00
Ethan Buchman 1a4c9a957f
Merge pull request #477 from cosmos/feature/go10
Add directive to Sprintf call to pass make test on go1.10
2018-02-18 11:07:57 -05:00
Adrian Brink b457a4363f
Add directive to Sprintf call to pass make test on go1.10 2018-02-18 14:09:22 +01:00
Ethan Buchman b2a12628c7 fix comment 2018-02-17 19:24:40 -05:00
Ethan Buchman 31ce53e256 baseapp: more tests 2018-02-17 19:13:22 -05:00
Ethan Buchman 958a632eed baseapp: ctxCheck and ctxDeliver, begin/endBlocker 2018-02-17 18:14:15 -05:00
Ethan Buchman 8fc12a5265
Merge pull request #431 from cosmos/feature/strongly_typed_msgs
Strongly typed transactions in handlers
2018-02-17 16:53:53 -05:00
Adrian Brink 125954ace8 Strongly typed transactions in handlers
During transaction processing we retrieve the type of msg and based on
that we get the applicable handler from the router. This means that the
router should only receive messages that it knows how to handle. Instead
of using Get interfaces, we should cast to the actual type of
transaction and then access the transaction details that way.
It's okay to panic here, because if the DummyHandler receives a message
that it cannot cast to the expected type it means something is wrong
with the router. Instead of retrieving an arbitrary key by chance we
should panic.
2018-02-17 16:51:20 -05:00
Ethan Buchman 3b826455c6
Merge pull request #470 from cosmos/basecoin-refactor-more
Basecoin refactor more
2018-02-17 16:39:00 -05:00
Ethan Buchman 8d8f4114a8 x/sketchy -> examples/basecoin/x/sketchy 2018-02-17 16:32:30 -05:00
Ethan Buchman c31f871de6 finish removing TestApp and TestTx 2018-02-17 16:32:30 -05:00
Ethan Buchman c56b6254de update basecoin for baseapp changes - still need to fix tests 2018-02-17 16:32:30 -05:00
Ethan Buchman f6cea66e2e test and fix InitChain 2018-02-17 16:32:30 -05:00
Ethan Buchman c7df77ce3c simplify baseapp and InitStater -> InitChainer 2018-02-17 16:32:30 -05:00
Ethan Buchman 96b734b729 glide update for abci RequestInitChain.AppStateBytes 2018-02-17 16:32:30 -05:00
Ethan Buchman 1698e4e2d8 small test and some comments 2018-02-17 16:32:30 -05:00
rigelrozanski 1555c4876e pretty good refactor 2018-02-17 16:32:30 -05:00
rigelrozanski 938ee94e9e WIP refactor working 2018-02-17 16:32:30 -05:00
rigelrozanski 6681904af9 wip refactoring basecoin 2018-02-17 16:32:30 -05:00
rigelrozanski 44536faf08 wip refactoring basecoin 2018-02-17 16:32:30 -05:00
rigelrozanski f446b94ac7 wip basecoin refactoring 2018-02-17 16:32:30 -05:00
rigelrozanski 34ff225c31 working 2018-02-17 16:32:30 -05:00
rigelrozanski 890fadc8c3 wip refactor examples/basecoin 2018-02-17 16:32:30 -05:00
Ethan Buchman e628756bea
Merge pull request #445 from cosmos/feature/code_of_conduct
Create CODE_OF_CONDUCT.md
2018-02-15 13:03:31 -05:00
Ethan Buchman 8626038e92
Merge pull request #430 from cosmos/feature/coinmapper
Refactor CoinMapper
2018-02-13 13:39:03 -05: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
Ethan Buchman 51dca8f0a9
Merge pull request #415 from cosmos/docs-refactor
Docs refactor
2018-02-13 09:30:49 -05:00
Ethan Buchman 043e647695 rm attic 2018-02-13 09:23:34 -05:00
Ethan Buchman 3bb3c8406a docs: minor fix 2018-02-13 09:14:04 -05:00
Zach Ramsay 07008f3103 nit 2018-02-13 09:12:23 -05:00
Zach Ramsay 53ad094f98 docs: fix links 2018-02-13 09:12:23 -05:00
Zach Ramsay ca5e837e54 docs: prettify & organize 2018-02-13 09:12:23 -05:00
Zach Ramsay fd5dfc5944 docs: remove middleware section 2018-02-13 09:12:23 -05:00
Zach Ramsay 515ad58dfb fix gaia keys doc 2018-02-13 09:12:23 -05:00
Zach Ramsay 5e473f30d7 comment out basecoin binary stuff until it's built 2018-02-13 09:12:23 -05:00
Zach Ramsay 6af049ad00 fix build errors 2018-02-13 09:12:23 -05:00
Zach Ramsay 31843aa56c docs: .rst formatting & image 2018-02-13 09:12:23 -05:00