Commit Graph

67 Commits

Author SHA1 Message Date
Christopher Goes 03e220700e
Unexport RunTxMode (fix linter) 2018-05-16 02:18:25 +02:00
Christopher Goes 4134bf922c
Address PR comments 2018-05-16 02:06:17 +02:00
Christopher Goes d55ba2ca7d
Add p2p filter functions & tests 2018-05-16 01:15:07 +02:00
Christopher Goes a801874aba
PR comment: codec => cdc 2018-05-16 01:14:31 +02:00
Christopher Goes ce38d8f423
Minor fix, testcases 2018-05-16 01:14:31 +02:00
Christopher Goes 8c1c40b89a
New store query prefixes (ref #979) 2018-05-16 01:13:49 +02:00
Christopher Goes a240554695
SimulateTx through Query 2018-05-16 01:13:49 +02:00
Christopher Goes 097646e6df
Correct semantics for simulateDeliver 2018-05-16 01:13:49 +02:00
Christopher Goes da5fe2ef13
Add baseapp.CheckFull 2018-05-16 01:13:49 +02:00
Christopher Goes 09517056b0
Catch out-of-gas panics 2018-05-16 01:13:48 +02:00
Christopher Goes ddb3b36b7b
Pass gas consumed back in result struct 2018-05-16 01:13:47 +02:00
Christopher Goes 26991803ee
GasMeter & context updates 2018-05-16 01:13:47 +02:00
Christopher Goes ad6c7f0be4
Remove MemLogger, update baseapp 2018-05-01 13:52:49 +02:00
Christopher Goes 62fc3e2c49
Context-accessible logger field 2018-05-01 13:52:49 +02:00
rigelrozanski ce32117399 rational embedes bigRat 2018-04-30 17:21:14 -04:00
rigelrozanski 318e924145 refactor 2018-04-27 20:36:11 -04:00
Christopher Goes 10d2e5ae40 Move generateApp & exportApp to baseapp/helpers 2018-04-27 20:04:29 -04:00
rigelrozanski 260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski 1f9184a24b basic go-linting // moved corecontext 2018-04-18 15:39:32 -04:00
rigelrozanski c63a545206 stake handler tests 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
Christopher Goes 49b8978454 Swap all examples & testcases to use automatic DB namespacing 2018-04-14 17:05:50 -07:00
Ethan Buchman f5c285f5ee more MarshalJSONIndent 2018-04-09 23:18:56 +03:00
Christopher Goes 0888096677
Replace Result.ToQuery with Error.QueryResult (closes #765) 2018-04-03 22:15:52 +02:00
Ethan Buchman be05bf4343 remove InitGenesis 2018-04-02 18:14:42 +03:00
Ethan Buchman d25593afc4
Merge pull request #726 from cosmos/adrian/mountmultipledbs
Mount every single store with its own DB
2018-03-30 06:41:10 -04:00
Adrian Brink fcc8a9a415
Address comments
I hope this is correct. I'm feely pretty dizzy right now from the fish
food.
2018-03-29 20:44:56 +02:00
Adrian Brink 8574f923e8
Mount every single store with its own DB 2018-03-28 14:33:48 +02:00
Christopher Goes 578392d4b2 Address Rigel review - also run gofmt 2018-03-28 11:24:31 +02:00
Christopher Goes 5b642062a7 Initial per-module genesis initialization 2018-03-28 11:24:31 +02:00
Yukai Tu 651e931763 Fix Issue#618 2018-03-13 11:53:45 -07:00
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
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
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 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
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