Commit Graph

1160 Commits

Author SHA1 Message Date
rigelrozanski
2b9633db4a working genesis tests 2018-02-09 16:24:21 +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
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
9c00dda4eb
Merge pull request #404 from cosmos/feature/multi-query
Add Proper query to BaseApp and rootMultiStore
2018-02-07 00:49:19 -05:00
Ethan Buchman
d48c819207 minor things 2018-02-06 17:20:29 -05:00
Ethan Frey
b21081c83a Test query routing in rootMultiStore 2018-02-06 17:20:29 -05:00
Ethan Frey
c73f08c845 Make GetStoreByName private, as only needed by MultiStore Query 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
44c39043f1 Test iavlStore query 2018-02-06 17:20:29 -05:00
Ethan Frey
31f00742e5 Add query to iavl store 2018-02-06 17:20:29 -05:00
Ethan Frey
512c601adc Add tests for query path routing 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
ed592cd94a
Merge pull request #423 from cosmos/context-GetOp-never-crashes
Context get op never crashes
2018-02-06 14:51:49 -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
Ethan Buchman
c3c5fd7482
Merge pull request #399 from cosmos/feature/init-account
Expose NewContext, so I can initialize accounts
2018-02-06 13:43:35 -05:00
Ethan Frey
ff6fbe9e80 Expose NewContext, so I can initialize accounts 2018-02-06 19:35:25 +01:00
Ethan Buchman
9ca0501a4b
Merge pull request #418 from cosmos/feature/remove_tmc_dep
Remove Tendermint Core as dependency to enable build
2018-02-06 13:15:00 -05:00
Adrian Brink
ea62142adf
Remove Tendermint Core as dependency to enable build 2018-02-03 12:32:13 +01: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
102d196204 Add README.md to Basecoin; Update licenses 2018-01-28 18:17:19 -08:00
Jae Kwon
4354774532 Remove shelldown from tools 2018-01-28 18:17:19 -08:00
Jae Kwon
3b09a3033a Review feedback from Adrian 2018-01-28 15:20:45 -08:00
Jae Kwon
c368b1062c Add docs/design.md; Add sketchy for illustration 2018-01-28 15:20:45 -08:00
Adrian Brink
df7cd9e670 Finally working 2018-01-27 17:40:11 -08:00
Jae Kwon
d9e4b32004 Make code clearer by setting things to app 2018-01-27 17:34:43 -08:00
Jae Kwon
2246a9c68b Fix guide docs 2018-01-27 17:34:43 -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
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
83f0ee31af
Split dummy into 2 files. (#371)
* Update examples/basecoin glide.lock
* Split dummy file
2018-01-24 01:04:44 -08:00
Jae Kwon
8650fd70c9
Update docs (#372)
Update docs/design.md and docs/basics.md
2018-01-22 06:49:59 -08:00
Jae Kwon
9480f976e1 Update glide.lock 2018-01-22 06:20:46 -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
Ethan Buchman
b4e4881261 docs: more on txs, context, handlers 2018-01-21 23:21:19 -08:00
Ethan Buchman
94999ad455 docs: Msg and Tx 2018-01-21 23:21:19 -08:00
Jae Kwon
6be2532459 wire.UnmarshalBinary expects a pointer to struct, never a pointer pointer 2018-01-21 20:58:52 -08:00