Commit Graph

446 Commits

Author SHA1 Message Date
Christopher Goes 74a2246b3e
Pass logger and config through CLI context (closes #725) 2018-04-05 11:20:05 +02:00
Christopher Goes 7214149f1d
Move client context initialization from viper to separate package 2018-04-03 22:16:03 +02:00
Christopher Goes 47c97c24d3
Write genesis trend for democoin (closes #762) 2018-04-03 22:15:51 +02:00
Christopher Goes 579e5d4cdc
Add CoreContext for CLI/REST options 2018-04-03 22:15:12 +02:00
Christopher Goes 720b37c6f2
Rename client/builder to client/core (ref #721) 2018-04-03 22:14:11 +02:00
Ethan Buchman f40e01aada fix test 2018-04-02 18:30:30 +03:00
Ethan Buchman be05bf4343 remove InitGenesis 2018-04-02 18:14:42 +03:00
mossid 8af121a840 remove account_test 2018-03-31 20:20:44 +02:00
mossid 9a4f9345cf in progress 2018-03-31 20:19:22 +02:00
mossid 549896128d in progress 2018-03-31 20:01:39 +02:00
mossid f1d27e95ff TestHandler -> TestIBCMsgs 2018-03-31 19:42:24 +02:00
mossid d80e6540c2 merge commit 2018-03-31 19:42:06 +02:00
mossid 12a17f6996 merge commit 2018-03-31 19:40:40 +02:00
Ethan Buchman 20bb78399b fix democoin 2018-03-31 19:01:54 +03:00
Ethan Buchman e226cb7a35
Merge branch 'develop' into cwgoes/misc-minor-fixes 2018-03-31 18:54:06 +03:00
Christopher Goes c8bba0545b
Add back cool module tests to democoin 2018-03-30 20:23:24 +02:00
Christopher Goes f1af53fe30
Move 'sketchy' and 'cool' modules to democoin, which is separate from basecoin 2018-03-30 20:13:22 +02:00
Christopher Goes 10a22f20ba
Remove 'cool' and 'sketchy' modules from basecoind 2018-03-30 16:32:11 +02: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
Ethan Buchman 55e72781ce basecoin: uncomment test 2018-03-30 13:40:04 +03:00
Adrian Brink 0789a5eed0
NewBasecoinApp takes a map of databases
NewBasecoinApp takes a map[string]dbm.DB . This stabilises the API,
since it allows us to add more stores without a breaking change. The
convention is that the keys of the dbs correspond to the names of the
capKeys.
2018-03-30 12:18:12 +02: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
Christopher Goes fd4e2c53ed
Update gaid for GenAppState change 2018-03-29 12:16:08 +02:00
Christopher Goes bb66b852ef Move keybase DB to ~/.basecoind/data (closes #644) 2018-03-29 12:04:52 +02:00
Christopher Goes 27d24610ab basecoind init --testnet (closes #718) 2018-03-29 12:04:52 +02:00
Sunny Aggarwal bc1d9e6f93 fixed package name 2018-03-29 06:40:06 +02:00
Sunny Aggarwal 9d9001ab62 renamed staking to simplestake 2018-03-29 06:33:45 +02:00
rigelrozanski 91d3838464 revert examples/basecoin 2018-03-28 19:01:50 +02:00
rigelrozanski dc8636390c refactor, staking uses addresses instead of pubkey
staking refactoring working

working
2018-03-28 19:01:50 +02:00
rigelrozanski b284fd190f added gaia working cli from frey 2018-03-28 19:01:49 +02:00
rigelrozanski c2ddc582c4 working gaia store 2018-03-28 19:01:49 +02:00
rigelrozanski 266a8392d3 initial add gaia
working
2018-03-28 19:01:49 +02:00
Rigel 76d66aba3b
Merge pull request #710 from cosmos/cwgoes/show_validator
Add show_validator command from tendermint to basecoind
2018-03-28 18:57:05 +02:00
Adrian Brink 243564c233
Tests can never be proven to be non-deterministic
Our tests are at best probabilistic deterministic.
2018-03-28 15:08:59 +02:00
Adrian Brink 8574f923e8
Mount every single store with its own DB 2018-03-28 14:33:48 +02:00
Christopher Goes 4371667673 Add show_validator command (ref #704) 2018-03-28 11:41:55 +02:00
Christopher Goes 90304fcfef Rebase onto #690 (tiny fix) 2018-03-28 11:24:31 +02:00
Christopher Goes 5b642062a7 Initial per-module genesis initialization 2018-03-28 11:24:31 +02:00
Rigel d0eb05b162
Merge pull request #690 from cosmos/sunny/keeper-based-modules
Keeper based modules
2018-03-28 02:47:50 +02:00
Ethan Buchman 742d24b7e4
Merge pull request #699 from lino-network/builder
Encapsulate Get Passphrase Logic in Builder
2018-03-27 20:25:48 -04:00
rigelrozanski 010386f48d sprintf and fix error codes 2018-03-27 21:49:11 +02:00
Sunny Aggarwal 0be651fd27 address rigels review 2018-03-27 19:42:09 +02:00
Christopher Goes 4a8e762adf Move basecoin.db to ~/.basecoind/data in app and mock (ref #683) 2018-03-27 12:14:35 +02:00
Christopher Goes 3126afd12b
Add show_node_id command (closes #704) 2018-03-26 20:13:46 +02:00
Yukai Tu 96d9c55172 Encaptulate Get Passphrase Logic in Builder 2018-03-24 23:14:18 -07:00
Sunny Aggarwal 131289ce70 everything but IBC module 2018-03-25 00:29:33 +01:00
Sunny Aggarwal 2fc5cc6bcd updated app.go 2018-03-25 00:29:33 +01:00
Sunny Aggarwal b118b34695 worked on coolKeeper 2018-03-25 00:29:33 +01:00
Sunny Aggarwal 917d431f39 updated app.go 2018-03-25 00:28:41 +01:00
rigelrozanski 658f58015f ... 2018-03-25 00:27:29 +01:00
Sunny Aggarwal 8b19ffa7c1 worked on coolKeeper 2018-03-25 00:27:29 +01:00
Christopher Goes 47b8767208 Refactor to keeper-based module (#689) 2018-03-24 21:41:26 +01:00
Christopher Goes 1b4a3d24ff Implement basic proof-of-work module & add to basecoin example
Module users specify a coin denomination and proof-of-work reward.
Blockchain clients can then submit SHA256 Hashcash solutions and receive
the reward, with a constantly increasing difficulty.

Includes replay protection to prevent the same solution being submitted
multiple times, and inclusion of the rewardee in the hash data to
prevent others from submitting the same solution once they see it in the
tx pool.

Reasonably comprehensive testsuite
2018-03-22 18:51:23 +01:00
Ethan Buchman 723889570e ErrTxParse->ErrTxDecode; check for empty bytes in account and tx 2018-03-21 02:44:17 +01:00
Ethan Buchman e4b8010077 ParseAccount -> AccountDecoder 2018-03-21 02:22:15 +01:00
Adrian Brink 75674a9ec3
Implement Simple Staking as a module
The simple staking module allows validators to bond and add more stake
to their bond. It doesn't allow partial unbond and has no delegation.
The staking power per validator though is correctly reflected within the
consensus.
2018-03-20 12:14:35 +01:00
mossid 2c0b172653 apply comments 2018-03-20 00:22:49 +01:00
Joon e80f7b040c
Merge branch 'develop' into joon/ibc-mvp1 2018-03-19 22:53:58 +01:00
Ethan Buchman 984aff12da
Merge pull request #642 from cosmos/sunny/errors
move some errors to sdk from bank
2018-03-19 22:37:30 +01:00
mossid 3ae618fd4a comment out TestGenesis 2018-03-19 21:08:55 +01:00
Adrian Brink 54b162f5c3
Merge branch 'develop' into joon/ibc-mvp1 2018-03-18 17:11:34 +01:00
Adrian Brink f1cb7299ae
Start testing the relayer 2018-03-18 16:24:48 +01:00
Adrian Brink 23191aee68
Work out wire for IBC module 2018-03-18 15:47:17 +01:00
Adrian Brink 6c9b62d461
Add errors to IBC module 2018-03-18 14:51:08 +01:00
Adrian Brink 95a5a7c9a0
IBC implementation almost done 2018-03-18 13:32:16 +01:00
Sunny Aggarwal 3e91e12a2f moved errors to sdk from bank 2018-03-18 03:42:54 +01:00
Ethan Buchman d807d32f8a client/lcd: wip use in-proc tm and lcd for tests 2018-03-17 23:12:43 +01:00
Ethan Buchman 7f3a6e0c04 Options -> AppState 2018-03-17 23:10:44 +01:00
Fabian Weber cf6f04978c adjusted sending + tx tests 2018-03-17 22:17:56 +01:00
Ethan Buchman ad705fdea1 bump version
added rest server and status endpoint

added get block endpoint

added latest block endpoint

add 404 if height is out of bounds

add version endpoint

add validators endpoint

export GetBlockHeight

add keys endpoints

add txs endpoints

added verb limiters to ednpoints

only output node info + json structure improvement

fixed wrong body parsing

github PR template

crypto.Address -> sdk.Address

revert to old go-wire

update glide

remove print statement and update glide

fix #554

add .DS_Store to .gitignore

Massive consolidation: queue, data storage struct, store, logic, ...

Small fixes
2018-03-17 22:14:19 +01:00
Ethan Buchman dd4a86b856 x/auth: crank the test coverage 2018-03-17 21:20:24 +01:00
Ethan Buchman 3babf8c2d9 fix and clean fees and x/auth 2018-03-17 19:54:18 +01:00
Ethan Buchman eb23803833 remove tx.GetFeePayer 2018-03-17 18:34:06 +01:00
rigelrozanski 5965df1613 move signmsg into common sign and build functionality 2018-03-17 16:49:47 +01:00
mossid 8c290c3a6b make relay.go compiled 2018-03-15 18:01:33 +01:00
Adrian Brink 1447bcf139
Integrate IBC more and more into basecli 2018-03-15 17:26:43 +01:00
mossid 8a99041512 move ibc_test code to basecoin/app_test 2018-03-15 17:24:31 +01:00
Adrian Brink cd79574927
Add IBC to basecoind 2018-03-15 15:07:01 +01:00
Ethan Buchman 2336a20f5a fix cli to sign StdSignDoc. fixes #620 2018-03-14 13:11:19 +01:00
Ethan Buchman 8f03b181c7 examples/basecoin/app: fix test by using StdSignDoc 2018-03-13 11:54:22 +01:00
rigelrozanski eea4e8d151 cleanup 2018-03-13 02:58:09 +01:00
rigelrozanski 29cd41e5e4 basecoin app_test is cool now 2018-03-13 02:58:09 +01:00
rigelrozanski e7777cc7ca cool module renames 2018-03-13 02:57:14 +01:00
rigelrozanski b9691f1086 cool module test fixes 2018-03-13 02:57:14 +01:00
Ethan Buchman 661d0fd7e8 types: StdSignDoc includes sequence for each sig 2018-03-13 01:42:13 +01:00
Ethan Buchman e4da8ebee2 fixes from rebase 2018-03-13 01:42:13 +01:00
Ethan Buchman a05ea5fcc9 implement replay protection 2018-03-13 01:42:13 +01:00
Ethan Buchman 70e9f52f76 examples/bascoin/app: clean tests 2018-03-13 01:42:13 +01:00
Ethan Buchman 032a0b4539
Merge pull request #552 from cosmos/rigel/basecoin-upgrade
Basecoin Upgrade + tiny bit client refactor
2018-03-11 00:12:02 +01:00
Zaki Manian 9afe696bf4 Replace glide with dep 2018-03-08 19:48:17 +00:00
rigelrozanski b861b4692d wip app tests 2018-03-06 00:56:03 +00:00
rigelrozanski 7b0a5fb043 add cool msg to codec 2018-03-05 00:55:23 +00:00
Adrian Brink 85316e9388 Explanation on how the module system works 2018-03-04 17:24:23 +00:00
rigelrozanski 9349d95cd9 add some unmarshal panics 2018-03-04 17:24:23 +00:00
rigelrozanski fb199e293e fixes, add to changelog 2018-03-04 17:21:37 +00:00
rigelrozanski a2e4479dcc complete cool CLI 2018-03-04 17:21:37 +00:00
rigelrozanski b6347db664 refactor client 2018-03-04 17:21:37 +00:00
rigelrozanski 131130b7a4 basecoin upgrade without CLI 2018-03-04 17:21:37 +00:00
rigelrozanski 6dec9353be working new cool module in basecoin 2018-03-04 17:21:37 +00:00
Ethan Buchman 1c6ecef599 fix #554 2018-03-03 18:24:24 -05:00
Ethan Buchman 630a5fe579 revert to old go-wire 2018-03-02 04:24:07 -05:00
Ethan Buchman 62d6a5de46 crypto.Address -> sdk.Address 2018-03-02 02:49:07 -05:00
Ethan Buchman cba7379f78 dont mount multiple stores while its broken 2018-03-01 02:03:26 -05:00
Ethan Buchman 2047abc8bc add tests to show mounting multiple stores is broken. see #532 2018-03-01 02:00:44 -05:00
rigelrozanski 5ba2714777 removed gaia cli references (on reference branch now) 2018-03-01 02:36:57 +00:00
rigelrozanski 3be46395cf restructure to remove deps on example 2018-03-01 02:36:57 +00:00
rigelrozanski 5bc5135c1b wire 2018-03-01 02:36:57 +00:00
rigelrozanski 1d3904dfd3 bank registers crypto 2018-03-01 02:36:57 +00:00
Ethan Frey bae7cec3fa Move all subcommands out of main into proper folders 2018-03-01 02:36:57 +00:00
Ethan Frey 7779eec990 Make store name for query account configurable 2018-03-01 02:36:57 +00:00
Ethan Frey 356baf61c1 Move sendtx and query account commands into x/bank 2018-03-01 02:36:57 +00:00
Ethan Frey 00304dd094 Prompt for password on sendtx 2018-03-01 02:36:57 +00:00
Ethan Frey 67e896dcaf Clean up sendtx example 2018-03-01 02:36:57 +00:00
Ethan Frey f481900b23 Hacked together sendtx - basecoin parse logic fails 2018-03-01 02:36:57 +00:00
Ethan Frey 8c93a6455b Implement query account without proofs 2018-03-01 02:36:57 +00:00
Ethan Frey 58f2cbfa38 Removed keys stub 2018-03-01 02:36:57 +00:00
Ethan Frey b0c65f8045 All keys logic works with new basecli 2018-03-01 02:36:57 +00:00
Ethan Frey 66e6677281 Copy over gaiacli skeleton to basecli 2018-03-01 02:36:57 +00:00
Ethan Frey e8676921f7 Basecoind start works with upgraded tendermint 2018-03-01 02:36:08 +00:00
Ethan Frey 7848ee23db Addressed pr comments 2018-03-01 02:36:08 +00:00
Ethan Frey 94ddda6a1f Copy init code from tendermint so it runs properly 2018-03-01 02:31:17 +00:00
Ethan Frey 4e91a0db89 Add cli to basecoind, fix compatability issues 2018-03-01 02:31:17 +00:00
Ethan Frey 09e07bb44a Extracted initialization logic into server, default option generation in gaia 2018-03-01 02:30:14 +00:00
Ethan Frey 438d18e059 Pulled most of gaiad into server, with rough implementation 2018-03-01 02:30:13 +00:00
Ethan Frey a99d913982 Extract version command to common location 2018-03-01 02:30:13 +00:00
Ethan Frey d1fc3d6801 Add overview 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 55730270e5 basecoin: remove glide 2018-02-28 00:04:20 -05:00
Ethan Buchman ed88100f15
Merge pull request #515 from cosmos/bugfix/remove-basecoin-extra-vendor
Remove errant basecoin vendor mess
2018-02-27 23:57:38 -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 a91bcaf4f2
Merge pull request #488 from cosmos/moar-tests
REVIEW: baseapp: start TestInfo
2018-02-27 19:11:49 -05:00
Ethan Frey babbf0635f Remove errant basecoin vendor mess 2018-02-27 17:44:20 +01:00
Ethan Buchman 53812a2076
Merge pull request #490 from cosmos/basecoin-install-patch
basecoin get_tools
2018-02-21 00:17:46 -05:00
Zach Ramsay 2b25f5948d glide.lock 2018-02-20 22:10:01 +00:00
Adrian Brink 9ec5f37a02
Fix installation process for basecoind from top-level folder
The make build command only works if you install the dependencies first.
Previously you had to cd into examples/basecoin and run get_vendor_deps
and then cd into cosmos-sdk and then run build.

With this change a user can just run build in the top-level folder and
the dependencies are installed automatically.
2018-02-20 13:00:48 +01:00
rigelrozanski 37600d2cd0 basecoin get_tools 2018-02-20 10:10:36 +00:00
zramsay e1e886a0fc s/dummy&Dummy/kvstore&KVStore/g 2018-02-19 22:17:06 +00:00
Jae Kwon 1197c6db93 Making basecoind quickly terminate - temporary workaround 2018-02-18 22:09:10 -08:00
zramsay 0e93f694d6 basecoin/tests: send real tx, check balances (#471) 2018-02-19 02:31:52 +00:00
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
Adrian Brink 125954ace8 Strongly typed transactions in handlers
During transaction processing we retrieve the type of msg and based on
that we get the applicable handler from the router. This means that the
router should only receive messages that it knows how to handle. Instead
of using Get interfaces, we should cast to the actual type of
transaction and then access the transaction details that way.
It's okay to panic here, because if the DummyHandler receives a message
that it cannot cast to the expected type it means something is wrong
with the router. Instead of retrieving an arbitrary key by chance we
should panic.
2018-02-17 16:51:20 -05:00
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