Commit Graph

264 Commits

Author SHA1 Message Date
Ethan Frey 746ae28eaa Add ibc query commands 2017-07-27 16:27:06 -04:00
Ethan Frey 2b79aa0413 Code cleanup from emmanuel 2017-07-27 15:31:34 -04:00
Ethan Frey d607b76234 Reorg state package and fix all imports 2017-07-27 15:31:33 -04:00
Ethan Frey f6e7d4b741 Pull in logic from merkleeyes, get it all working with trees 2017-07-27 15:31:32 -04:00
Ethan Frey ace0e4cf78 remove key.json from basecoin init 2017-07-22 09:56:22 -04:00
Ethan Frey 63fc25e74e Add roles cli test, coin query supports multiple apps in actor 2017-07-19 16:14:26 +02:00
Ethan Frey 911dd1423e Add roles wrapper/tx/query command to basecoin 2017-07-19 14:26:40 +02:00
Ethan Frey d712d6ffd1 Fixed imports in main.go 2017-07-19 12:22:01 +02:00
rigel rozanski ac1ecc10c4 new library orders 2017-07-19 04:51:36 -04:00
Ethan Frey 100522069d Moved cmd/basecli/commands into client/commands 2017-07-18 22:21:57 +02:00
Ethan Frey eb495e081b Move commands to client/commands 2017-07-18 21:57:37 +02:00
Ethan Frey a9e4a94402 Moved all commands from light-client into basecoin 2017-07-18 21:23:11 +02:00
Ethan Frey a060bde1c4 Add more flags to help with multisig 2017-07-18 20:45:48 +02:00
Ethan Frey 7b0934bf9f Ripped about cmd logic to make middleware modular 2017-07-18 20:12:51 +02:00
Ethan Frey 65e9905a83 Ensure valid address in basecoin init 2017-07-18 12:31:57 +02:00
rigel rozanski 8dc5fc718d tests working 2017-07-18 12:08:30 +02:00
rigel rozanski cb00c00f0d getting query command to operate 2017-07-18 12:08:30 +02:00
rigel rozanski 3d5cf393b9 PR changes 2017-07-18 12:08:29 +02:00
rigel rozanski 007230e583 swap the nonce & chain check order in stack 2017-07-18 12:08:29 +02:00
Ethan Frey 9fd250209e Cli now returns errors on non-zero code from DeliverTx 2017-07-18 12:08:29 +02:00
Ethan Frey 6d35b1f934 Clean up nonce wrapper in cli 2017-07-18 12:08:29 +02:00
rigel rozanski 23615c5d37 almost done! 2017-07-18 12:08:29 +02:00
rigel rozanski 6e07dbe7c3 nonce testing 2017-07-18 12:08:28 +02:00
rigel rozanski 16b039534d working sequence number with errors 2017-07-18 12:08:28 +02:00
rigel rozanski 50e4d31149 working nonce module 2017-07-18 12:08:27 +02:00
Ethan Frey c1fc5ae3c8 Add --fee flag to sendtx 2017-07-12 20:51:07 +02:00
Ethan Frey 36a453ea41 Fee handler set by default, tested app level 2017-07-12 20:38:54 +02:00
Ethan Frey 5950ff34e3 remove sequence number from coins 2017-07-12 19:25:14 +02:00
Ethan Frey bb61b9fca3 Update cli to properly query into app state-space 2017-07-11 15:35:43 +02:00
Ethan Frey 64f2c63e21 Fixes as per Rigels comments on PR 2017-07-11 13:44:44 +02:00
Ethan Frey 100d88d7dd Fix up all tests to handle NewChainTx change 2017-07-10 11:57:37 +02:00
rigel rozanski 1821f8bd7a more cleanup
int
2017-07-07 01:27:29 -04:00
Ethan Frey b757467f7b Moved content of txs package to sit next to the handlers 2017-07-06 16:33:38 +02:00
Ethan Frey a047e210fa Moved the handlers from stack into modules 2017-07-06 16:00:54 +02:00
Ethan Frey 6983f61961 Moved Coins from types -> modules/coin 2017-07-06 14:59:45 +02:00
Ethan Frey 912c24093f Removed a whole lot of old crud 2017-07-06 13:40:02 +02:00
rigel rozanski 9b561344fe addressing PR 154 comments 2017-07-06 05:39:58 -04:00
rigel rozanski 35845a958f fix cmd/bascoin/commands/init old flags 2017-07-05 07:08:56 -04:00
rigel rozanski 5044032a23 golint compliant for app, cmd folders 2017-07-05 06:57:52 -04:00
rigel rozanski 375fad3bec go linting working 2017-07-04 23:28:27 -04:00
Ethan Frey 6d56891a0f Re-implement counter plugin 2017-07-04 13:43:25 +02:00
Ethan Frey 9cd303d1fd Cleaned up unneeded adapters 2017-07-03 22:34:30 +02:00
Ethan Frey 413ea2e23f basecli works for sendtx and cli tests 2017-07-03 22:30:12 +02:00
Ethan Frey af132fbab8 Fixed basecli query for 0.7 2017-07-03 21:53:58 +02:00
Ethan Frey fa1a300943 Add SetOption to all middleware and handlers 2017-07-03 18:10:46 +02:00
Ethan Frey 159574db89 Move ChainID into context 2017-07-03 17:32:01 +02:00
Ethan Frey ef0ab758ed Cleaned up logger on constructors in App, State 2017-07-03 16:54:47 +02:00
Ethan Frey d0a2041c89 Remove references to IBC from binaries 2017-07-03 16:47:03 +02:00
rigel rozanski ec7ef41fdc First Full Auto-Tutorial Test 2017-06-29 05:47:38 -04:00
Ethan Frey 7fa01a2a74 Add experimental support for bash autocomplete 2017-06-28 11:54:48 +02:00
Ethan Frey 71946ada6f Add new rpc subcommand from light-client 2017-06-27 18:13:29 +02:00
Ethan Frey 41bc371a1d Update dependencies, set merkleeyes logger 2017-06-27 15:20:32 +02:00
Ethan Frey ad5c129b8e #127: init messages refer to command name 2017-06-27 14:07:55 +02:00
Ethan Frey e839a92f88 Updated RequireInit, latest light-client 2017-06-26 21:36:49 +02:00
Ethan Frey e37c0cf538 Update dependencies, improve basecli init check 2017-06-26 18:22:51 +02:00
Ethan Frey 14c39e7312 Support all "tendermint node" flags in "basecoin start" 2017-06-26 18:22:50 +02:00
Ethan Frey 18d7b6426b Add support for --log_level 2017-06-26 18:22:50 +02:00
Ethan Frey c36352e4a5 Refactor tendermint config loading 2017-06-26 18:22:50 +02:00
rigel rozanski fc36b21669 Add Signers in ReadAppTxFlags 2017-06-23 17:50:54 -04:00
Ethan Frey f5e96a8d31 Bump version to 0.6.0, add to basecli command 2017-06-22 16:21:59 +02:00
Ethan Frey 4cabad0980 Minor cleanup 2017-06-21 16:24:51 +02:00
Ethan Buchman 824050a0b4 basecoin init --chain-id 2017-06-21 02:48:09 -04:00
Ethan Buchman 43378a9b7b fix up basecli readme and basecoin-tool.md 2017-06-21 00:43:32 -04:00
Ethan Buchman e671ce6030 bring back key.json. ibc guide edits 2017-06-21 00:32:59 -04:00
Ethan Buchman 105cdbac38 cmd/commands -> cmd/basecoin/commands 2017-06-21 00:27:23 -04:00
Ethan Buchman 7b595b3f87 user ErrNoData from light-client 2017-06-20 21:35:46 -04:00
Ethan Buchman a3bc96c56b basecoin init takes an account address 2017-06-20 21:35:22 -04:00
rigel rozanski 24bd0f5ed6 update docs, move counter
int

int

int
2017-06-18 19:01:54 -04:00
Ethan Frey a57e2d34b1 Remove remnants of basecoin tx as ibc functions are now under relay 2017-06-16 20:42:41 +02:00
Ethan Frey cb075bbb7e Working with relay init 2017-06-16 20:36:38 +02:00
Ethan Frey b63f8bd15a Move relay to basecoin relay start 2017-06-16 20:20:23 +02:00
Ethan Frey d7cddb252a Cleaned up comments 2017-06-16 19:31:09 +02:00
Ethan Frey 9bf34cbac2 Removed many more unneeded commands 2017-06-16 17:28:26 +02:00
Ethan Frey b15f882ff4 Ripped out query, tx send, account, keys, and more 2017-06-16 17:20:45 +02:00
Ethan Frey 33d4f930da basecli sendtx handles chain/addr format 2017-06-16 15:42:18 +02:00
Ethan Frey 2f3c7002fa Create new command, countercli, removed counter from basecli 2017-06-16 14:00:43 +02:00
rigel rozanski 9c8ccefd35 reorganize basecli appTx commands
int
2017-06-16 13:41:42 +02:00
Ethan Frey 3c18c33e92 Fix basecli --chainid to --chain-id 2017-06-15 20:29:26 +02:00
Ethan Frey 282a157997 Update to use new helper methods, less code dups 2017-06-15 15:59:45 +02:00
Ethan Frey 8f67b6be84 Got counter tx working, needs testing 2017-06-15 13:36:18 +02:00
Ethan Frey 66ec2f266c Port sendtx to new format 2017-06-15 13:11:09 +02:00
Ethan Frey 65837cf952 Clean up queries, part 1 2017-06-15 12:27:55 +02:00
rigel rozanski 25e7a79174 replace basecli state presenters with cmds 2017-06-14 05:02:42 -04:00
Anton Kaliaev 20ce43e472
parse log level using tmlibs/cli/flags package (Fixes #97)
```
$ basecoin start
loading existing db
I[06-02|06:18:29.290] Done setting Account via SetOption           module=app result=Success
I[06-02|06:18:29.290] Starting Basecoin with Tendermint            module=main chain_id=test_chain_id
ERROR: Expected either "info", "debug", "error" or "none" level, given state:info,*:error
```
2017-06-02 10:56:15 +03:00
Ethan Frey 9444427d7e Make sure we export hex not base64 for byte slices 2017-05-30 18:28:25 +02:00
Ethan Frey bcf3212462 Fix up tendermint cli flags to 0.10.0-rc2 in demo 2017-05-30 18:11:10 +02:00
Ethan Frey 935c74d970 Make sure cmd uses encoding/json not wire.JSONBytes 2017-05-30 17:51:35 +02:00
Ethan Frey ddf434276c Added brief docs on light-client proxy 2017-05-29 16:16:55 +02:00
Ethan Frey 6fec396fbd 92: Fix ParseCoins regexp in general 2017-05-29 16:16:55 +02:00
Ethan Frey da698bb7af 94: init creates config, like tendermint init 2017-05-24 15:21:56 +02:00
Ethan Buchman 1f5a278965 fix build/tests 2017-05-22 07:44:50 -04:00
Ethan Buchman 7f2d25c593 [cmd] support SendTx to other chains via IBC 2017-05-22 07:35:23 -04:00
Ethan Buchman 444b96dfe7 fixes for relay 2017-05-22 07:35:23 -04:00
Ethan Buchman 7b83dea0d6 [cmd] new relay command for IBC relay 2017-05-22 07:35:23 -04:00
Ethan Buchman f4c5edaca3 fixes to compile 2017-05-22 07:35:23 -04:00
Ethan Frey 8daa916729 88: Correct functioning of unsafe_reset_all to mirror tendermint 2017-05-22 13:30:42 +02:00
Ethan Frey 029c0e9c72 90: don't panic on missing pk in tx construction 2017-05-22 13:16:08 +02:00
Jae Kwon 2983f5018b Allow keyfile to be absolute path 2017-05-21 20:10:29 -07:00
Ethan Frey bd62b21d6e Bump version to 0.5.0, update deps 2017-05-17 12:46:08 +02:00
Ethan Frey a8866bdd2d Reorg basecli for nicer apptx reusage 2017-05-17 01:14:31 +02:00