Christopher Goes
0ce2732660
Merge branch 'develop' into rigel/genesis-no-zero-power
2018-07-10 07:25:13 +02:00
Ethan Buchman
af478a94bd
Merge branch 'develop' into fedekunze/gov_module_docs
2018-07-10 00:29:39 -04:00
Rigel
b60fcb68d6
Merge branch 'develop' into rigel/genesis-no-zero-power
2018-07-10 00:15:10 -04:00
rigelrozanski
86f68a3e95
prevent zero genesis validators
2018-07-09 22:51:13 -04:00
Sunny Aggarwal
896cd333f0
address comments
2018-07-09 16:06:05 -07:00
Federico Kunze
841c322ddd
Update Gov process considerations
2018-07-09 11:30:32 -04:00
Federico Kunze
ab2d5a73e3
Typos and format
2018-07-09 11:03:42 -04:00
Federico Kunze
023b6c1483
Addressed comments from Gautier and Dev
2018-07-09 10:43:53 -04:00
Sunny Aggarwal
d7158b70a5
fixed cli test
2018-07-09 02:05:19 -07:00
Sunny Aggarwal
25d976feb4
works?
2018-07-09 01:47:38 -07:00
sunnya97
7ac220beb6
asdf
2018-07-09 00:59:51 -07:00
Federico Kunze
0c1a9dcc42
Update with Gov CLI for gaia-7000
2018-07-08 19:50:24 -04:00
ValarDragon
611e4faa3a
gaiad: Genesis txs now use bech32 encoding of address and pubkey
...
* `gaiad init gen-tx` makes the outputted file use bech32, with acct prefix
* `gaiad init --gen-txs` only reads bech32 with acct prefixes
The reason for using the account prefix is that in principle you could
have genesis transactions for non-validators.
Closes #1475
2018-07-07 14:23:19 -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
Christopher Goes
fef2ff0fb9
Merge PR #1538 : CLI tests no longer reset local environment state
...
tests: cli_tests no longer call `unsafe_reset_all` on local env
2018-07-05 23:09:26 +02:00
Ethan Buchman
84ecd1e043
Merge pull request #1339 from forbole/develop
...
Update testnet readme and use Bech32-encoded delegator address
2018-07-05 16:59:04 -04: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
Joon
22ec6ad98d
Merge pull request #1532 : Add Codec.Seal
...
fix wire
2018-07-05 12:04:21 -04: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
Ethan Buchman
a6dc81defa
minor cleanup of feeKeeper
2018-07-03 00:08:00 -04:00
Ethan Buchman
673086f621
Merge branch 'develop' into davekaj/set-fee-collection-keeper
2018-07-02 20:43:33 -04:00
Ethan Buchman
f78f30c67a
update for tm v0.22.0. tmlibs->tendermint/libs
2018-07-02 16:34:06 -04: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
Dev Ojha
097dd8a164
tools: Add unparam linter ( #1443 )
...
* tools: Add unparam linter
unparam detects unused parameters in functions, and a parameter to
a function which only ever takes on one value. The latter is an
indication that more tests are required.
There are many nolints in this PR, as I believe that writing tests
to fix alot of these situations is out of scope for this PR / it
will be changed in future commits. There are some nolints for
when we have to comply to normal api's.
* crypto/keys no longer used by x/gov/client/rest/rest.go
2018-06-29 18:22:24 -04:00
David Kajpust
0a76035398
fee collection now works in gaia
2018-06-29 09:37:14 -04: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
Dev Ojha
ac3adff1e8
Merge PR #1438 : Tools: Add errcheck linter
...
This linter ensures that all errors are checked.
This is disabled in the client directories, since its not needed on
those writes
2018-06-29 00:52:10 +02:00
Rigel
9dbdb1a55f
Merge branch 'develop' into bucky/gaiadebug-bech32
2018-06-27 19:32:24 -04:00
Rigel
50733f5c22
Merge branch 'develop' into develop
2018-06-27 19:22:48 -04:00
Rigel
6f140d7296
Merge PR #1119 : Unbonding, Redelegation
...
* stake/fees spec updates
* staking overview.md revisions, moving files
* docs reorganization
* staking spec state revisions
* transaction stake updates
* complete staking spec update
* WIP adding unbonding/redelegation commands
* added msg types for unbonding, redelegation
* stake sub-package reorg
* working stake reorg
* modify lcd tests to not use hardcoded json strings
* add description update
* index keys
* key managment for unbonding redelegation complete
* update stake errors
* completed handleMsgCompleteUnbonding fn
* updated to use begin/complete unbonding/redelegation
* fix token shares bug
* develop docs into unbonding
* got non-tests compiling after merge develop
* working fixing tests
* PrivlegedKeeper -> PrivilegedKeeper
* tests compile
* fix some tests
* fixing tests
* remove PrivilegedKeeper
* get unbonding bug
* only rpc sig verification failed tests now
* move percent unbonding/redelegation to the CLI and out of handler logic
* remove min unbonding height
* add lcd txs
* add pool sanity checks, fix a buncha tests
* fix ante. set lcd log to debug (#1322 )
* redelegation tests, adding query functionality for bonds
* add self-delegations at genesis ref #1165
* PR comments (mostly) addressed
* cleanup, added Query LCD functionality
* test cleanup/fixes
* fix governance test
* SlashValidatorSet -> ValidatorSet
* changelog
* stake lcd fix
* x/auth: fix chainID in ante
* fix lcd test
* fix lint, update lint make command for spelling
* lowercase error string
* don't expose coinkeeper in staking
* remove a few duplicate lines in changelog
* chain_id in stake lcd tests
* added transient redelegation
* 'transient' => 'transitive'
* Re-add nolint instruction
* Fix tiny linter error
2018-06-27 04:00:12 +02:00
Ethan Buchman
5b29a509cd
gaiadebug: support bech32
2018-06-25 17:42:48 -04:00
Adrian Brink
296ba2d56e
Merge PR #1350 : Update README.md
2018-06-23 04:45:24 +02:00
Sherry Ma
04c2071824
Change the value of tag --address-validator
...
When doing gaiacli stake delegate/unbond/delegation, --address-validator should get the address of the validator, not the validator pubkey.
2018-06-22 17:48:52 +08:00
Sunny Aggarwal
dc2c8f900b
Merge PR #1168 : Governance MVP
2018-06-22 02:19:14 +02:00
Aditya
f049a56376
Merge PR #1266 : Multiple messages
...
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Added ante tests for multisigner
* Remove validatorUpdates from tx result
* Better error logs
* Put Memo in StdSignBytes and formatting
* Updated changelog
2018-06-22 00:05:25 +02:00
Peng Zhong
81c773c8bf
Merge PR #1328 : Testnet readme: how to edit validator description
...
* show how to edit validator description
* teach about keybase sig
* add dash
* add more dashes
* talk about logos for validators
2018-06-21 19:12:35 +02:00
Jack Zampolin
fb7e370c65
Merge PR #1316 : Update testnet validator instructions
...
* Update testnet validator instructions
* Address PR comments
2018-06-21 05:15:29 +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
Peng Zhong
0b0236f2bf
Merge PR #1309 : Update testnet README with solutions to common problems
...
* update readme with common problems
* readme tweaks
* readme tweak
* Link to nodes page, not a single node, and rephrase slashing
2018-06-20 07:37:59 +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
Greg Szabo
59698f8368
Changed denom to token
2018-06-14 13:42:38 -07:00
Greg Szabo
f8290a0fc3
Merge branch 'develop' into greg/testnet-command-2
2018-06-14 11:34:26 -07:00
Greg Szabo
92fb6685fc
Rename fermion to denom in genesis.go
2018-06-14 10:56:24 -07:00