Commit Graph

5840 Commits

Author SHA1 Message Date
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
Aditya 4cd18bcf35 Merge PR 5196: RecheckTx Optimizations 2019-10-23 10:43:58 -04:00
Marko f08c30d394 Merge PR #5234: update tendermint crypto 2019-10-23 09:35:12 -04:00
Federico Kunze 8344c0aef8
update simulation operations to use BaseApp (#4946)
* 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

* 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

* changelog

* 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

* x/slashing/simulation/operations.go linting

* x/staking/simulation/operations.go linting

* update operations format

* x/bank/simulation/operations.go linting

* x/distribution/simulation/operations.go linting

* x/staking/simulation/operations.go linting

* start changes: make bank simulate send multiple coins, code cleanup

* fix nondeterminism bug

* fix txsiglimit err

* fix multisend bug

* simplify simulation, cleanup opt privkey args

* make slashing test invalid unjail msgs

* Update simapp/state.go

* golangCI changes
2019-10-23 11:14:45 +02:00
Henrik Aasted Sørensen 7581871b9b Merge PR #5227: Use existing struct 2019-10-21 10:36:31 -04:00
Alexandre Esteves 9ef647ba61 Merge PR #5225: Fix links 2019-10-21 10:14:37 -04:00
dependabot-preview[bot] 27784095c9 Bump github.com/cosmos/ledger-cosmos-go from 0.10.3 to 0.11.1 (#5226)
Bumps [github.com/cosmos/ledger-cosmos-go](https://github.com/cosmos/ledger-cosmos-go) from 0.10.3 to 0.11.1.
- [Release notes](https://github.com/cosmos/ledger-cosmos-go/releases)
- [Commits](https://github.com/cosmos/ledger-cosmos-go/compare/v0.10.3...v0.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 11:46:16 +02:00
Alexander Bezobchuk 84621bbd53
Merge PR #5216: Fix Query Gov Proposals Pagination 2019-10-18 12:46:21 -04:00
var 0ea8c3270e Merge PR #5107: Sum validator operator's all voting power 2019-10-18 12:38:23 -04:00
Sunny Aggarwal d7a08ce5f2 Merge PR #5219: Added sqrt function to sdk.Decimal type 2019-10-18 12:25:07 -04:00
Marko d8a9891325 Update stale bot tag (#5220)
- Update stale bot label from `wontfix` to `stale`

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
2019-10-18 17:14:21 +02:00
Alessio Treglia 09276c492c Merge PR #5218: Update ADR-006's progress 2019-10-18 09:09:51 -04:00
Alexander Bezobchuk 1edecb8df5
Merge PR #4826: ADR 009: Evidence Module 2019-10-17 11:07:25 -04:00