Commit Graph

345 Commits

Author SHA1 Message Date
rigelrozanski 0469358286 rebase fixes 2018-03-01 03:17:48 +00:00
Ethan Frey e8676921f7 Basecoind start works with upgraded tendermint 2018-03-01 02:36:08 +00:00
Ethan Frey f93947f3ab Update tendermint, can parse genesis in start 2018-03-01 02:34:05 +00:00
Ethan Frey 438d18e059 Pulled most of gaiad into server, with rough implementation 2018-03-01 02:30:13 +00:00
Adrian Brink 40c3465ec5 Add multiple routes simultaneously
closes #329
2018-02-28 17:27:20 +00:00
Ethan Buchman 2cefcf9e6c baseapp: introduce checkState and deliverState to wrap their ms and ctx 2018-02-27 23:46:27 -05:00
Ethan Buchman 0a87bfa26f
Merge pull request #521 from cosmos/bucky/fix-multistore-load
baseapp: fix restarting
2018-02-27 23:19:43 -05:00
Ethan Buchman 588acc272e baseapp: dont save header for now. use DeliverTx state in InitChain (fixes #474) 2018-02-27 23:07:54 -05:00
Ethan Buchman 7f44470ad5 baseapp: save header on commit. fixes #507 2018-02-27 22:29:26 -05:00
Ethan Buchman 57e8030b55
Merge pull request #510 from cosmos/adrian/checktx
REVIEW: Don't abort after AnteHandler if CheckTx
2018-02-27 19:55:46 -05: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
zramsay dfa9bc8117 baseapp: start TestInfo (#471) 2018-02-19 18:02:52 +00:00
Ethan Buchman 5019700425 Set(Begin/End)Blocker and some comments 2018-02-18 13:48:36 -05: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 c31f871de6 finish removing TestApp and TestTx 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 1698e4e2d8 small test and some comments 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 d9ebe34c32 fixes from review 2018-02-13 07:30:51 -05:00
rigelrozanski 17acf9e18d working 2018-02-09 04:33:42 +00:00
rigelrozanski 849139ebeb working 2018-02-08 21:16:33 +00:00
rigelrozanski 6eaafa496a wip genesis parsing 2018-02-08 10:36:37 +00:00
rigelrozanski da538a8bf6 more comments cleanup 2018-02-08 10:36:37 +00:00
rigelrozanski 41ae60c1fb working 2018-02-08 10:36:36 +00:00
rigelrozanski 40fd4589c1 init genesis WIP, also making golint compliant 2018-02-08 10:36:13 +00:00
Ethan Buchman d48c819207 minor things 2018-02-06 17:20:29 -05:00
Ethan Frey 8765fa32fa Expose rootMultiStore query in BaseApp 2018-02-06 17:20:29 -05:00
Ethan Frey ff6fbe9e80 Expose NewContext, so I can initialize accounts 2018-02-06 19:35:25 +01:00
Jae Kwon b95b67d520 Separation of Tx from Msg; CodeType 2018-01-26 06:54:03 -08:00
Jae Kwon 05036e35d2 CacheWrap after AnteHandler 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 ac7fa3f59f Require BeginBlock for NewContext 2018-01-26 06:54:03 -08:00
Jae Kwon a5fa1874c5 Expose way to get Context 2018-01-26 06:54:03 -08:00
Jae Kwon 55c4bc873c Remove baseapp/data 2018-01-22 06:20:46 -08:00
Jae Kwon be665d53fe Substore->Store; BaseApp has db; Mapper 2018-01-22 06:20:46 -08:00
Jae Kwon 633eaa87b3 cosmos-sdk/app.App -> cosmos-sdk/baseapp.BaseApp 2018-01-20 20:13:46 -08:00