Commit Graph

147 Commits

Author SHA1 Message Date
Alexander Bezobchuk dacbcef54d
cl & deps++ (#6582)
* cl & deps++

* Use PersistentPreRunE

* revert x/bank/client/cli/tx.go

* move to root level

* Use block mode by default

* Skip x/auth CLI tests
2020-07-02 19:35:42 +00:00
Alexander Bezobchuk cbb3dca78b
deps: bump TM v0.33.6 (#6580)
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
2020-07-02 16:37:09 +02:00
Alexander Bezobchuk 37cc04081e
Fix Current Integration Tests (#6570)
* fix attempt

* fix test
2020-07-01 18:37:59 +00:00
Jonathan Gimeno c44ca8ae34
add string test for coin and coins (#6547)
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-30 14:11:29 -04:00
Alexander Bezobchuk 9bf3ff75f5
Merge PR #6489: Test Network Testing Framework 2020-06-26 12:30:49 -04:00
Marko 3df4dd0cd9
types: add ics23-tendermint to sdk (#6487)
* add ics23-tendermint to sdk

* fix errors and prealloc

* move ics-23 to internal

* minor changes and move maps to internal

* remvoe some usage of tendermint merkle

* fix linter

* dont use named returns

* move internal to store/rootmulti

* fix imports

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-26 16:14:40 +00:00
Alexander Bezobchuk 01b89bd9b3
Merge PR #6504: Bump IAVL 2020-06-24 14:38:12 -04:00
dependabot-preview[bot] 06d7dbedb9
build(deps): bump github.com/prometheus/client_golang (#6496)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.7.0...v1.7.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-24 05:18:18 -04:00
dependabot-preview[bot] d4b67490a4
build(deps): bump google.golang.org/grpc from 1.29.1 to 1.30.0 (#6497)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.29.1...v1.30.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-24 05:04:22 -04:00
Federico Kunze ac83fce7d3
deps: fix iavl revision (#6492) 2020-06-23 12:47:30 -04:00
Alexander Bezobchuk 4716260a6e
Merge PR #6475: Pruning Refactor 2020-06-22 16:31:33 -04:00
dependabot-preview[bot] 66e15d14db
build(deps): bump github.com/prometheus/client_golang from 1.6.0 to 1.7.0 (#6465)
* build(deps): bump github.com/prometheus/client_golang

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.6.0...v1.7.0)

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

* go mod tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
2020-06-18 17:12:20 +00:00
Alexander Bezobchuk 8ee7d1f403
Merge PR #6399: SDK Telemetry 2020-06-16 11:11:02 -04:00
Aditya 783e9959e0
Cleanup store.Query with CommitmentProof.Calculate() (#6396)
* cleanup using CommitmentProof.Calculate()

* get correct version of confio/ics23

* Update store/types/proof.go

Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>

* revert review commit

Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-11 08:49:05 +00:00
Aditya e12fa58e14
Convert simple proof to ics23 proof (#6390)
* convert simple proof to ics23 proof

* add CHANGELOG entries

* Apply suggestions from code review

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-10 13:23:40 -04:00
Aditya d9e1497e89
Switch IAVL Store query to use ics proofs (#6324)
* switch iavl store to use ics proof

* fix proofs to return for correct height

* appease linter

* Register commitment op correctly

* Make CommitmentOp generic over all ics23 specs (#6331)

* Make the CommitmentOp generic over all ics23 ProofSpecs, using Type to distinguish

* Register SimpleMerkle ics23 proof op as well

* Addressed linter issues

* move commitment proof to types

* Apply suggestions from code review

Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>

* address review comments:

* Apply suggestions from code review

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* allow proofs against empty store

* address review comments

* Update store/types/proof.go

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* add changelog

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-06-08 15:02:25 -04:00
dependabot-preview[bot] c26bbe6c9c
build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#6364)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 06:48:29 -04:00
dependabot-preview[bot] dcbf152ae5
build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#6339)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.28.1 to 1.29.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.28.1...v1.29.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 06:28:29 -04:00
Aaron Craelius e94b6736ed
Merge PR #6325: Add GRPCRouter 2020-06-03 09:33:51 -04:00
dependabot-preview[bot] 47d0fed2b0
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#6303)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-05-29 14:05:17 +00:00
Alexander Bezobchuk f8bad078b7
Bump Tendermint version (#6300) 2020-05-28 14:46:28 +00:00
dependabot-preview[bot] b8cac82992
build(deps): bump github.com/otiai10/copy from 1.1.1 to 1.2.0 (#6279)
* build(deps): bump github.com/otiai10/copy from 1.1.1 to 1.2.0

Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.1.1...v1.2.0)

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

* run go mod tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-05-25 10:18:49 +02:00
dependabot-preview[bot] 763eab7e96
build(deps): bump github.com/pelletier/go-toml from 1.7.0 to 1.8.0 (#6240)
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.7.0...v1.8.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-18 07:41:46 -04:00
dependabot-preview[bot] 9b34484879
build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#6224)
* build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2

Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.4.1...v1.4.2)

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

* go mod tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-05-15 14:08:10 +00:00
dependabot-preview[bot] d9bcca2601
build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 (#6207)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.8...v2.3.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 08:58:50 -04:00
Marko 4173ea5eba
types: add bech32 (#6200)
* bring over bech32 from tendermint

* fix spacing

* address comment

* change to fmt.Errorf

* space dem comments

* remove err cheks
2020-05-12 16:53:30 +00:00
dependabot-preview[bot] f37308778a
build(deps): bump github.com/spf13/viper from 1.6.3 to 1.7.0 (#6183)
* build(deps): bump github.com/spf13/viper from 1.6.3 to 1.7.0

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.6.3...v1.7.0)

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

* refresh go.sum

* run make format

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-05-11 10:22:36 +02:00
dependabot-preview[bot] bb0a1edf8e
build(deps): bump github.com/regen-network/cosmos-proto (#6154)
Bumps [github.com/regen-network/cosmos-proto](https://github.com/regen-network/cosmos-proto) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/regen-network/cosmos-proto/releases)
- [Commits](https://github.com/regen-network/cosmos-proto/compare/v0.2.2...v0.3.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-05-06 13:20:43 +00:00
dependabot-preview[bot] 2a82c691a2
build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#6141)
* build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1

Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.4.0...v1.4.1)

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

* fix build

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
2020-05-05 18:00:40 +00:00
dependabot-preview[bot] bdcc04347c
build(deps): bump github.com/99designs/keyring from 1.1.4 to 1.1.5 (#6068)
Bumps [github.com/99designs/keyring](https://github.com/99designs/keyring) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/99designs/keyring/releases)
- [Commits](https://github.com/99designs/keyring/compare/v1.1.4...v1.1.5)

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-04-24 11:41:24 +02:00
Alexander Bezobchuk 72a2dae3db
Bump Tendermint v0.33.4 (#6055)
* Bump go.{mod,sum}

* Update APIs from Tendermint

* Add max clock drift to client state

* Test updates

* Update APIs from Tendermint

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-04-22 19:21:48 +00:00
Marko 8f8ca6852a
bump various deps (#6001) 2020-04-16 12:19:18 +02:00
dependabot-preview[bot] a6588a4d2d
Bump github.com/golang/protobuf from 1.4.0-rc.4 to 1.4.0 (#5990)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.0-rc.4 to 1.4.0.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.4.0-rc.4...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-04-14 17:05:05 +02:00
dependabot-preview[bot] b7397d6df5
Bump github.com/spf13/viper from 1.6.2 to 1.6.3 (#5981)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.6.2...v1.6.3)
2020-04-10 10:31:50 +02:00
dependabot-preview[bot] d10de8aad9
Bump github.com/tendermint/tendermint from 0.33.2 to 0.33.3 (#5972)
Bumps [github.com/tendermint/tendermint](https://github.com/tendermint/tendermint) from 0.33.2 to 0.33.3.
- [Release notes](https://github.com/tendermint/tendermint/releases)
- [Changelog](https://github.com/tendermint/tendermint/blob/v0.33.3/CHANGELOG.md)
- [Commits](https://github.com/tendermint/tendermint/compare/v0.33.2...v0.33.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-04-09 14:47:07 +00:00
dependabot-preview[bot] 498bb185d3
Bump github.com/tendermint/iavl from 0.13.2 to 0.13.3 (#5933)
Bumps [github.com/tendermint/iavl](https://github.com/tendermint/iavl) from 0.13.2 to 0.13.3.
- [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.2...v0.13.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-04-06 10:15:50 -04:00
dependabot-preview[bot] 597093d8be
Bump github.com/pelletier/go-toml from 1.6.0 to 1.7.0 (#5932)
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.6.0...v1.7.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-06 10:05:44 -04:00
dependabot-preview[bot] fd2bb9aab6
Bump github.com/tendermint/tm-db from 0.5.0 to 0.5.1 (#5897)
Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/tendermint/tm-db/releases)
- [Changelog](https://github.com/tendermint/tm-db/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tendermint/tm-db/compare/v0.5.0...v0.5.1)

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-31 10:04:42 -03:00
Alessio Treglia 2a7a408d35
crypto/keyring: deprecate old keybase (#5889)
Remove the Update method from the Keybase interface.

Remove redundant lazy keybase implementation altogether.

Created LegacyKeybase interface to restrict capabilities to
only those required by keys commands that deal with
legacy keybase such as update and migrate.

Rename keyring.New() -> keyring.NewLegacy().

Rename client/keys.NewKeyBaseFromDir -> NewLegacyKeyBaseFromDir.

crypto/keyiring.NewInMemory() now returns a in-memory keyring.
BackendMemory is added yet not exposed via command line
--keyring-backend flag. keys add uses it when --dry-run flag
is on.
2020-03-30 20:30:50 +02:00
dependabot-preview[bot] b6c45b76a7
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7 (#5891)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7)

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-30 10:49:54 -03:00
Alessio Treglia 206a511fa9
Use cosmos' fork of github.com/bartekn/go-bip39 (#5867)
Thanks @fedekunze for pointing this out.
2020-03-25 00:46:10 +01: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
Aleksandr Bezobchuk 91115fd6ab
Merge branch 'master' into bez/proto-client-init 2020-03-17 17:56:21 -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
Aleksandr Bezobchuk ba150a8e75
Merge branch 'master' into bez/proto-client-init 2020-03-16 10:49:50 -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 f60cd5a2b5
Merge branch 'master' into bez/proto-client-init 2020-03-14 12:34:34 -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
Aleksandr Bezobchuk 62dbd4a9be
Merge branch 'master' into bez/proto-client-init 2020-03-13 14:00:47 -04:00