Commit Graph

46 Commits

Author SHA1 Message Date
Sunny Aggarwal d7158b70a5 fixed cli test 2018-07-09 02:05:19 -07:00
sunnya97 7ac220beb6 asdf 2018-07-09 00:59:51 -07:00
ValarDragon 12c1eb4d31 gov/client: rename submitproposal to submit-proposal
It is standard in the sdk to use a dash for subcommands / flags
with multiple words. This makes submitproposal comply with that.
2018-07-05 22:22:50 -07:00
ValarDragon bf8cde1d3a cli: deprecate --name in favor of --from 2018-07-05 17:24:02 -07:00
ValarDragon 23414868a1 Remove --owk flag 2018-07-05 10:14:12 -07:00
ValarDragon 72aac78a39 Set home-client in gaiad init 2018-07-05 09:51:20 -07:00
ValarDragon c4c1c626c9 Add --owk flag to gaiad init 2018-07-05 09:47:04 -07:00
ValarDragon 492272c5e6 cli_test: Un-abstract common code
This is done to enhance readability, so one can easily reproduce
the functionality in the command line.
2018-07-05 09:08:45 -07:00
ValarDragon 640bccf8f7 Switch using user home to a tmp directory 2018-07-04 13:09:59 -07:00
ValarDragon b0e6c76554 Remove redundant comment, switch to MustBech32ify 2018-07-04 08:20:44 -07:00
ValarDragon e41f2bc8b5 tests: cli_tests no longer reset call `unsafe_reset_all` on local env
* Makes all cli tests use .test_gaiad, .test_gaiacli instead of the
	same directories as the default binaries
* Abstracts alot of the functionality for setting up the server into
	a single function / file-wide constants. This is to reduce
	code duplication, especially since some of this functionality
	depends on each test setting up the keys in the same way.

Closes #1461
2018-07-03 23:33:24 -07:00
Ethan Buchman d388036454 Merge PR #1520: various fixes for test_cli
* various fixes for test_cli
* linting
2018-07-03 06:33:53 +02:00
Dev Ojha 955a0c9af7 Switch asserts to require (#1483)
* meta: Switch the majority of asserts to require

Switch most assert statements to require, to ease debugging.
Closes #1418

* Fix imports
2018-06-30 03:10:15 +02:00
Christopher Goes 59aadf42aa
Ledger integration (#931)
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Sunny Aggarwal dc2c8f900b Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
Christopher Goes 918e217e1f
Merge PR #1280: Implement simple transaction memos
* AltBytes -> Memo, memo CLI support & thread-through
* Check memo size, update changelog
* Update existing testcases
* Nuke CircleCI caches
* Charge gas proportional to memo size
* Fix gas allocations in ante handler testcases
* Add testcases
* Update changelog
* Fix tiny CLI bug & add to CLI tests
* Add '--memo' to gaiacli
* Add testcase for large memos
* Address PR comments
2018-06-20 21:27:36 +02:00
Joon 314b5a854d Merge PR #1218: sdk.Int in sdk.Coin
implement Int, Int256, Uint256
pass ci
pass ci
add to changelog, add boundcheck to test
add comments, fix cli_test.go
fix errors
apply requested changes
panics on New*WithDecimal
fix Int.BigInt()
fix stake tests
* Panic on uint division-by-zero
* Set ok=false on NewIntFromString, NewUintFromString failure
* Nuke CircleCI caches
2018-06-15 23:16:45 +02:00
Ethan Buchman ff34cbc8bc gaia/cli_test: remove sleeps 2018-06-13 17:41:01 -07:00
Fabian 5f409ce832 Merge PR #1086: Bech32Cosmos output/input for the LCD
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
Zaki Manian ce850dca3b Switch from bech32cosmos to bech32 2018-06-01 16:23:58 +02:00
rigelrozanski e1d9f00d2d ... 2018-06-01 01:57:21 -07:00
rigelrozanski 823814dfce fix cli test 2018-06-01 01:47:44 -07:00
Jeremiah Andrews a03638d14a changed commands in cli_test to match refactor 2018-05-31 22:06:13 -07:00
rigelrozanski ba44bf7c81 rm debug output 2018-05-31 18:54:14 -07:00
rigelrozanski 5515b60b0a better tooling for cli, couple lsd fixes 2018-05-31 18:46:25 -07:00
rigelrozanski a4e1e497cd cwgoes comments 2018-05-31 15:49:18 -07:00
rigelrozanski 0b6aa3c047 add test_cli to ci 2018-05-31 14:57:09 -07:00
rigelrozanski 1f1097c4d3 cli test bugs 2018-05-31 14:57:09 -07:00
rigelrozanski 952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
rigelrozanski afc2bbfe09 working through cli 2018-05-31 14:56:17 -07:00
rigelrozanski 94e78e0602 cech32 fixes for TestGaiaCLISend 2018-05-31 14:56:17 -07:00
Jae Kwon 871574888b Make Execute and GoExecute log better 2018-05-31 14:56:17 -07:00
Zaki Manian f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
rigelrozanski ed5d088824 renaming and refactoring for fees 2018-05-17 09:17:14 -04:00
Christopher Goes 23c9e2fb6f
Update CLI tests to test auto-sequencing 2018-05-04 05:43:29 +02:00
Adrian Brink d52d74582a
Change fermion to steak 2018-04-30 16:24:46 -07:00
rigelrozanski 05c5809bae gaia init automatic key processing 2018-04-26 14:26:39 -04:00
rigelrozanski 7e2ac80137 cli testing fix 2018-04-26 14:26:39 -04:00
rigelrozanski b9477ecbbe init refactor uses genesis transaction now 2018-04-26 14:26:39 -04:00
rigelrozanski 3aa4752737 stake cli init fixes 2018-04-26 14:26:39 -04:00
rigelrozanski 201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
rigelrozanski d4c2d6fd4c fix cli tests 2018-04-26 14:26:39 -04:00
rigelrozanski ca3d3be3af better key output 2018-04-20 12:51:47 -04:00
rigelrozanski ad0c776d94 show_validator now displays HEX by default, declare-candidacy also takes go-amino encoded 2018-04-19 15:18:31 -04:00
rigelrozanski d36efcd417 unbond in gaia cli test 2018-04-18 14:21:07 -04:00
rigelrozanski 6f65867154 comment out go-bash race condition 2018-04-18 14:06:49 -04:00