Commit Graph

6349 Commits

Author SHA1 Message Date
Marko 999a83d698
docs: link checker (#5860) 2020-03-24 11:21:30 +01:00
Alessio Treglia a1ac04c96b
add keyring backends docs (#5854)
In addition to #5822.
2020-03-23 19:02:10 +01:00
Alessio Treglia de3f8806f6
crypto/keys: simplify pass keyring directory (#5852)
Store keys into $HOME/.password-store/keyring-appcli
instead of $HOME/.password-store/$HOME/.appcli/.
The latter is very user unfriendly.
2020-03-23 16:40:47 +01:00
Jonathan Gimeno 49102b1d98
Remove dependency of types/module package on x/simulation (#5835)
Closes: #5724
2020-03-23 12:55:44 +01:00
Marko d657513741
lint: various linting fixs (#5825)
* lint: various linting fixs

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* more linting

* more linting fixes

* more errchecking

* comment out errcheck for now

* undo error check

* address some comments

* remore require error

* change delete to batch delete

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-20 19:24:18 +00:00
Alessio Treglia 22f377a858
regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
Alessio Treglia 1d0967c32a
run go mod tidy && make format (#5847) 2020-03-20 17:14:14 +00:00
Alessio Treglia 75a375b6c6
crypto/keys: remove DecodeSignature from baseKeybase (#5844)
Keybase implementations should return errors when
signature generation is attempted with offline/multisig
keys since theyr lack private keys.

This is a change in Keyring/Keybase.Sign() methods
semantics that have been broken for long time.
2020-03-20 16:00:12 +01:00
Alexander Bezobchuk 2828f1cadc
Merge PR #5839: baseapp: add sdk.Result to simulation response 2020-03-20 10:33:44 -04:00
Federico Kunze 2cf816d457
minor test change 2020-03-19 22:48:20 -03:00
Federico Kunze 51d9045152
authclient: fix tests 2020-03-19 22:46:35 -03:00
Federico Kunze 38f4b084c1
authclient: update godoc for gas adjusted 2020-03-19 22:42:34 -03:00
Federico Kunze 3d2746434f
authclient: update txBuilder to return sdk.SimulationResponse 2020-03-19 22:40:07 -03:00
Federico Kunze eeea5ebf89
baseapp: add sdk.Result to simulation response 2020-03-19 20:03:49 -03:00
Alessio Treglia 230a1e8ba3
crypto/keys: improve documentation (#5833)
* crypto/keys: improve documentation

Remove out of date crypto/keys README.md file.

Populate client keys commands help screen with
more information regarding keyring backends.

* Fix formatting

* Fix lint warning
2020-03-19 16:58:14 +00:00
Alexander Bezobchuk af1037eff8
Merge pull request #5831 from cosmos/dependabot/go_modules/github.com/tendermint/iavl-0.13.2
Bump github.com/tendermint/iavl from 0.13.1 to 0.13.2
2020-03-19 11:18:35 -04:00
dependabot-preview[bot] e042b35102
Bump github.com/tendermint/iavl from 0.13.1 to 0.13.2
Bumps [github.com/tendermint/iavl](https://github.com/tendermint/iavl) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/tendermint/iavl/releases)
- [Changelog](https://github.com/tendermint/iavl/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tendermint/iavl/compare/v0.13.1...v0.13.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 06:31:39 +00:00
Jonathan Gimeno 8c7bb89549
Implementing --offline flag (#5810)
Closes: #5448
2020-03-19 02:49:33 +01:00
Denis Fadeev b47e4096fc
Use docs-staging branch (#5797)
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-18 17:27:01 +00:00
Jonathan Gimeno a5899bace0
Remove CloseDB method from Keybase interface (#5820)
* remove old method closeDb from Keybase interface

* add changelog

* move to api breaking changes

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-18 16:19:22 +00:00
Alessio Treglia 3db39cda3c
Fix various linter warnings (#5824) 2020-03-18 12:59:08 +00:00
Alessio Treglia a84e02f390
crypto/keys/mintkey: fix errors handling in UnarmorPubKeyBytes (#5823)
Check error returned by internal call to unarmorBytes()
and handle accordingly.

Handle header's empty version field adequately.
2020-03-18 11:33:28 +01:00
Alexander Bezobchuk f31b625bca
Merge PR #5795: Proto Transaction Migration 2020-03-17 18:59:34 -04:00
Aleksandr Bezobchuk 91115fd6ab
Merge branch 'master' into bez/proto-client-init 2020-03-17 17:56:21 -04:00
Alexander Bezobchuk a6547c3ef0
Merge pull request #5817 from gavinly/patch-1
Update 07_params.md
2020-03-17 12:37:41 -04:00
Gavin e0280bf2d5
Update 07_params.md 2020-03-17 11:30:24 -04:00
dependabot-preview[bot] b7f2f310a1
Bump github.com/golang/mock from 1.4.2 to 1.4.3 (#5816)
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/golang/mock/releases)
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml)
- [Commits](https://github.com/golang/mock/compare/v1.4.2...v1.4.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 09:30:05 -03:00
Jonathan Gimeno 1c7da830c2
Revert changes for keybase encoding (#5814) 2020-03-17 01:36:05 +01:00
Alexander Bezobchuk a5af94d3ef
Merge PR #5813: Update params doc with restrictions
Update params doc with restrictions
2020-03-16 19:48:14 -04:00
Aleksandr Bezobchuk cc6833eeb1
Merge branch 'master' into bez/update-distr-params-doc 2020-03-16 19:05:13 -04:00
Aleksandr Bezobchuk 25f036f248
Update params doc with restrictions 2020-03-16 19:02:55 -04:00
Aleksandr Bezobchuk b557d4278f
Update CanonicalSignBytes godoc 2020-03-16 11:52:07 -04:00
Aleksandr Bezobchuk ba150a8e75
Merge branch 'master' into bez/proto-client-init 2020-03-16 10:49:50 -04:00
Alexander Bezobchuk e0021ad409
Update docs/architecture/adr-020-protobuf-transaction-encoding.md
Co-Authored-By: Marko <marbar3778@yahoo.com>
2020-03-16 10:48:37 -04:00
Alexander Bezobchuk 3a2c40c080
Merge pull request #5807 from cosmos/dependabot/go_modules/github.com/golang/mock-1.4.2
Bump github.com/golang/mock from 1.4.1 to 1.4.2
2020-03-16 10:07:55 -04:00
dependabot-preview[bot] e31757cfa7
Bump github.com/golang/mock from 1.4.1 to 1.4.2
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/golang/mock/releases)
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml)
- [Commits](https://github.com/golang/mock/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 06:40:15 +00:00
Aleksandr Bezobchuk 98f62db242
Fix linting 2020-03-15 14:10:15 -04:00
Aleksandr Bezobchuk f60cd5a2b5
Merge branch 'master' into bez/proto-client-init 2020-03-14 12:34:34 -04:00
Alexander Bezobchuk fa65b21d96
Merge pull request #5804 from cosmos/dependabot/go_modules/github.com/tendermint/iavl-0.13.1
Bump github.com/tendermint/iavl from 0.13.0 to 0.13.1
2020-03-14 12:09:22 -04:00
Marko Baricevic 54f7dbfbab
fix go.sum 2020-03-13 22:31:40 +01:00
dependabot-preview[bot] 45870eb23c
Bump github.com/tendermint/iavl from 0.13.0 to 0.13.1
Bumps [github.com/tendermint/iavl](https://github.com/tendermint/iavl) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/tendermint/iavl/releases)
- [Changelog](https://github.com/tendermint/iavl/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tendermint/iavl/compare/v0.13.0...v0.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 20:57:12 +00:00
Jonathan Gimeno 2e42f9cb74
Favor marshal unmashal binare bare (#5799)
* change abci file to use BinaryBare

* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in mint keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in auth keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in gov keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in slashing keeper store.

* update decoder test

* migrate decoder

* migrate gov simulation decoder

* migrate baseapp_test

* refactor QuerySubspace

* refactor coedc std codec

* migrate keybase

* migrate iavl store

* migrate root multi

* migrate ante basic

* migrate tx type to bare

* migrate auth client

* update auth types

* update decoder

* migrate supply decoder

* migrate stake encoding

* migrate staking simulation

* migrate genutil

* migrate simapp test helpers

* migrate docs

* upgrade changelog

* Update CHANGELOG.md

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

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-13 19:58:43 +00:00
Aleksandr Bezobchuk 62dbd4a9be
Merge branch 'master' into bez/proto-client-init 2020-03-13 14:00:47 -04:00
Aleksandr Bezobchuk c49af0b8dd
Update context 2020-03-13 13:59:14 -04:00
Alexander Bezobchuk b87f5934f5
Merge pull request #5801 from cosmos/dependabot/go_modules/github.com/golang/protobuf-1.3.5
Bump github.com/golang/protobuf from 1.3.4 to 1.3.5
2020-03-13 10:08:21 -04:00
Aleksandr Bezobchuk 7838d750e1
Update godoc 2020-03-13 09:58:53 -04:00
Aleksandr Bezobchuk 217cae2021
DRY code 2020-03-13 09:57:15 -04:00
Aleksandr Bezobchuk 0a79849d6e
Test tx 2020-03-13 09:51:11 -04:00
Aleksandr Bezobchuk 0b76411469
Update StdTx 2020-03-13 09:36:29 -04:00
Aleksandr Bezobchuk 690f6290c8
Update ADR 2020-03-13 09:35:14 -04:00