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
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
Michael FIG
d96d79b8fb
fix: allow app.SetSnapshotStore(nil) ( #7507 )
...
* fix: allow app.SetSnapshotStore(nil)
* fix: downgrade Error to Info in BaseApp.snapshot
2020-11-03 23:02:27 +01:00
Sunny Aggarwal
6274240d7c
Apply suggestions from code review
...
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2020-11-03 15:55:16 -04:00
Emmanuel T Odeke
ec285f1798
crypto/hd: properly catch index overflows to ensure conformance with BIP 32 ( #7628 )
...
* crypto/hd: properly catch index overflows to ensure conformance with BIP 32
Uses 31 bits as the bitsize argument to strconv.ParseUint to ensure
that we correctly parse values in the range [0, max(int32)]
Adds tests too to prevent future regressions of this subtlety.
Fixes #7627 .
* Address Fedekunze's testing review
2020-11-03 20:28:42 +01:00
Emmanuel T Odeke
9f17bc77af
baseapp, client: reject gRPC connections with out-of-range/nefarious x-cosmos-block-height values ( #7663 )
...
* baseapp, client: reject gRPC connections with out-of-range/nefarious x-cosmos-block-height values
Rejects gRPC connections that send out-of-range x-cosmos-block-height
values that previously weren't checked for. We now reject any negative
values and any value greater than max(int64) aka >9223372036854775807.
Also added an enforcement for returning an error if any negative heights
are passed into (*BaseApp).createQueryContext.
Fixes #7662
* baseapp, client: reject gRPC connections with out-of-range/nefarious x-cosmos-block-height values
Rejects gRPC connections that send out-of-range x-cosmos-block-height
values that previously weren't checked for. We now reject any negative
values and any value greater than max(int64) aka >9223372036854775807.
Also added an enforcement for returning an error if any negative heights
are passed into (*BaseApp).createQueryContext.
Fixes #7662
* Address Robert's feedback to extract negative height checker
* Fix tests
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-03 18:35:22 +00:00
Aleksandr Bezobchuk
854430e617
Add log_level CLI flag back ( #7789 )
2020-11-03 17:14:56 +00:00
Aditya
30efa5ab16
Host Key changes ( #7783 )
...
* change host keys on sequences
* fix prefix names
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-03 14:35:54 +00:00
antstalepresh
381d1b0e70
fix deprecated function use after merging cosmos master
2020-11-03 22:32:49 +10:00
antstalepresh
eb992a4490
Merge branch 'master' of https://github.com/sikkatech/cosmos-sdk into gov_split_vote
2020-11-03 22:27:58 +10:00
antstalepresh
350f88c0ca
fix lint issues
2020-11-03 22:21:23 +10:00
antstalepresh
ee1988a4ba
split MsgVote and MsgWeightedVote for backwards compatibility
2020-11-03 21:48:53 +10:00
Federico Kunze
72ab03b3ef
ibc: validate signer address ( #7781 )
...
* ibc: validate signer address
* comment
* validate channel handshakes and transfer signers
2020-11-03 10:07:32 +00:00
Aditya
6559e19764
Remove BatchProofs implementation ( #7784 )
...
* remove batch proofs
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-03 09:37:55 +00:00
Cory
ce3994020a
Stargate RC2 - Changelog updates & tag RC ( #7785 )
...
* update changelog with rc1 and rc2 entries
* add more rc2 changelog updates
2020-11-02 16:25:36 -08:00
Robert Zaremba
c201963e41
Update x/banking and x/crisis InitChain re slow Gaia startup ( #7764 )
...
* add more logs during the initialization process
* initializtion: move profiling to the top of the startProcess function
* x/bank InitGenesis: remove k.ValidateBalance
* debug: add logs and telemetry to x/bank and x/crisis
* make x/crisis AssertInvariants optional during InitGenesis
* Add module init flags mechanism
* update changelog
* remove debug fmt.Print
* fix testutil/network/
* fix log message
* update test NewApp calls
* review changes
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-11-02 19:10:14 +00:00
Federico Kunze
4420fe2d52
ibc: remove root from verification funcs ( #7780 )
...
* ibc: remove root from verification funcs
* fix VerifyClientConsensusState
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-02 17:16:22 +00:00
Sunny Aggarwal
09d977e334
Merge branch 'master' into adr_gov_split_vote
2020-11-02 12:57:28 -04:00
Sunny Aggarwal
e9d6a8a48d
add backwards compatibility section
2020-11-02 12:56:45 -04:00
Aditya
e9801edb99
Async Ack Fixes ( #7735 )
...
* Add function to query ack proofs
* fix bugs
* fix swagger
* fix final queries
* docs and add test case
* Rename QueryUnrelayedAcks to more accurate QueryUnreceivedAcks
* 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 rest of reviews
* consistent spelling
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.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-02 15:13:48 +00:00
yihuang
aff88bbe99
Fix #7640 : tally calculation precision error ( #7641 )
...
Solution:
- change `(a / b) * c` to `a * b / c`
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-02 14:50:33 +00:00
Aditya
88e4acac6b
Don't claim channel capability on crossing hellos ( #7763 )
...
* don't claim capability on crossing hellos
* clarify comment
2020-11-02 14:32:32 +00:00
antstalepresh
ebe73fa28b
modify ADR for MsgVote backwards compatibility
2020-11-02 23:10:39 +10:00
Amaury Martiny
194d2aa196
Fix fetch txs by height on legacy REST endpoint ( #7730 )
...
* Add test
* Fix potential flakiness in sequence
* Remove test with ?height
* Fix test
* Fix tests
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Zaki Manian <zaki@manian.org>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2020-11-02 11:52:52 +00:00
Alessio Treglia
cdc73ac605
cosmovisor: docs first draft ( #7608 )
...
Closes : #7118
2020-10-31 12:02:16 +00:00
Marie Gauthier
bd6c16b462
Handle ServiceMsg in StdTxBuilder.SetMsgs ( #7731 )
...
* Handle ServiceMsg in StdTxBuilder.SetMsgs
* Add test
2020-10-30 15:27:12 +00:00
antstalepresh
5a082584c9
Remove Div operation on tally() considering sum(Weight)=1
2020-10-30 23:28:34 +10:00
antstalepresh
73c757dc4f
refactor SubVote to WeightedVoteOption && add utility for NewNonSplitVoteOption
2020-10-30 23:14:39 +10:00
Amaury Martiny
1961935fc7
Add GetTx gRPC endpoint ( #7688 )
...
* Add empty TxByHash
* Fix search & replace
* Renname to GetTx
* Make getTx grpc work
* Hash as string
* Add todo comment
* /tx
* Make tests pass
* Put into function
* Add changelog
* Fix lint
* RegisterTxService in server
* Remove comment
* Update proto/cosmos/tx/v1beta1/service.proto
Co-authored-by: Cory <cjlevinson@gmail.com>
* Create new protoCdc
* Move tx service to x/auth
* Small tweaks
* Link gh issue
* Fix lint
* Update x/auth/tx/service.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2020-10-30 12:32:02 +00:00
Jack Zampolin
b2bc32f3c9
Add function to query ack proofs ( #7732 )
...
* Add function to query ack proofs
* Fix compilation issue
Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-29 22:19:01 +00:00
Robert Zaremba
e0e16f62f9
Remove duplicated Module.Route calls ( #7716 )
...
* Remove duplicated Module.Route calls
* make a proper test for registering empty route
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-29 22:01:09 +00:00
Sunny Aggarwal
71e551bbae
address @alexanderbez review
2020-10-29 16:35:50 -04:00
Sunny Aggarwal
e34a986a7e
Merge branch 'master' into adr_gov_split_vote
2020-10-29 14:46:58 -04:00