Commit Graph

5479 Commits

Author SHA1 Message Date
Joon 91e75cb74a Merge PR #4403: Paramchange proposal skips omitempty fields 2019-05-27 20:47:12 -04:00
Jordan Sexton 8fecc7724b Merge PR #4312: Touch up light client docs 2019-05-27 14:03:06 -07:00
Jack Zampolin b63b81ab21
Merge PR #4414: release/v0.34.5 changelog back to master 2019-05-27 13:28:48 -07:00
frog power 4000 38f49e4114
Merge PR #4389: stake invariance bug
* add trouble seed

* currentStakeRoundUp is now always atleast currentStake + smallest-decimal-precision

* remove unused code

* remove debugs

* @alexanderbez comment

* compile fix

* better comment, increase tolerance to 3 smallest decimal points
2019-05-24 21:23:53 -04:00
Alexander Bezobchuk 91dc870e97 Merge PR #4404: Update Spec to include params
* Add staking params to spec

* Update format

* Add slashing params

* Update staking params

* Add minting params doc

* Add gov params doc

* Add distr params doc

* Add crisis params doc

* Add bank params doc

* Add auth params doc

* Update SPEC-SPEC
2019-05-24 12:18:07 -04:00
gamarin2 a7a1a469ae Merge PR #4408: remove cosmos hub docs translation 2019-05-24 09:04:28 -04:00
Juan Leni 68036ec71f Merge PR #4384: allow splitting withdrawal txs
* allow splitting withdrawal txs

* updating .pending

* small cleanup

* fixing build issue

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

Co-Authored-By: Alessio Treglia <quadrispro@ubuntu.com>

* updating usage text

* fixing merge issue

* changes based on the review

* adding unit tests

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

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

* adjustments from review
2019-05-23 19:00:26 -04:00
gamarin2 e53d23390d Merge PR #4376: DOCS: Consolidate Intro Material 2019-05-23 15:16:32 -07:00
Alexander Bezobchuk 4f197ff904
Merge PR #4396: Use TxSigLimit instead of default constant value 2019-05-23 14:08:51 -04:00
Alexander Bezobchuk 40518cb655
Merge PR #4395: Improve sig verification error message 2019-05-23 09:45:03 -04:00
Alexander Bezobchuk 80767474d7
Merge PR #4398: Refactor genaccounts genesis state 2019-05-22 17:06:49 -04:00
Yumin Xia 65be4dbf09 close db write batch after use (#4379)
Closes: #4381
2019-05-22 01:42:33 +01:00
gamarin2 995aea853c Merge PR #4388: Remove gaia docs from sdk repo 2019-05-21 14:16:55 -04:00
Alessio Treglia 3a2423d298
Remove reproducible_builds and macos_ci jobs from circleci config (#4386) 2019-05-21 14:33:39 +01:00
Christopher Goes dd89c32951 Community pool spend proposal (#4329)
Implement the "CommunityPoolSpendProposal" as described in Cosmos Hub proposal 7.

Also a useful test of Git flow for merging features passed in governance proposals.
2019-05-21 11:02:10 +01:00
Alexander Bezobchuk 4b872d2eb4
Merge PR #4377: Remove statik/Swagger UI 2019-05-20 11:19:53 -04:00
Sunny Aggarwal cca3c3cbf2 Merge PR #4374: Don't Burn Deposits for Rejected Governance Proposals Unless Vetoed 2019-05-20 10:13:50 -04:00
frog power 4000 d9ac7d7c33 Merge PR #4349: Autogen alias files 2019-05-20 09:13:32 -04:00
Alexander Bezobchuk 722b314835 Merge PR #4375: Add pending log entry 2019-05-20 04:17:04 -04:00
Alexander Bezobchuk cfe31c4090
Merge PR #4372: Use Build's Client/Server Name 2019-05-18 19:06:08 -04:00
Alessio Treglia 71d71f2206
Remove gaia (#4347)
Gaia is removed from cosmos-sdk repository.

Few changes were required to make sure no packages depend on gaia subpackages.

CI config is amended accordingly.

Unnecessary targets are removed from Makefile.

Simulations run through a lightweight version of gaia renamed to simapp.

Closes: #4104
2019-05-18 10:42:24 +02:00
Nicolas Pinto f0b690ba6e Merge PR #4366: Random Fuzzer fix: avoids VotingPeriod=0 2019-05-17 19:46:43 -04:00
frog power 4000 cef788042b Merge PR #4365: Simulator bugfix for multisim 7601778 2019-05-17 19:45:36 -04:00
Nicolas Pinto fd9f322b8c Merge PR #4363: invalid 0stake deposit amount in sim
This fixes the "panic: Governance deposit amount must be a valid sdk.Coins amount, is 0stake" that can happen in the simulator if `DepositParams/MinDeposit` samples the integer `0`.
2019-05-17 16:51:55 -04:00
Alexander Bezobchuk 3153e93446
Merge PR #4356: Update default verifier path 2019-05-17 10:22:33 -04:00
zxh0 db4c82bad2 Merge PR #4355: Improve multisig key table format output 2019-05-17 10:15:45 -04:00
Marko c0d8fb8a25 Merge PR #4353: Documentation Fixes 2019-05-17 09:24:24 -04:00
Alessio Treglia ca4363ffb7 Merge PR #4351: remove x/ dependency on cmd/gaia
* remove x/ dependency on cmd/gaia

This is an alternative patch to what is proposed in #4348

* Add pending entry

* Ditto for CollectGenTxsCmd

* Update pending

* Update tests

* Update pending
2019-05-16 21:34:54 -04:00
frog power 4000 5b7690e5e9
Merge PR #4346: report card minor fixes
* report card minor fixes

* fix
2019-05-16 21:32:20 -04:00
Alessio Treglia 4b7d295eca
reproducible builds CI integration (#4337)
Enable reproducible builds on master.

Overhaul build script, update docs accordingly.
2019-05-16 19:05:56 +01:00
Juan Leni e09ebf9ffa Merge PR #4345: Upgrade ledger-cosmos-go 2019-05-16 13:06:02 -04:00
frog power 4000 3fe5869148
Merge PR #4159: Module/Genesis Generalization
* first commit

* gaia cleanup

* ...

* staking multihooks

* missing module function return args

* bank module name constant

* working, module interface for x/

* got this thing compiling

* make test compiles and passes

* remove expanded simulation invariants

* genesis issue

* continued

* continued

* register crisis routes thought mm

* begin blocker to mm

* end blocker to mm

* empty routes not initialized

* move gaia initChainer sanity check to baseapp

* remove codecs from module manager

* reorging genesis stuff

* module manager passed by reference/bugfixes from working last commit

int

int

* move invariant checks from gaia to crisis

* typo

* basic refactors cmd/gaia/init

* working

* MultiStakingHooks from types to x/staking/types

int

* default module manager order of operations from input modules

* working

* typo

* add AppModuleBasic

* moduleBasicManager / non-test code compiles

* working attempting to get tests passing

* make test passes

* sim random genesis fix

* export bug

* ...

* genutil module

* genutil working

* refactored - happy with non-testing code in cmd/

* ...

* lint fixes

* comment improvement

* cli test fix

* compile housing

* working through compile errors

* working gettin' compilin'

* non-test code compiles

* move testnet to its own module

* reworking tests

int

* bez staging PR 1 comments

* concise module function-of names

* moved all tests from genesis_test.go to other genutil tests

* genaccounts package, add genutil and genaccounts to app.go

* docs for genutil genaccounts

* genaccounts iterate fn

* non-test code with genaccounts/ now compiles

* working test compiling

* debugging tests

* resolved all make test compile errors

* test debuggin

* resolved all unit tests, introduced param module

* cli-test compile fixes

* staking initialization bug

* code comment improvements, changelog entries

* BasicGaiaApp -> ModuleBasics

* highlevel explanation in types/module.go

* @alexanderbez comment revisions

* @fedekunze PR comments

* @alexanderbez PR comments (x2)

* @cwgoes comments (minor updates)

* @fedekunze suggestions

* panic on init with multiple validator updates from different modules

* initchain panic makes validate genesis fail

int

* AppModuleGenesis seperation

int

* test

* remove init panic logic in validate genesis replaced with TODO

* set maxprocs to match system's GOMAXPROCS

* Update circleci

* Cap maxprocs in CI to 4

* @alexanderbez recent comments addressed

* less blocks in twouble sims

int

* runsim error output flag

* -e on import_export as well

* error out

int

* Try to fix failures

* runsim
2019-05-16 11:25:32 -04:00
Alessio Treglia f8fd50a0d8 Merge PR #4344: set runsim's default maxprocs to match system's GOMAXPROCS
* set maxprocs to match system's GOMAXPROCS

* Update circleci

* Cap maxprocs in CI to 4

* Try to fix failures
2019-05-16 01:54:07 -04:00
Alessio Treglia 805de8b9f5 Merge PR #4343: Update go to 1.12.5 2019-05-15 11:17:20 -04:00
Alexander Bezobchuk 44f972584d
Merge PR #4333: Remove Shares from Client Responses 2019-05-15 10:44:47 -04:00
Joon dfef88dea8 Merge PR #4265: CacheKVStore keep sorted items 2019-05-15 10:42:06 -04:00
Alexander Bezobchuk d8bd7bcba8
Merge PR #4342: Upgrade to go-amino v0.15.0 2019-05-15 09:42:16 -04:00
Karoly Albert Szabo f8e6219647 Update keys.txt (#4340)
Add Karoly's key.
2019-05-14 21:15:12 +01:00
Alessio Treglia 262c752863
Fix AppendTags usage error (#4336)
Fix AppendTags usage error

Thanks: @mjackson001 for the bug report and patch (original PR: #4274)
Closes: #4273
2019-05-14 16:13:18 +01:00
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
Frank Yang 7558f76079 Merge PR #4321: Improve offline flag doc 2019-05-13 10:51:48 -04:00
Karoly Albert Szabo 2d3a251157 CircleCI: Fix insecure password via CLI (#4331)
- docker_tagged job failed for release 0.34.4
2019-05-13 15:14:54 +02:00
Ethan Buchman 77c04202a2 server: run cleanupFunc before Exit (#4324)
Ensure gaiad shutdown Tendermint gracefully upon
receiving SIGINT and SIGTERM.

Closes: #4323
2019-05-11 04:27:11 +02:00
Alexander Bezobchuk 829ce17d06
Merge PR #4307: Don't pass height to RPC calls 2019-05-09 16:42:25 -04:00
Alexander Bezobchuk 925070ae38
Merge PR #4292: Fix Signing Infos Endpoint 2019-05-09 13:38:15 -04:00
Alexander Bezobchuk 85ffce5f58
Merge PR #4306: Allow generate-only to fully operate offline 2019-05-08 16:06:05 -04:00
Alexander Bezobchuk 2d93efd0d5
Merge PR #4291: Update Gov Spec Abstract 2019-05-08 09:51:59 -04:00
Alessio Treglia 04ed12dd2a Merge PR #4303: Fix coins findDup() 2019-05-08 09:51:30 -04:00