Commit Graph

5513 Commits

Author SHA1 Message Date
Aaron Craelius 82d437f206 Fix broken cosmos-sdk go module (#3982)
The unicode characters in the filename of the Chinese language launch article were breaking the cosmos-sdk go module for module consumers.
2019-03-27 17:45:08 +00:00
Alexander Bezobchuk 9cf9e6fff6
Merge PR #3983: Fix Flag Typo 2019-03-27 12:16:48 -04:00
Alexander Bezobchuk ea46da7126
Merge PR #3970: Fix Tx Sign Offline Mode
- Add shorthand flags `-a` and `-s` for the account and sequence numbers respectively
- Mark the account and sequence numbers required during "offline" mode
- Always do an RPC query for account and sequence number during "online" mode
  - If clients wish to provide such values, they must use `--offline`. This makes the whole flow/UX easier to reason about.

closes: #3893
2019-03-26 10:36:10 -04:00
Frank Yang 83f3d1e192 Merge PR #3975: Missing `source ~/.bash_profile` when setting the go environment 2019-03-25 22:04:55 -07:00
Juan Leni 2dfba4ec9b Merge PR #3962: Upgrading ledger dependencies 2019-03-25 20:28:25 -07:00
Alexander Bezobchuk 2b43e25d55
Merge PR #3954: Tx Broadcasting Sync by Default 2019-03-25 20:54:23 -04:00
Frank Yang 5c2077c150 Merge PR #3935: Modify stake to uatom in gaia's doc
* Modify stake to atom in gaia's doc. #3833

* Scale up the amount from atom to uatom.

* Scale up the amount from atom to uatom.

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: yangyanqing <yangyanqing.cn@gmail.com>

* modify for review
2019-03-25 17:15:54 -04:00
Alexander Bezobchuk 59765cecb1 Merge PR #3857: Remove Shares Concept from Unbond/Redelegate UX
* Remove shares concept from unbonding and redelegation

* Remove redundant staking REST type declerations

* Rename staking REST request types

* Fix slashing tests

* Fix staking tests

* Fix integration tests

* Add safety checks for when validator tokens are zero

* Attempt to fix simulation

* Add pending log entry

* Update docs

* Implement and use SharesFromTokens

* Rename ShareTokens and ShareTokensTruncated

* Rename Delegation to Amount in DelegateRequest

* Implement and use SharesFromTokensTruncated

* Update MsgDelegate to use Amount instead of Value

* Use constructors in staking sim messages

* Implement and use ValidateUnbondAmount
2019-03-25 17:13:02 -04:00
Zaki Manian 2788c2250d Merge PR #3968: Documentation on how to sign Cosmos transactions 2019-03-25 18:20:03 +01:00
frog power 4000 2ca86c8605 Merge PR #3898: Circuit breaker high level explanation 2019-03-25 16:37:05 +01:00
Alexander Bezobchuk 8528ac7665
Merge PR #3960: Disable Keybase for Generate Only in CLI 2019-03-25 11:27:24 -04:00
Alexander Bezobchuk dd7de2acaf
Merge PR #3951: Remove ';' delimiting support from ParseDecCoins 2019-03-25 10:38:15 -04:00
gamarin2 294ac8e980 Merge PR #3965: Cherry pick docs update to develop 2019-03-22 13:53:37 -07:00
Jack Zampolin f9c290f42e
Merge PR #3957: Remove requirement that deposit period and voting period linked 2019-03-22 13:47:04 -07:00
wangjj9219 160928b8f3 Merge PR #3955: update docs chinese translation 2019-03-22 12:06:55 -07:00
frog power 4000 9b27901b2a
Merge PR #3958: Fix lcd-testing 303030 bug continued
* 303030 bug part 2

* further rearrange
2019-03-21 15:43:02 -04:00
Frank Yang 424adf1461 Merge PR #3953: Codespace should be lowercase 2019-03-20 16:45:02 -07:00
Karoly Albert Szabo 7438a650e6 Validate genesis before running gentx (#3927)
Closes: #3825
2019-03-20 19:02:11 +01:00
Jack Zampolin ae215a2520
Merge PR #3950: sdkch various changes 2019-03-20 08:48:35 -07:00
Alessio Treglia 2832941711
Remove -prune flag.
-prune is unnecessary and misleading. Once a release is cut,
.pending/ contents must be recursively removed by git rm -r
and changes committed and pushed.

Ref #3892
2019-03-20 14:29:41 +01:00
Alessio Treglia 4b91909ae8
generate: hide empty sections/stanzas if empty 2019-03-20 14:00:20 +01:00
Alexander Bezobchuk 386116f9e2 Merge PR: #3918 Allow Unrated Decreases to Validator Commission Rates
* Allow arbitrary decreases to validator commission rates

* Implement TestCommissionValidate

* Implement TestCommissionValidateNewRate

* Add comments to unit tests
2019-03-19 22:04:25 -04:00
Christopher Goes b9837e3ca2
Merge PR #3938: Remove REST server's secure mode altogether
* Remove REST server's secure mode altogether
* Add changelog pending entry
2019-03-19 22:00:48 +01:00
Alessio Treglia 236bc237a9
Add changelog pending entry 2019-03-19 18:25:30 +01:00
Alessio Treglia 8421008042
Remove REST server's secure mode altogether 2019-03-19 18:20:53 +01:00
Alessio Treglia cdf2b7a7c5
gometalinter -> golangci-lint migration (#3933)
{,scripts/}Makefile:
- Remove gometalinter, install golangci-lint.
- Remove distinction between tools and devtools.
  Just tools is enough.
- test_lint -> lint
  Migrating away from underscore separated names.
- Remove unnecessary targets.
- Drop tendermint/lint. Incompatbile with golangci-lint
  and no longer necessary anyway.
- Fix misleading message in go-mod-cache.
- New ci-target to avoid download tools twice.
- Run tests with -mod=readonly.

Port tools/gometalinter.json to .golangci.yml
Update CircleCI config accordingly.

Closes: #3896
2019-03-19 17:52:43 +01:00
gamarin2 ce82e01ec4 Merge PR #3922: DOCS: gamarin/master docs update 2019-03-18 16:58:11 -07:00
Chris Remus faefc80769 Merge PR #3931: DOCS: Update validator-setup.md 2019-03-18 15:12:58 -07:00
frog power 4000 ea9aecdff4
Merge PR #3894: Minting mechanism explanatory docs
* minting spec concepts

* cl

* Update docs/spec/mint/01_concepts.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* typo address @alexanderbez

* Apply suggestions from code review

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* commit for CI to restart
2019-03-18 11:11:31 -04:00
Alessio Treglia 6ce4d5efd1
replace dep with go mod (#3907)
Replace sha1sum with jack's gosum and get rid of
vendor-deps.
Also don't compute hash on vendor/ contents.
Instead hash go.sum.

Disable unconvert lint check. It does not
work very well with go mod.

Remove update_vendor_deps once and for all.

Upgrade to go 1.12

Closes: #3919 #3630
2019-03-18 13:45:25 +01:00
Alexander Bezobchuk 5f92fef4b0
Fix TruncateDecimal (#3913) 2019-03-16 16:14:37 -07:00
Frank Yang 3d2886dc49 Remove Height Flag from CLI Queries #3883 (#3910)
Closes: #3883
2019-03-16 17:26:40 +01:00
Alexander Bezobchuk 25408e7856 Merge PR #3747: Implement initial simple denom convert utils 2019-03-16 14:18:27 +01:00
Ismail Khoffi 5115dd4a6a Merge PR #3912: Fix a bunch of typos while skimming through the docs 2019-03-15 18:10:11 +01:00
Joon 465bb02d6a Merge PR #3779: Split Proposal Interface 2019-03-15 17:47:47 +01:00
Frank Yang 8d6d8adb5f Merge PR #3899: Using `gaiacli config node` breaks ~/config/config.toml (#3903)
Config file need to be truncated while rewriting.
2019-03-15 16:08:33 +01:00
Frank Yang 5081c930de Merge PR #3887: Add indent to prompt of `gaiacli tx send`
* Add indent to prompt of `gaiacli tx send`.
* Add indent to prompt of `gaiacli tx send` with flag --indent.
2019-03-15 16:08:05 +01:00
shirleypyj 868d44879c Merge PR #3904: Create Blastoff — The Cosmos Hub Mainnet is Live-CN 2019-03-15 15:35:36 +01:00
Chjango Unchained dd0378da88 Merge PR #3902: docs: create blog-3-en.md 2019-03-15 08:12:38 +01:00
dogemos 1bc7716010 Merge PR #3879: Update Korean CLI delegator guide to mainnet spec 2019-03-14 19:13:51 +01:00
frog power 4000 f0d1efa43c Merge PR #3819: Simulation Refactor 2019-03-14 19:13:15 +01:00
Karoly Albert Szabo 48b6b3884f Merge PR #3891: Fix link to genesis 2019-03-14 17:09:39 +01:00
Frank Yang 7e53da86ee Merge PR #3884: steak to stake 2019-03-14 10:32:46 -04:00
Alessio Treglia 648b43288b Merge PR #3828: Add sdkch to maintain PENDING.md effectively and free of file conflicts
Closes: #2380
2019-03-14 14:24:53 +01:00
Frank Yang 54ac1d2fe8 Merge PR #3841: Add indent to JSON of `gaiacli key [add|show|list]`
* Add indent to JSON of `gaiacli key list`

* Add `-o json --indent` to `keys [add|show|list]`

* Add change log.

* Move entry from CHANGELOG.md to PENDING.md

* Update PENDING.md

Add indent to JSON of `gaiacli key [add|show|list]`

Co-Authored-By: yangyanqing <yangyanqing.cn@gmail.com>
2019-03-13 10:36:52 -07:00
Jack Zampolin ea0db504d1
Merge PR #3855: Mainnet docs update to master 2019-03-13 09:26:02 -07:00
gamarin f39cc0d548 typo fix 2019-03-13 15:37:26 +01:00
gamarin bd1b693bc6 chris review 2019-03-13 15:32:51 +01:00
Christopher Goes 85b0733a6a
Apply suggestions from code review
Co-Authored-By: gamarin2 <gautier@tendermint.com>
2019-03-13 15:30:48 +01:00
gamarin2 5b62109334 Merge PR #3838: Update Docs for mainnet 2019-03-13 07:09:39 -07:00