Commit Graph

354 Commits

Author SHA1 Message Date
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
rigelrozanski
1555c4876e pretty good refactor 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
Adrian Brink
8837af66bd Refactor CoinMapper
CoinMapper is now called CoinKeeper to differentiate it from
AccountMapper. A Mapper retrieves things from a store. A Keeper exposes
functionality of coins and maintain invariants.

bank.NewHandler takes a CoinKeeper instead of the entire AccountMapper.
2018-02-13 13:33:19 -05:00
Ethan Buchman
bdc33f6a10 examples/gaia 2018-02-13 08:40:09 -05:00
Ethan Frey
94251eaf7c Fixed default directory 2018-02-13 08:40:09 -05:00
Ethan Frey
91592a91f1 Cleaned up client commands more 2018-02-13 08:40:09 -05:00
Ethan Frey
c7f31bdf26 Collapsed nested commands in gaiacli 2018-02-13 08:40:09 -05:00
Ethan Frey
b10afcaf4c Rough separation of gaiad and gaiacli 2018-02-13 08:40:09 -05:00
Ethan Frey
959ad1431e Capitalized help strings on flags 2018-02-13 08:40:09 -05:00
Ethan Frey
0b0500e8a0 Rebased on develop, fixed imports 2018-02-13 08:40:09 -05:00
Ethan Frey
da7a36a866 Add global flags to all queries and posts 2018-02-13 08:40:09 -05:00
Ethan Frey
acf24f1c1b Allow adding custom query/post commands to chub 2018-02-13 08:40:09 -05:00
Ethan Frey
27aa06bb73 Add basic client cli commands 2018-02-13 08:40:09 -05:00
Ethan Frey
87abef1e0e Mock out chub keys commands 2018-02-13 08:40:09 -05:00
Ethan Frey
2cd22b45bb Implement version in chub 2018-02-13 08:40:09 -05:00
Ethan Frey
90a102cf3e Start with demo chub command
Add version and node subcommand as TODOs
2018-02-13 08:39:42 -05:00
Ethan Buchman
4412c49546
Merge pull request #429 from cosmos/feature/remove_attec
Removes the _attic folder from x/
2018-02-13 07:49:12 -05:00
Ethan Buchman
d9ebe34c32 fixes from review 2018-02-13 07:30:51 -05:00
rigelrozanski
658d7633a3 cleanup 2018-02-13 10:28:24 +00:00
rigelrozanski
ed662566eb remove genesis of checkTx 2018-02-12 12:55:22 +00:00
rigelrozanski
0bab936d70 initgen tests complete 2018-02-09 17:07:54 +00:00
Ethan Frey
b09653c9ea Fix init state bug 2018-02-09 18:04:18 +01:00
rigelrozanski
fd1684ab6b ... 2018-02-09 16:56:23 +00:00
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
Adrian Brink
f98f57b4ff
Removes the _attic folder from x/
If you need to reference things from _attic, please check `ref/attic`.
That branch keeps all the old _attic files.

I've removed it here in order to make it easier for developers to search
and understand the codebase. We shouldn't have stale code on `develop`.
2018-02-09 08:05:32 +01: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
40fd4589c1 init genesis WIP, also making golint compliant 2018-02-08 10:36:13 +00: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
c368b1062c Add docs/design.md; Add sketchy for illustration 2018-01-28 15:20:45 -08:00
Jae Kwon
d9e4b32004 Make code clearer by setting things to app 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
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
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
be665d53fe Substore->Store; BaseApp has db; Mapper 2018-01-22 06:20:46 -08:00
Jae Kwon
b9455e9620 Make basecoin a root project 2018-01-20 22:28:43 -08:00
Jae Kwon
561da6353f x/auth/Account -> x/auth/BaseAccount; RegisterWireBaseAccount() 2018-01-20 22:10:41 -08:00
Jae Kwon
633eaa87b3 cosmos-sdk/app.App -> cosmos-sdk/baseapp.BaseApp 2018-01-20 20:13:46 -08:00
Jae Kwon
bd8bbf9d98 BasecoinApp init refactor 2018-01-20 19:06:29 -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
14a0dce920
Refactor basecoin example (#332)
Refactor basecoin example
2018-01-17 16:59:40 -08:00
Jae Kwon
81b6012021 Vendor tools into tools/* (#331)
* Add tools dir
* Update Makefile to call tools/Makefile
* Add cmd/basecoind to make make pass
2018-01-16 11:24:20 -08:00
Ethan Buchman
e4676102a7 dummy compiles 2018-01-15 20:01:51 -05:00
Ethan Buchman
381424460c basecoin compiles 2018-01-14 22:49:57 -05:00
Ethan Buchman
d2a801a513 fix glide. basecoin doesnt compile ... 2018-01-13 12:37:00 -05: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
51e6144c0d Initial commit for permissioning... 2018-01-12 19:17:17 -08:00
Ethan Buchman
d3de10e22b move sendtx into coinstore 2018-01-09 19:11:00 -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
e45ad068fb move things to _attic 2018-01-06 15:35:22 -05:00
Ethan Frey
1d5fdfa7c2 Try to update deps, but borken 2017-12-03 21:41:02 -08:00
Jae Kwon
6e8e4331ea ... 2017-11-26 20:29:17 -08:00
Ethan Frey
f4b7a6ce40 Updated tx handling for eyes server 2017-10-25 19:56:48 +02:00
Ethan Frey
53e9106b09 Start working to compile eyes app 2017-10-25 19:56:48 +02:00
Ethan Frey
7926a6494d Update ibc test script for new commands 2017-10-25 19:35:36 +02:00
Ethan Frey
6f87b0a42f Rename seeds command to commits 2017-10-25 19:35:36 +02:00
Ethan Frey
e635a8ff53 Fix ibc cli test 2017-10-25 19:35:36 +02:00
Ethan Frey
2e6b45437d Better tests on ibc packet receipt, clean up shell test 2017-10-25 19:14:28 +02:00
Ethan Frey
0d9c8de958 Fix IBC off-by-one with proofs 2017-10-25 19:14:28 +02:00
Ethan Frey
9a3080ffcc Fix up some ibc queries, debug height mismatch 2017-10-25 19:14:28 +02:00
Ethan Frey
609600d322 Fixed height handling in rest queries 2017-10-25 19:14:28 +02:00
Ethan Frey
ff0a50a1b3 Fix cli tests to explicitly pass height when querying results of tx 2017-10-25 19:14:28 +02:00
Ethan Frey
5714b101b5 Handle explicit heights to query tx in basictx.sh 2017-10-25 19:14:28 +02:00
Ethan Frey
c4ead8b8a3 Expose height flag in all queries 2017-10-25 19:14:28 +02:00
Ethan Frey
acdc083821 Clean up genesis, add godoc to genesis and app 2017-10-20 13:42:03 +02:00
Ethan Frey
9b206153e2 Eyes takes init state, fix cli test about genesis 2017-10-20 13:42:03 +02:00
Ethan Frey
f65215ad92 Big cleanup of app dir
StoreApp just the queries, BaseApp with handler/ticker
Ticker now defined top level, as an interface, with context
Name for info taken as parameter, start cmd uses commandline name
Cleaner compisition of apps.
2017-10-20 13:42:03 +02:00
Ethan Frey
df0f3a22da Separate genesis parsing from basecoin 2017-10-20 13:42:03 +02:00
Ethan Frey
c1d36eeb21 Fixed all tests 2017-10-20 13:42:03 +02:00
Ethan Buchman
098d17711a fix test 2017-10-11 23:44:40 -04:00
Ethan Buchman
1785f54a57 update glide 2017-10-11 17:23:37 -04:00
rigelrozanski
40c79a65b3 strings -> mycoin (cointype change) 2017-10-11 13:24:49 -04:00
rigelrozanski
d3b4d42458 integrated init --static, fix tests 2017-10-10 03:13:02 -04:00
rigelrozanski
5a7566a81a init creates random priv_validator 2017-10-10 01:50:10 -04:00
rigelrozanski
2ea45d8ec2 mycoin -> strings 2017-10-09 01:14:16 -04:00
Ethan Buchman
1f151d1232 update for tendermint 0.11 2017-10-02 14:40:42 -04:00
Ethan Frey
b11536c579 Move the tests into basecoin examples 2017-09-08 20:51:14 +02:00
Ethan Frey
ec58e9dd46 Import more extensive keys tests from go-crypto 2017-09-08 20:47:46 +02:00
Ethan Frey
8fbf923c25 Update binaries to use our key commands, not the ones from go-crypto 2017-09-08 20:47:46 +02:00
Ethan Frey
2887d0d288 Cleaned up root command to be less basecoin-specific 2017-09-04 16:50:09 +02:00
Ethan Frey
ec6843928e Moved basecoin server commands out of examples dir to share them 2017-09-04 16:50:09 +02:00
Ethan Frey
23a539ae6f Improve import of general tests/cli stuff as per rigel 2017-09-04 16:50:09 +02:00
Ethan Frey
96f96ffc3d Moved basecoin into examples 2017-09-04 16:50:09 +02:00
Ethan Frey
041396b53e Moved eyes into example apps, cleaned up Makefile 2017-09-04 16:50:09 +02:00
Ethan Frey
ce46642aa0 Move counter cli tests into example dir 2017-09-04 16:50:09 +02:00
Ethan Frey
21cc189043 moved counter to examples dir 2017-09-04 16:50:09 +02:00