Commit Graph

1009 Commits

Author SHA1 Message Date
Alessio Treglia c0486aa532
R4R: Infrastructure for reproducible builds (#4262)
This change set introduces support for building gaia with gitian
on the following GOOS/GOARCH pairs:

- darwin/386
- darwin/amd64
- linux/386
- linux/amd64
- linux/arm
- linux/arm64
- windows/386
- windows/amd64

cmd/gaia/contrib/gitian-descriptors/ contains gitian descriptor files.

cmd/gaia/contrib/gitian-keys/ contains:
- a keys.txt file that is meant to list core developers and gitian
  builders PGP keys. 
- README.me to provide instructions on how to import the keys
  into one's personal GPG keyring.

The gosum utility is removed, so is the go.sum hashsum bit from
gaiacli/gaiad version string. It was meant to be a provisional
mitigation to the lack of a reproducible build process.

GOBIN is removed from all Makefiles. When GOBIN is set, go
refuses to cross-compiles binaries for foreign architectures.
export GOBIN=$GOPATH/bin is unnecessary anyway as by
default go install places built binaries in $GOPATH/bin.
Developers are required to update their enviornment files and
replace $GOBIN with $GOPATH/bin in PATH.

circleci configuration file is amended accordingly.

Closes: #4027
Closes: #4280
2019-05-14 00:33:34 +02:00
Hans Schoenburg 3439101421 Merge PR #4286: Add full ledger tutorial
* docs/cosmos-hub/ledger.md Add full ledger tutorial

* Update ledger.md
2019-05-13 11:41:11 -07:00
Frank Yang 3bf1ec501e Merge PR #4334: Align cn-doc to 7558f760 (2019-05-13) and fix some typo of en-doc 2019-05-13 13:56:57 -04:00
Alexander Bezobchuk 2d93efd0d5
Merge PR #4291: Update Gov Spec Abstract 2019-05-08 09:51:59 -04:00
Hans Schoenburg 40f3fdf0f9 Merge PR #4268: Update Gaia Installation Docs 2019-05-04 10:03:22 -04:00
Alessio Treglia df362ff3e6
Upgrade Go to 1.12.4 (#4261) 2019-05-03 11:33:41 +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
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
hukkinj1 6bb94ae814 Merge PR #4224: Fix typo in docs 2019-04-29 10:53:00 -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
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
Ethan Buchman 296a8c81c8
Merge branch 'master' into release/v0.34.2 2019-04-25 17:11:59 -04:00
Alexander Bezobchuk 66a913c205
Merge PR #4181: Cherry pick 4135 v0.34.2 2019-04-24 11:56:28 -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
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
gamarin 8e9210664f docs update 2019-04-23 16:11:16 +02:00
Alexander Bezobchuk c6cb84c558
Merge PR #4059: Add support for graceful halt via server config 2019-04-23 09:33:11 -04:00
Alessio Treglia 93e8f467fe
Turn --from into a positional argument in gaiacli tx send (#4146)
Closes: #4142
2019-04-18 19:48:52 +01:00
mircea-c fc1c58a246 Updated release process documentation (#4133) 2019-04-17 18:02:06 +01:00
Frank Yang 1b726ad88a Translate doc clients to chinese. (#4129) 2019-04-17 17:10:57 +01:00
Alexander Bezobchuk 0c23dec59f
Merge PR #4135: Minor Fixes
* Add clarification to gen-only
* Add nil type check in NewResponseFormatBroadcastTxCommit
* Add small note to docs re: generate-only
2019-04-16 13:02:36 -04:00
Frank Yang c4f53facd9 R4R: Fix incorrect `$GOBIN` in `Install Go`. (#4113)
Fix empty path in `Install Go`.

This bug was fixed by #3975, and broken by #4089
2019-04-16 10:05:28 +01:00
Frank Yang dfe58f8d8d Merge PR #4123: Fix typo in docs; fix url error and outdated command description of doc clients 2019-04-15 18:47:17 -04:00
Aleksandr Bezobchuk f8b9a60d67
Fix docs config 2019-04-10 19:22:15 -04:00
gamarin2 958029680e Merge PR #4093: Fix Docs 2019-04-10 19:19:48 -04:00
Federico Kunze 8550d87319 unified sender tag (#4057)
Closes: #3775
2019-04-10 18:03:44 +01:00
gamarin2 cf0f73a9ca Merge PR #4091: Fix docs 2019-04-10 12:28:48 -04:00
Alexander Bezobchuk eb94252011
Merge PR #4089: Update docs from release/v0.34.0 2019-04-10 11:55:33 -04:00
Federico Kunze 2cd2289a11 add category tags (#4049)
Closes: #3774
2019-04-09 13:55:01 +01:00
zxh0 d742b9e6ef Merge PR #4074: Fix Docs Typo 2019-04-09 08:53:34 -04:00
Frank Yang 9e7440a92c Merge PR #4064: Remove dep/vendor from documentation and version cmd
* Remove `dep` and `vendor` from documentation
* Replace vendor with go.sum hash in version command
2019-04-08 11:00:17 -04:00
gamarin2 1a8ab1c321 Merge PR #4019: Update Docs from Staging 2019-04-05 10:37:13 -04:00
Frank Yang 055d219301 Add `GO111MODULE=on` to environment. (#4042) 2019-04-04 15:38:02 +01:00
Jack Zampolin 7f1b46ecc1
Merge PR #4041: Manual for the Crisis Module 2019-04-03 13:38:10 -07:00
rigelrozanski 2c4823865c crisis manual
int
2019-04-03 16:16:39 -04:00
Aleksandr Bezobchuk fbc3fcb0f0
Merge branch 'master' into release/v0.34.0 2019-04-03 10:58:46 -04:00
gamarin2 ecba8a154a Merge PR #4037: Fix doc conflicts 2019-04-03 10:36:19 -04:00
Christopher Goes 5b87966ee2
Merge PR #4022: Link to latest IBC spec 2019-04-02 18:19:06 +02:00
Frank Yang 3e26ea7819 Merge PR #4015: Fix Documentation Inconsistency 2019-04-01 14:42:02 -04:00
Alexander Bezobchuk b95ade93bd Merge PR #4011: Mint/Inflation Querier, LCD and CLI
* A few godoc updates

* More minor tweaks and reformatting

* Implement initial minting querier

* Implement stringer interface for minting params

* Minor cleanup

* Add minting CLI commands

* Implement inflation query command

* Implement annual provisions query and CLI command

* Update x/mint/client/module_client.go

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

* Update x/mint/client/module_client.go

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

* Update x/mint/client/module_client.go

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

* Update x/mint/querier.go

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

* Add minting REST client routes/handlers

* Fix build issues

* Implement querier unit tests

* Update gaiacli docs

* Implement LCD tests

* Update Swagger docs

* Add pending log entry

* add examples

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* revert adding examples

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
2019-04-01 10:28:36 -07:00
frog power 4000 df4394185e
Merge PR #3656: Broken-Invar Tx - aka. Crisis module
* beginning thinking on issue

* ...

* working

* working

* working fee pool distribution

* spek outline

* spec update

* gas refund calculations

* simulation saved to ~/.gaiad/simulations/

* lean simulation output

int

* cleanup bank simulation messages

* operation messges

int

* lint

* move simulation to its own module

* move simulation log code to log.go

* logger overhaul

int

* distribution comments

* fix compiling

* cleanup modifications to x/distribution/keeper/allocation.go

int

int

int

* gov bug

* result.IsOK() minimization

* importExport typo bug

* pending

* address @alexanderbez comments

* simple @cwgoes comments addressed

* event logging unified approach

* distr module name constant

* implementing

* compiles

* gaia integration

* proper constant fee removal

* crisis genesis

* go.sum update

* ...

* debugging

* fix sum errors

* missing err checks

* working implementing CLI

* remove query command

* crisis expected keepers in other modules

* crisis testing infrastructure

* working

* tests complete

* modify handler to still panic if not enough pool coins, docs working

* spec tags

* docs complete

* CL

* assert invariants on a blockly basis gaiad functionality

* gaiad CL

* transaction details in runtime invariance panic

* Apply suggestions from code review

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

* sender tags

* @mossid suggestions

int

* @cwgoes comments final

* Apply suggestions from code review

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

* bug seems fixed (#3998)

* delete unused line in zero height export bug
2019-03-28 19:27:47 -04:00
Frank Yang e5897d8d91 Merge PR #3996: Update DOCS_README
Update references to make targets
2019-03-28 12:39:21 -04:00
Jack Zampolin 38b7c0705c Implement client functionality for the community pool (#3939)
Fixes: #3937
2019-03-28 01:05:36 +00:00