Commit Graph

118 Commits

Author SHA1 Message Date
Ethan Buchman
5019700425 Set(Begin/End)Blocker and some comments 2018-02-18 13:48:36 -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
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
Ethan Buchman
d9ebe34c32 fixes from review 2018-02-13 07:30:51 -05:00
rigelrozanski
ed662566eb remove genesis of checkTx 2018-02-12 12:55:22 +00:00
rigelrozanski
7206c434d4 genesis exisiting tests pass 2018-02-09 12:48:11 +00: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
7643dea255 genesis wip compiles 2018-02-08 10:36:37 +00:00
rigelrozanski
da538a8bf6 more comments cleanup 2018-02-08 10:36:37 +00:00
Ethan Frey
c73f08c845 Make GetStoreByName private, as only needed by MultiStore Query 2018-02-06 17:20:29 -05:00
Ethan Frey
bc325c4d1c Add Query routing to rootMultiStore 2018-02-06 17:20:29 -05:00
Ethan Frey
57b28d95de Add GetStoreByName to MultiStore to help with Query lookups 2018-02-06 17:20:29 -05:00
Ethan Buchman
14ce7f3366 types: update comments on ctx.GetOp 2018-02-06 14:48:18 -05:00
Emmanuel Odeke
cf91a059c9 types: Context.GetOp should never crash
Ensure that requesting version <= 0 doesn't
cause a runtime out of bounds dereference,
with a simple validation and accompanying tests
to ensure we never regress.

Since GetOp allows int64, it is fair game
that it should except out of range inputs,
plus this is an SDK so is bound to be abused
both unintentionally and intentionally.

Fixes #400
2018-02-06 14:48:07 -05:00
Adrian Brink
0b5c262f35 Need to trigger rebuild 2018-01-28 18:54:54 -08:00
Adrian Brink
12fef05733 Add note about contract 2018-01-28 18:54:54 -08:00
Adrian Brink
1cc0cf236c Add tests for coins 2018-01-28 18:54:54 -08:00
Jae Kwon
c368b1062c Add docs/design.md; Add sketchy for illustration 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
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
de5bf2ebc6 Add Coins.AmountOf 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
8fda920de0 auth.AccountStore assumes go-wire; Remove GetTxBytes() from Tx 2018-01-20 18:11:38 -08:00
Ethan Buchman
6d3b5cb402 basecoin: fix codecs, add some tests 2018-01-20 18:11:38 -08:00
Jae Kwon
a74293e4ba godoc tweak 2018-01-20 15:03:57 -08:00
Jae Kwon
48cc398266 Update error constructor names 2018-01-18 00:53:40 -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
381424460c basecoin compiles 2018-01-14 22:49:57 -05:00
Ethan Buchman
5f76febce8 auth and bank compile 2018-01-12 19:17:17 -08:00
Ethan Buchman
ab438c3f45 app compiles 2018-01-12 19:17:17 -08:00
Ethan Buchman
5e46eea616 types and store compile 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
Jae Kwon
620bdf409f Update context to track thePast 2018-01-12 19:17:17 -08:00
Jae Kwon
51e6144c0d Initial commit for permissioning... 2018-01-12 19:17:17 -08:00
Ethan Buchman
e908cfbb6f move account back to types 2018-01-09 19:11:00 -08:00
Ethan Buchman
3ba3d6b02f move coins and accounts out of types 2018-01-09 19:11:00 -08:00
Ethan Buchman
3235b2d647 update glide 2018-01-06 16:07:54 -05:00
Ethan Buchman
2c1d5332be make test/install 2018-01-06 15:53:31 -05:00
Ethan Buchman
1d07f88867 new basecoin example 2018-01-03 20:20:21 -05:00
Jae Kwon
657820372c App compiles. Ready to build on it 2017-12-26 17:04:48 -08:00
Jae Kwon
ab2cef884d Move Coins to types 2017-12-25 00:57:07 -08:00
Jae Kwon
e7b38b3fb9 ABCI w/ more non-nullable fields 2017-12-22 00:23:37 -08:00
Jae Kwon
623e77d5a2 Context is more immutable 2017-12-21 23:30:14 -08:00
Jae Kwon
1afab45cf5 Move store/types.go to types/store.go and alias 2017-12-21 20:05:41 -08:00