Commit Graph

5666 Commits

Author SHA1 Message Date
Alessio Treglia df362ff3e6
Upgrade Go to 1.12.4 (#4261) 2019-05-03 11:33:41 +01:00
Alessio Treglia 7d11a78557 Merge PR #4257: avoid clogging /tmp with test runs leftover 2019-05-02 16:51:03 -04:00
Alexander Bezobchuk 29ed730aff
Merge PR #4244: Param Proposal Simulation Messages; Minting Params Fix 2019-05-02 16:50:01 -04:00
Alessio Treglia 38f93128eb
Remove baseapp dependency on the version package (#4250)
The version package is meant to be a convenience utility
that provides SDK consumers with a ready-to-use version
command that produces app's versioning information from
flags passed at compile time.
It will not make sense anymore for the baseapp package
to depend on the version package once gaia will have been
migrated away from the SDK main repository as we neither
want to make assumptions nor set expectations on downstream
apps buildsystems. Thus BaseApp now provides SetAppVersion()
and AppVersion() to to allow SDK consumers to set BaseApp's
version information string once the struct is initialised.
2019-05-02 20:37:44 +01:00
Aaron Craelius 114de631a5 Allow custom key types and address formats (#4232)
Add additional parameter to NewAnteHandler for custom SignatureVerificationGasConsumer (the existing one is now called DefaultSigVerificationGasConsumer).

Add addressVerifier field to sdk.Config which allows for custom address verification (to override the current fixed 20 byte address format).

DefaultSigVerificationGasConsumer now uses type switching as opposed to string comparison.
Other zones like Ethermint can now concretely specify which key types they accept.

Closes: #3685
2019-05-02 20:36:42 +01:00
Alexander Bezobchuk 67f1e12eec
Merge PR #4253: Change User Supplied Param Change Value to json.RawMessage 2019-05-02 14:21:35 -04:00
Alessio Treglia 60a6a8dcef
Remove tools from go.sum deps (#4251)
The go.sum target does not need to depend on tools to run successfully.
2019-05-02 17:30:29 +01:00
Alessio Treglia 2708d87278
Move clog out of the repo (#4249)
Following up #4225:

- Move clog into an external repository
- Update devtools Makefile.
- Add .clog.yaml file required by clog's latest version.

Closes: #4222
2019-05-02 17:15:17 +01:00
Alessio Treglia 4e70a37c6b Merge PR #4228: gaiakeyutil -> gaiacli keys parse 2019-05-02 09:34:02 -04:00
Alexander Bezobchuk f4a96fd6b6
Merge PR #4248: Update contribution doc 2019-05-01 13:09:00 -04:00
Alessio Treglia 4d6480aa46
Move lcd tests into gaia (#4245)
Objective is to remove lcd -> gaia package dep.

Code cleanup.
2019-05-01 17:58:20 +01:00
Alessio Treglia 466e46ba0a
Remove client/utils dep on gaia (#4246) 2019-05-01 16:34:43 +01:00
Alessio Treglia 3f2f372dcf
Drop multisim.sh (#4241)
Get rid of multisim.sh as the new runsim
seems to be working well.
2019-05-01 14:53:00 +01:00
Nicolas Pinto dfc53c5bc7 Remove duplicate seed in runsim/main.go (#4239)
Seed `37827` is duplicated in `runsim/main.go`, this patch remove the dupe.
2019-05-01 11:11:24 +01:00
Federico Kunze e650a4f17e fix param_change swagger docs (#4240)
Update /gov/proposals/param_change POST endpoint docs.
2019-05-01 00:06:07 +01:00
Alexander Bezobchuk 5653c768bb
Merge PR #4234: Allow tx send (generate-only) to actually work offline 2019-04-30 12:47:26 -04:00
Alexander Bezobchuk 5ca93ac574 Merge PR #4206: Param Change Proposal
* Add params error types

* Update param module keeper to take a codespace

* Update imports

* Implement SetRaw and SetRawWithSubkey

* Implement ParamChange and update aliases

* Add types codec

* Implement ParameterChangeProposal

* Implement TestParameterChangeProposal

* Fix linting errors

* Update tags

* Implement content

* Updata params aliases

* Finish params handler and proposal types

* Move deposit and vote logic to types package

* Move proposal type to types package

* Move errors to types package

* Update proposal

* Move gov messages to types package

* Minor updates to naming

* Move keys to types package

* Move codec to types package

* Move proposal types to types package

* Update aliases

* Add governance alias types

* Implement governance router

* Update gov aliases

* Update gov keeper

* Update private functions needed for the keeper

* Update godocs

* Update the gov message handler

* Update Gaia app

* Make updates to auth

* Update the message codec in the keeper

* Update gov end blocker

* Update types tests

* Minor tweaks

* Add legacy genesis logic

* Update gov aliases

* Move gov keys to types package

* Revertt to using gov/types in params

* Implement params handler test

* Update governance tests

* Fix endblocker tests

* Fix governance querier tests

* Add seal support to gov router

* Update simulationCreateMsgSubmitProposal

* Disable software upgrade proposals

* Move params keys to types package

* Implement param module proposal client logic

* Update gov client logic

* Update gaia app client hooks

* Fix linting errors

* Fix ValidateBasic

* Remove legacy files

* Update paramchange to use strings

* Update paramchange cli cmd

* Update ValidateBasic and errors

* Use PostCommands when adding child cmds

* Fix codec logic

* Update params client and handler

* Update IsValidProposalType

* Update SubmitProposal to test exec

* Implement TestGaiaCLISubmitParamChangeProposal

* Implement TestSubmitParamChangeProposal

* Update swagger.yaml

* Update gaiacli.md

* Update gov spec docs

* Fix linting errors

* Fix unit tests

* Add pending log entries

* Update docs

* Update docs

* Update client/lcd/swagger-ui/swagger.yaml

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update docs/cosmos-hub/gaiacli.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update cmd/gaia/cli_test/test_helpers.go

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update client/lcd/test_helpers.go

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update docs/cosmos-hub/gaiacli.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update docs/cosmos-hub/gaiacli.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update docs/cosmos-hub/gaiacli.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update x/gov/types/proposal.go

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update docs/cosmos-hub/gaiacli.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update docs/cosmos-hub/gaiacli.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Address PR comments

* Update docs/cosmos-hub/gaiacli.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update gov docs to include quorum notes

* Add logs to handleParameterChangeProposal

* Update docs/spec/governance/02_state.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Support and use new StatusFailed when proposal passes but fails exec

* Add docs/notes warning on param validity

* Update docs

* Update docs/spec/governance/02_state.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Update docs/spec/governance/02_state.md

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Minor doc update

* Update x/gov/client/cli/tx.go

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Fix usage of fromAddr

* Rige code style  suggestion

* Update x/params/types/proposal.go

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Fix CI lint errors

* Update NewModuleClient godoc

* Add godoc to rtr.Seal() call

* Rename files

* Rename NewProposalHandler
2019-04-30 12:31:38 -04:00
Juan Leni 1306a25e42 Adding support for Ledger Cosmos App v1.5 (#4227)
This PR adds support for the latest version of the Cosmos App (v.1.5).
The app is not been released yet by Ledger but the PR is backwards compatible.
We can later remove backwards compatibility and enforce v1.5 only.

When creating a new account, `gaiacli` now shows the account/index and address in the device and requires user confirmation.

Related PRs:
https://github.com/cosmos/ledger-cosmos-go/pull/3
https://github.com/cosmos/ledger-cosmos-go/pull/4
https://github.com/cosmos/ledger-cosmos-go/pull/5
https://github.com/cosmos/ledger-cosmos-go/pull/6

Changes in the app can be found here:
https://github.com/LedgerHQ/ledger-app-cosmos/pull/5
2019-04-30 09:58:21 +01:00
Alexander Bezobchuk f0f7b7dab7
Merge PR #4230: Minor cleanup in tx tags and response format 2019-04-29 23:50:44 -04:00
Frank Yang 5344e8d768 Merge PR #4220: Empty mnemonic should return error during key recovery 2019-04-29 12:49:35 -04:00
hukkinj1 6bb94ae814 Merge PR #4224: Fix typo in docs 2019-04-29 10:53:00 -04:00
Frank Yang f9718b0eb4 Fix dependency of devtools Makefile and clean code. (#4223)
1. `make tools` will not updated `clog` when `clog/main.go` was changed,
   except `${GOBIN}/clog` or `tools-stamp` was deleted. `gosum` has the
   same problem.
2. $(GOBIN)/gosum was just like magic number.
2019-04-29 15:47:43 +01:00
Frank Yang 3a1ee0839e Merge PR #4221: Change `sdkch` to `clog` in docs 2019-04-29 10:32:01 -04:00
Frank Yang df2e0bf178 Update docs/translations/cn/cosmos-hub to 36dcd7b7 (#4211)
Update Chinese documents of cosmos-hub to 0e54369.

Remove non-Chinese blogs.

Fix some typo of English documents of cosmos-hub.

Rename gaia to cosmos-hub
2019-04-29 14:25:32 +01:00
mircea-c 36dcd7b7ad Merge PR #4205: Mircea/update contributing md
* Update `CONTRIBUTING.md` branching strategy and release process

* Delete PRIORITIES.md

* Delete RELEASE_PROCESS.md

* Remove RELEASE_TEST_SCRIPT.md

* Update CONTRIBUTING.md

Co-Authored-By: mircea-c <mircea@tendermint.com>
2019-04-26 21:57:03 -04:00
Alexander Bezobchuk ec4a1e8f2a
Merge PR #4207: Add rewards and commission tags in txs 2019-04-26 19:11:45 -04:00
Jack Zampolin 9a16e2675f
Merge master into develop in preparation for deleting master 2019-04-26 14:25:42 -04:00
Jack Zampolin ea75ae5d47
Merge master into develop 2019-04-26 13:56:02 -04:00
Alexander Bezobchuk 050f6a61ba
Merge PR #4198: Release v0.34.3 2019-04-26 12:13:23 -04:00
Alexander Bezobchuk 1127446f71 Release v0.34.3 2019-04-26 11:01:10 -04:00
Alexander Bezobchuk 4a87f45bfe
Merge PR #4185: Release v0.34.2 into develop 2019-04-25 22:34:20 -04:00
frog power 4000 1cc1148807
Update docs/cosmos-hub/upgrade-node.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2019-04-25 21:49:43 -04:00
Aleksandr Bezobchuk e7ca82d808
Merge branch 'develop' into release/v0.34.2 2019-04-25 21:40:33 -04:00
Alexander Bezobchuk 13bd5b62cf Release v0.34.2
* Merge PR #4163: Fix v0.33.x export script to port gov data correctly

* Remove TOC

* Add missing changelog entry for v0.34.1

* Merge PR #4182: Cherry pick #4083 into v0.34.2

* Merge PR #4181: Cherry pick 4135 v0.34.2

* Merge PR #4183: Cherry pick 4181 into v0.34.2 

* Support pagination and status query params for /staking/validators

* Rename BondStatusToString to String

* Cherry pick 4181

* Remove pending log

* Fix CODEOWNERS
2019-04-25 17:30:23 -04:00
Ethan Buchman 296a8c81c8
Merge branch 'master' into release/v0.34.2 2019-04-25 17:11:59 -04:00
Ethan Buchman bfb2b49b09
Merge pull request #4176 from cosmos/gamarin/docs-update
Docs update
2019-04-25 17:11:45 -04:00
Jack Zampolin d39bb63ffe
Fix CODEOWNERS 2019-04-25 16:41:46 -04:00
xwartz 95e3d7d05e Merge PR #4189: Fix ErrNoInputs message typo 2019-04-25 09:16:38 -04:00
Alexander Bezobchuk 94bc55ef4f Merge PR #4183: Cherry pick 4181 into v0.34.2
* Support pagination and status query params for /staking/validators

* Rename BondStatusToString to String

* Cherry pick 4181

* Remove pending log
2019-04-24 12:03:55 -04:00
Alexander Bezobchuk 66a913c205
Merge PR #4181: Cherry pick 4135 v0.34.2 2019-04-24 11:56:28 -04:00
Alexander Bezobchuk c0e6b38394 Merge PR #4182: Cherry pick #4083 into v0.34.2 2019-04-24 11:51:49 -04:00
Alexander Bezobchuk 0e54369850 Merge PR #4177: Update Staking Validators Rest Query
* Support pagination and status query params for /staking/validators

* Rename BondStatusToString to String
2019-04-24 11:48:39 -04:00
Juan Leni 29755e66f6 Merge PR #3659: KMS Documentation/Tutorial. How to run a Validator with a Ledger device 2019-04-24 11:00:33 -04:00
Aleksandr Bezobchuk 18b973e1a0
Add missing changelog entry for v0.34.1 2019-04-24 09:40:55 -04:00
Aleksandr Bezobchuk 92dd6ffefd
Remove TOC 2019-04-24 09:05:19 -04:00
gamarin dcdd597350 udate upgrade node doc 2019-04-23 19:57:30 +02:00
gamarin d48436fb0f fix conflicts 2019-04-23 19:18:40 +02:00
gamarin 5d10a6f05b code review 2019-04-23 19:17:36 +02:00
Federico Kunze 0a51d56e90
Apply suggestions from code review
Co-Authored-By: gamarin2 <gautier@tendermint.com>
2019-04-23 19:17:13 +02:00
gamarin 4742e406ae few nits 2019-04-23 16:14:56 +02:00