antstalepresh
4515b8782d
Merge branch 'master' of github.com:cosmos/cosmos-sdk into fix_power_reduction_test_cast_int64
2020-11-12 02:52:59 +10:00
antstalepresh
0b20e23f21
fix random values testing
2020-11-12 02:05:03 +10:00
colin axnér
76ffdccb03
IBC Fraction for trust level changed to uints ( #7892 )
...
* fraction uses uint now
* Update proto/ibc/lightclients/tendermint/v1/tendermint.proto
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-11 15:52:11 +00:00
antstalepresh
0eb0cbec65
set PowerReduction=10^18 for staking tests
2020-11-12 01:48:42 +10:00
Alessio Treglia
e564d7f5cc
cosmovisor: tests -> test suites ( #7887 )
2020-11-11 12:46:11 +00:00
Federico Kunze
136f3ade88
ibc: client params allowlist ( #7855 )
...
* ibc: client params allowlist
* genesis and gRPC
* client
* lint
* spec
* fixes
* validate localhost client
* move client types back to exported
* update genesis
* sort clients by id
2020-11-11 11:07:29 +00:00
colin axnér
116d0460fc
solo machine GetPubKey returns an error instead of panicing ( #7883 )
...
* solo machine public key now returns an error instead of panicing
* apply @fedekunze review suggestions
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-11 10:09:57 +00:00
colin axnér
0bd46574f4
fix mismatched solomachine signature data type verification ( #7882 )
...
* fix mismatched signature data type verification
* update godoc
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-10 20:37:10 +00:00
Cyrus Goh
0895a2ab92
Merge pull request #7868 from cosmos/cyrus/docs-0.40.x
...
docs: remove v0.40.x from versions
2020-11-10 10:18:10 -08:00
Cyrus Goh
131a942ef1
Merge branch 'master' into cyrus/docs-0.40.x
2020-11-10 10:15:09 -08:00
Federico Kunze
bcdd6ee15c
ibc: fix grpc gateway routes ( #7881 )
2020-11-10 17:50:53 +00:00
colin axnér
300b7393ad
Update IBC host keys + cleanup ( #7873 )
...
* init changes
* cleanup keys and remove redunancdy
* revert unintentional changes
* KeyChannel -> ChannelKey
2020-11-10 17:05:21 +00:00
antstalepresh
67b3f9071c
fix build issues && telemetry.SetGaugeWithLabels int64 range validation
2020-11-11 02:07:40 +10:00
antstalepresh
4582dcd08f
remove comment
2020-11-11 01:38:54 +10:00
antstalepresh
705e26e98c
give enough balance to operations test validator based on TokensFromConsensusPower to consider PowerReduction
2020-11-11 01:28:39 +10:00
antstalepresh
cc96ee3a3b
fix staking cli, grcp_query, keeper test for power reduction
2020-11-11 00:40:25 +10:00
Aditya
fdcb028636
ibc: proof fixes ( #7869 )
...
* change proof proto def
* progress fixing tests
* complete proof restructure
* remove use of KeyPath
* improve error msgs
* docs and lint
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* address code review
* fix string tests
* add ConvertProofs tests
* Apply suggestions from code review
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-11-10 15:39:09 +01:00
antstalepresh
7bc08c419c
Disable telemetry.SetGaugeWithLabels when amount overflow int64 && Update CreateValidator, CreateValidatorMsg, Delegate helper functions to fix int64 overflow
2020-11-10 23:05:15 +10:00
Amaury Martiny
15b285dd0d
Fix creation of local RPC node in clientCtx ( #7840 )
...
* server: only register the Tx service if the API or gRPC are enabled
Only registers the Tx service on an app, if either API or gRPC are enabled.
This is because, enabling the service starts a local Tendermint node, which
is unnecessary and expensive, if neither of those operations are explicitly
enabled.
* Fix lint
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-10 13:01:55 +00:00
Cyrus Goh
c432e2871b
docs: remove v0.40.x from versions
2020-11-09 10:26:34 -08:00
Emmanuel T Odeke
fe8a891f11
unknownproto: check result from protowire.ConsumeFieldValue and return an error ( #7770 )
...
* unknownproto: check result from protowire.ConsumeFieldValue and return error
Given that protowire.ConsumeFieldValue returns -1 when it encounters an
error, perform a check for n < 0 and return the respectively obtained
error with context about the details.
Fixes an issue identified from a go-fuzz session, thanks to Ethan
Buchman and the IBC auditors from Informal Systems et al.
Fixes #7739 .
* Address AlexanderBez's suggestions
* Use require in tests
* Add issue #7846 to TODO
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-09 17:58:13 +00:00
colin axnér
55772aec8c
update err to match others ( #7857 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-09 17:12:00 +00:00
Marie Gauthier
90e9370bd8
Replace tmcrypto.PubKey by our own cryptotypes.PubKey ( #7419 )
...
* WIP on removing tm pub/privkey
* Fix part of crypto tests
* Add PrivKeyLedgerSecp256K1 proto type
* Use BasePrivKey for ledger priv key type
* Refacto continued
* First round
* x/staking
* Continue porting
* x/* done
* Make build pass
* More conversion
* Remove IntoTmPubKey
* Fix test
* Remove crypto.PubKey in some other places
* Revert ledger changes
* Fix comment
* Remove useless function
* Add To/FromTmPublicKey
* Add migrate tests
* Fix test
* Fix another test
* Rename tm conversion functions
* Less code
* Rename BasePrivKey to LedgerPrivKey
* Add changelog
* Rename functions
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-09 16:01:43 +00:00
Alessio Treglia
e172a08333
enrich versioning with build deps ( #7848 )
...
`version --long` output now shows the list of build dependencies.
Redirect version's output to `stdout`.
2020-11-09 15:17:36 +00:00
antstalepresh
ebb7698339
status update for power reduction test
2020-11-10 00:14:10 +10:00
Federico Kunze
70fa17b55a
ibc: spec overview ( #7853 )
2020-11-09 12:44:20 +01:00
Federico Kunze
f294db9ccf
x/ibc: transfer specs ( #7580 )
...
* x/ibc: transfer specs
* update titles and list todos
* denom trace and client UX
* add UX recommendations and locked funds section
* metrics
* state transitions
* Apply suggestions from code review
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* address comments from review
* jack suggestions
* add example
* fix
* address comments from call with @zakimanian
* Update x/ibc/applications/transfer/spec/01_concepts.md
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
* add comment about verification
* address comments from review
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
2020-11-09 08:49:16 +00:00
dependabot[bot]
0e0ed66212
build(deps): bump actions/cache from v2.1.2 to v2.1.3 ( #7850 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.2...0781355a23dac32fd3bac414512f4b903437991a )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-09 09:43:08 +01:00
Ethan Buchman
dd9ef120f3
x/cap: fix comments, SetIndex, and some tests ( #7845 )
...
* x/cap: fix comments and some tests
* fix lint
* Apply suggestions from code review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-07 20:38:26 +00:00
Cory
590358652c
update changelog for rc3 ( #7843 )
2020-11-06 19:15:26 +00:00
Sunny Aggarwal
138ae178ff
Merge branch 'master' into gov_split_vote_weighted_vote
2020-11-06 12:33:13 -04:00
Sunny Aggarwal
bf508d9699
Merge branch 'master' into adr_gov_split_vote
2020-11-06 11:43:20 -04:00
Sunny Aggarwal
53108e7637
Update adr-034-account-rekeying.md
2020-11-06 11:28:18 -04:00
Sunny Aggarwal
c4e5e29244
Update and rename adr-034-change-pubkey.md to adr-034-account-rekeying.md
2020-11-06 11:21:45 -04:00
antstalepresh
be1012c8d1
remove cast to int64 for amount multiplied by PowerReduction
2020-11-07 00:57:07 +10:00
Cyrus Goh
da1c8162de
docs: fix broken url in cn/basics/app-anatomy.md (master) ( #7831 )
...
* Fix package-lock
* Fix package-lock
* update package-lock
* bump docs theme to 1.0.171
* Fix typo, chinese character in URL
* update dead doc links
* bump docs theme to 1.0.172
* [favicons] add favicons
* makefile: change build-docs target for shells other than bash
* docs: set master as default version
* docs: add v0.40.x to versions
* bump vuepress-theme-cosmos 1.0.175
* docs: fix broken url in cn/basics/app-anatomy.md
Co-authored-by: Denis Fadeev <denis@fadeev.org>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: vms <vince19972@gmail.com>
Co-authored-by: Helder Moreira <helder@tendermint.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-06 11:21:53 +00:00
billy rennekamp
e57745bebc
Update cosmovisor.md ( #7837 )
2020-11-06 11:05:41 +00:00
Jonathan Gimeno
4d833f9ef0
ADR 35: Rosetta API Support ( #7492 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: SenorMonito <david@planet-mono.net>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-11-06 10:39:33 +00:00
Cory
56c08d1117
Bump to tendermint v0.34-rc6 ( #7828 )
...
* bump to tendermint v0.34-rc6
* update go.mod
* tendermint version is now accessible as tmversion.TMCoreSemVer
* add changelog entry
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-11-06 10:13:52 +00:00
Amaury Martiny
4309859bf1
Small fixes in docs and error messages ( #7826 )
...
* Small fixes in docs and error messages
* Add chain id
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-06 01:25:38 +00:00
antstalepresh
e63f9f28ea
add line break at the end
2020-11-06 00:38:14 +10:00
antstalepresh
1ff85aae43
cosmos sdk master sync on interval
2020-11-06 00:15:31 +10:00
Aditya
03a46181c6
Merge Packet Functions ( #7813 )
...
* start implementation and debugging tests
* fix some issues, continue debugging
* fix IBC tests
* remove print statement and fix docs
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-05 14:07:15 +00:00
Federico Kunze
97963c71df
ibc: remove GetClientConsensusStateLTE ( #7812 )
2020-11-05 14:46:00 +01:00
Amaury Martiny
71166c8949
docs: Add new section "Running a Node" ( #7701 )
...
* docs: Add new section "Running a Node"
* Add running-node
* Add docker compose
* Update title
* Typos
* Wording
* Fix links
* Update docs/run-node/keyring.md
Co-authored-by: Cory <cjlevinson@gmail.com>
* Update docs/run-node/run-node.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Address reviews
* rc2
* Update docs/run-node/keyring.md
Co-authored-by: Cory <cjlevinson@gmail.com>
* Address more comments
* Reviews
* Fix run node
* Fix todo
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-04 14:02:22 +00:00
Alessio Treglia
f87e7b321f
append -json to go test -race ( #7800 )
...
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2020-11-04 13:11:45 +00:00
Aditya
432afb274b
ibc: minor fixes from audit ( #7807 )
2020-11-04 13:16:20 +01:00
SaReN
286e9bfbef
Remove duplicate tx commands for auth ( #7788 )
...
* remove duplicate commands
* add changelog
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-04 09:58:11 +00:00
dependabot[bot]
83baa02f62
build(deps): bump vuepress-theme-cosmos from 1.0.173 to 1.0.175 in /docs ( #7806 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.173 to 1.0.175.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 10:40:25 +01:00
antstalepresh
267148291c
Merge pull request #39 from antstalepresh/gov_split_vote
...
Governance split vote
2020-11-04 10:31:55 +10:00