Commit Graph

1578 Commits

Author SHA1 Message Date
gamarin 3071f05d0e remove governance.md 2018-02-26 16:40:25 +01:00
gamarin 275abe56e7 Split in multiple files 2018-02-26 16:36:09 +01:00
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
Adrian Brink d79473d1ab
Go through all tests 2018-02-26 11:59:48 +01:00
Adrian Brink ec4711afd8
Don't abort after AnteHandler if CheckTx
Currently we are aborting running a transaction after the AnteHandler in
case it is a checkTx. This means that the handler never gets the chance
to check the validity of a transaction. Furthermore the AnteHandler
should not handle CheckTx logic.

The AnteHandler should handle global validation, whereas each Handler
should handle module validation.
2018-02-25 21:59:11 +01:00
Ethan Buchman 834f98c692
Merge pull request #500 from cosmos/docs_handlers
Clarify AnteHandler and MsgHandler
2018-02-21 15:13:30 -05:00
Adrian Brink 5c2758b8df
Clarify AnteHandler and MsgHandler 2018-02-21 20:16:22 +01:00
gamarin dd0695afa0 Small fixes 2018-02-21 17:45:23 +01:00
Ethan Buchman e4ba2f83a2 makefile: dont use sub vendor deps 2018-02-21 09:53:14 -05:00
Jae Kwon 7f4bcff3cf Add GetCommitKVStore and CommitKVStore 2018-02-21 09:49:33 -05:00
Ethan Buchman 53812a2076
Merge pull request #490 from cosmos/basecoin-install-patch
basecoin get_tools
2018-02-21 00:17:46 -05:00
Ethan Buchman e18d8ea558
Merge pull request #493 from cosmos/sed-dummy-kvstore
rename dummy to kvstore
2018-02-21 00:10:16 -05:00
Ethan Buchman d69d3d8149 dev version 2018-02-20 23:14:58 -05:00
Ethan Buchman 8ccf055ca1
Merge pull request #496 from cosmos/release-v0.10.0
version and changelog
2018-02-20 22:50:46 -05:00
Ethan Buchman 0515bc094b version and changelog 2018-02-20 22:51:30 -05: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
Zach Ramsay 2b25f5948d glide.lock 2018-02-20 22:10:01 +00:00
Zach Ramsay c1b9721f89 coverage recipe 2018-02-20 21:13:27 +00:00
gamarin d0e458f3bc Massive consolidation: queue, data storage struct, store, logic, ... 2018-02-20 18:40:01 +01:00
Adrian Brink 9ec5f37a02
Fix installation process for basecoind from top-level folder
The make build command only works if you install the dependencies first.
Previously you had to cd into examples/basecoin and run get_vendor_deps
and then cd into cosmos-sdk and then run build.

With this change a user can just run build in the top-level folder and
the dependencies are installed automatically.
2018-02-20 13:00:48 +01:00
rigelrozanski 37600d2cd0 basecoin get_tools 2018-02-20 10:10:36 +00:00
zramsay e1e886a0fc s/dummy&Dummy/kvstore&KVStore/g 2018-02-19 22:17:06 +00: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 dfa9bc8117 baseapp: start TestInfo (#471) 2018-02-19 18:02:52 +00: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