Commit Graph

6002 Commits

Author SHA1 Message Date
gamarin2 b18bd06a36 Merge PR #5379: New docs V1 (merge master-docs to master) 2019-12-10 09:29:46 -05:00
Marko 7d7821b9af Add Scaffolding tooling to README (#5376)
- added scaffolding tool to README
- removed unnecessary docs

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
2019-12-09 12:32:53 +01:00
dependabot-preview[bot] 18e2848d4e Bump github.com/spf13/viper from 1.5.0 to 1.6.1 (#5375)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.5.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 10:30:00 +01:00
Federico Kunze e648f6c672 Merge PR #5356: isPositive and minor linter changes 2019-12-06 13:18:00 -05:00
Alessio Treglia 72ff13eb97
[x/simulation] RandSubsetCoins() should return sorted coinset (#5373)
Closes: #5372
2019-12-06 16:25:25 +01:00
Sunny Aggarwal 3c2ace9510 Merge PR #5360: Sortable Decimal Bytes 2019-12-05 12:55:43 -05:00
Alessio Treglia 0300a6f6d7
Small non-breaking UX changes to keys {list,delete} commands (#5366)
Add --list-names flag to keys command for short listing.

Make keys delete accept multiple key names at once.

Usage example:
 gaiacli keys list -n | xargs gaiacli keys delete
2019-12-05 16:07:29 +01:00
Federico Kunze 722a633f54
Sim refactor 3: move weighted operations to modules (#4869)
* move GenesisState generators to modules

* minor change on slashing genState generator

* move simulation params back to modules (#4839)

move simulation params back to modules (#4839)

* cleanup params

* various fixes

* move store decoders to modules

* fix

* module pattern

* split generators for param change

* param changes

* revert util pkg

* banksim

* compile

* update Decoders params

* fix

* address @colin-axner comments

* move weighted operations to modules

* cleanup

* cleanup

* Update cmd_test.go

* simulation manager

* mino fixes

* cleanup

* add GenerateGenesisState to simulation manager

* Apply suggestions from code review

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* address @rigelrozanski comments

* changelog

* Apply suggestions from code review

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* restructure modules simulation pkgs

* remove cycle deps

* rename funcs and add missing params

* modularize simulator param changes

* build

* fix params keys

* make format

* various fixes

* fix tests

* minor updates to sim_test

* cleanup

* more cleanup

* modularize genesis generators

* minor cleanup

* remove cdc from generators

* remove cdc

* add get or generate

* fix non-determinism in simulation

* changelog and x/simulation godoc

* cleanup operations

* update operations to use baseapp

* updates and cleanup operations

* update operations

* restructure sim ops params

* rename sim /operations/msg.go to /operations.go

* move GenTx to a helper pkg to avoid circle deps

* rm msg.ValidateBasic

* changelog

* random fees; delete auth's DeductFees sim operation

* add chain-id for sig verification

* Update x/simulation/account.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* fix bank, gov and distr errors

* fix staking and slashing errors; increase prob for send enabled

* increase gas x10

* make format

* fix some distr and staking edge cases

* fix all edge cases

* golang ci

* rename acc vars; default no fees to 0stake

* cleanup; check for exchange rate and skip invalid ops

* fixes

* check for max entries

* add pubkey to genaccounts

* fix gov bug

* update staking sim ops

* fix small redelegation error

* fix small self delegation on unjail

* rm inf loop on random val/accs

* copy array

* add ok boolean to RandomValidator return values

* format

* build

* add WeightedOperations to AppModuleSimulation

* define each module proposals content as part of the module pattern

* Update x/bank/simulation/operations.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* Update simapp/helpers/test_helpers.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* address @colin-axner comments

* add genaccount pubkey validation

* fix test

* update operations and move RandomFees to x/simulation

* update gov ops

* address @alexanderbez comments

* avoid modifications to config

* reorder params

* modularized sim operations working

* changelog

* Update types/module/simulation.go

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* Update x/simulation/params.go

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* Update x/simulation/params.go

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* update /types/module

* Update x/distribution/simulation/genesis.go

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

* remove named return values

* ensure all operations are simulated

* golangci

* add nolint

* disable whitespace and funlen linter

* disable godox

* add TODO on unjail

* update ops weights

* remove dup

* update godoc

* remove unused func

* build fixes

* move weights to the same file

* scopelint

* changelog

* address @AdityaSripal comments

* address @alexanderbez comments
2019-12-05 10:29:54 +01:00
Federico Kunze 12ff486a57
Updated PR template, stale and codecov settings (#5362)
* updated PR template, stale and codecov settings

* remove extra line

* address @alexanderbez comments

* Update .codecov.yml
2019-12-04 18:11:37 +01:00
Christopher Goes 202cb9be0b Merge PR #5340: ADR 17: Historical header module 2019-12-04 10:18:02 -05:00
Federico Kunze b9c40ea2b6
fix MsgEditValidator JSON tag (#5342)
* add json tag to MsgEditValidator; closes #5336

* changelog

* Apply suggestions from code review

Co-Authored-By: Alessio Treglia <alessio@tendermint.com>

* format

* changelog minor fix
2019-12-03 12:14:18 +01:00
Alexander Bezobchuk b862e271a1 Allow node to restart after halt config trigger (#5352)
* Allow node to restart after halt config trigger

* Update godoc

* Update documentation on halt config
2019-12-03 10:24:12 +01:00
Alexander Bezobchuk 7953b525d8
Merge PR #5299: Migrate Equivocation Handling to x/evidence 2019-12-02 20:58:14 -05:00
dependabot-preview[bot] 5be87e40ce Bump github.com/tendermint/tendermint from 0.32.7 to 0.32.8 (#5330)
* Bump github.com/tendermint/tendermint from 0.32.7 to 0.32.8

Bumps [github.com/tendermint/tendermint](https://github.com/tendermint/tendermint) from 0.32.7 to 0.32.8.
- [Release notes](https://github.com/tendermint/tendermint/releases)
- [Changelog](https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tendermint/tendermint/compare/v0.32.7...v0.32.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update go.{mod,sum}
2019-12-01 18:14:44 -05:00
Alexander Bezobchuk 82a5238a46
Merge PR #5348: Fix Ignored Error During Tx Generate Only Mode 2019-12-01 10:06:34 -05:00
Alessio Treglia b9cb3e105d Merge PR #5345: Add dev docs for COSMOS_SDK_TEST_KEYRING 2019-11-30 09:32:08 -05:00
Alexander Bezobchuk 3196b7c4ca
Merge PR #5294: Upgrade Module Spec 2019-11-29 15:17:13 -05:00
Alessio Treglia a13909a9ff Fix dangling link in docs/spec/ (#5334) 2019-11-21 11:31:17 +01:00
dependabot-preview[bot] c9370840bf Bump gopkg.in/yaml.v2 from 2.2.5 to 2.2.7 (#5331)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.5 to 2.2.7.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.5...v2.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 12:03:36 +01:00
Alessio Treglia 9428615c49 Run tests with passwordless keyring (#5332) 2019-11-20 10:42:02 +01:00
Federico Kunze 43f011865d
Add upgrade module to simapp (#5328)
* upgrade: add x/upgrade to simapp

* upgrade: clean up tests
2019-11-19 21:54:31 +01:00
Cyrus Goh c16c32aefa Add GA for docs.cosmos.network (#5320) 2019-11-19 17:50:24 +01:00
dependabot[bot] 7c975f1700 Bump lodash from 4.17.11 to 4.17.13 in /docs (#5318)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-19 15:16:37 +01:00
Alessio Treglia f6334f191f Update ADR 006 (#5326) 2019-11-19 09:51:39 +00:00
James Prestwich c89dee502a Add BigInt() to Uint struct in types/uint.go, update tests to check ident (#5325) 2019-11-19 13:39:33 +11:00
Paul Weidner bb221a52ff Merge PR #5324: Fix links to ocap 2019-11-18 11:28:08 -08:00
dependabot[bot] 08ce57bf00 Bump lodash.template from 4.4.0 to 4.5.0 in /docs (#5319)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-18 11:25:50 +00:00
Alessio Treglia d4c831e63a Drop on-disk keybase in favor of keyring (#5180)
* Switch keys commands to keyring

* Replace NewKeybase with NewKeyring

* Fix delete test

* Purge dead code

* Override COSMOS_SDK_TEST_KEYRING envvar to switch to a test keyring

* s/unningOnServer/unningUnattended/

C'ing @tnachen

* Add deprecated warning, output looks like the following:

```
$ gaiacli keys update --help
Command "update" is deprecated, it takes no effect with the new keyring
based backend and is provided only for backward compatibility with the
legacy LevelDB based backend.
Refer to your operating system's manual to learn how to change your
keyring's password.

Change the password used to protect private key

Usage:
  gaiacli keys update <name> [flags]

Flags:
  -h, --help   help for update

Global Flags:
      --chain-id string   Chain ID of tendermint node
  -e, --encoding string   Binary encoding (hex|b64|btc) (default "hex")
      --home string       directory for config and data (default "/home/alessio/.gaiacli")
  -o, --output string     Output format (text|json) (default "text")
      --trace             print out full stack trace on errors
```

* Update multisign command

* Modify server.GenerateSaveCoinKey()

* GenerateSaveCoinKey more modifications

* Update docs

* Update upgrade module
2019-11-14 15:17:21 +01:00
Mircea Colonescu 1285782ef6 add docs staging build (#5306) 2019-11-13 12:06:05 +01:00
Santatic 0425f97f24 Fix typo on commission flag (#5307) 2019-11-13 10:20:13 +01:00
Marko 92d2dbe3ff Merge PR #5244: Add debug commands 2019-11-11 09:54:32 -05:00
Aaron Craelius d81d46192a Merge PR #4233: Add upgrade module 2019-11-08 09:40:56 -05:00
Alexander Bezobchuk 95ddc242ad
Merge PR #5240: x/evidence module implementation 2019-11-06 14:08:02 -07:00
Alexander Bezobchuk 82a2c5d6d8
Merge PR #5280: Custom JSON Marshal/Unmarshal for Account Types 2019-11-06 13:06:26 -07:00
Alexander Bezobchuk ede9aaed3b
Revert "Mege PR #5092: changed bench32prefixes" (#5283)
This reverts commit 5a310fabbd.
2019-11-06 10:18:48 -07:00
Elvin 5a310fabbd Mege PR #5092: changed bench32prefixes 2019-11-06 07:18:32 -07:00
Alexander Bezobchuk 60c4f5c7bc
Merge PR #5279: Fix IAVL Iterator Race Condition 2019-11-06 06:52:22 -07:00
maxwellfoley3 1f4f20c3af fix typo in link (#5281) 2019-11-06 11:01:05 +01:00
dependabot-preview[bot] 6ec37ab4ce Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.5 (#5273)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.4...v2.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 15:09:33 +01:00
dependabot-preview[bot] 91822d64b8 Bump github.com/spf13/viper from 1.4.0 to 1.5.0 (#5274)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 11:30:18 +01:00
Alexander Bezobchuk 7e3e51e082
Merge PR #5271: add v0.37.4 section 2019-11-04 13:11:56 -07:00
Alexander Bezobchuk 02c6c9fafd
Merge PR #5268: fix IncrementSequenceDecorator gas estimate 2019-10-31 16:08:35 -04:00
Alexander Bezobchuk 3099b42aa1
Merge PR #5261: bump tendermint version to v0.32.7; add changelog entry 2019-10-29 15:52:23 -04:00
Alexander Bezobchuk 60dfebcdcb
Merge PR #5260: add v0.34.10 changelog section 2019-10-29 14:48:10 -04:00
Jordan Sexton 9d2d0a77b0 "auth/StdTx" -> "cosmos-sdk/StdTx" (#5256) 2019-10-29 10:21:12 +01:00
Jordan Sexton adcfc6a1d1 "auth/StdTx" -> "cosmos-sdk/StdTx" (#5255) 2019-10-28 22:02:47 +01:00
Riccardo Montagnin 5af6bd77aa Merge PR #5248: Ensure all the empty arrays return an empty slice 2019-10-28 10:09:04 -04:00
dependabot-preview[bot] 4f3273ca52 Bump github.com/pelletier/go-toml from 1.5.0 to 1.6.0 (#5251)
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 10:52:22 +01:00
dependabot-preview[bot] 95fc679213 Bump github.com/99designs/keyring from 1.1.2 to 1.1.3 (#5252)
Bumps [github.com/99designs/keyring](https://github.com/99designs/keyring) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/99designs/keyring/releases)
- [Commits](https://github.com/99designs/keyring/compare/v1.1.2...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 09:51:16 +01:00
Juan Leni cf8816e46a Merge PR #5224: adding description to changelog 2019-10-24 09:44:10 -04:00