Robert Zaremba
7bca49e2d2
refactor(client): add client/Context.Codec and deprecate JSONCodec ( #9498 )
...
* chore(types): add sdk.Context.Codec and deprecate JSONCodec
* Use clientContext.Codec rather than JSONCodec everywhere
* update tests to use clientContext.Codec
* added a note that EncodingConfig.Marshaler will be renamed to Codec
* update changelog
* fix tests to use clientCtx.WithCodec instead of WithJSONCodec
* fix genutil build
* Update simapp/params/encoding.go
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-11 11:49:39 +00:00
MD Aleem
606bb2f46d
test ( #9484 )
...
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
2021-06-10 15:23:20 +00:00
Haifeng Xi
745154aec0
docs: Fix ADR 030 reference link ( #9487 )
2021-06-10 12:46:14 +02:00
Ryan Christoffersen
8f2333d02a
docs: update contributing pull request process ( #9472 )
...
* docs: update contributing
* docs: update contributing
* docs: update contributing
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
2021-06-09 17:37:58 -07:00
dependabot[bot]
a15883f59a
build(deps): bump github.com/btcsuite/btcd ( #9483 )
...
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd ) from 0.21.0-beta to 0.22.0-beta.
- [Release notes](https://github.com/btcsuite/btcd/releases )
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES )
- [Commits](https://github.com/btcsuite/btcd/compare/v0.21.0-beta...v0.22.0-beta )
---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 16:27:02 +00:00
dependabot[bot]
6f65a03a22
build(deps): bump github.com/prometheus/common from 0.27.0 to 0.28.0 ( #9473 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-09 11:02:21 +00:00
Adrien Duval
dccc0d6a45
Fix ReadRESTReq documentation ( #9476 )
...
The `ReadRESTReq` function documentation stated it `returns true if errors occurred`, when it return false when an error occur
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-09 10:40:36 +00:00
Augustin Chan
98cf72c4ba
style: fix lint errors and update lint timeout ( #9464 )
...
* fix: misc fixes for make to work off freshly cloned repo
* gocritic appendAssign fix
* markdown trailing space and blank line fixes
* change golangci-lint timeout to 5min
* update changelog
* Update .golangci.yml
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-08 16:27:39 +00:00
Ryan Christoffersen
37fc37d853
fix interfaces links ( #9448 )
...
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-08 12:03:42 +00:00
dependabot[bot]
a7b0eb1b90
build(deps): bump github.com/prometheus/client_golang ( #9474 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.10.0 to 1.11.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.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:13:36 +00:00
Ryan Christoffersen
cab40b4c7a
fix: feegrant grant period not resetting ( #9450 )
...
* fix grant period reset
* add period reset test
* consolidate condition
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-07 15:02:49 +00:00
Robert Zaremba
a55b6ed9be
fix: make proto-format ( #9470 )
2021-06-07 14:45:55 +00:00
Marko
f1289d0808
refactor: add util functions to reuse in simulations ( #9456 )
...
* add util functions to reuse in simulations
* keeper interface cleanup, gov migrate
* fix module name
* fix sims
* fix staking tests
* introduce a txContext
* fix feegrant
* take in consideration
* fix names
* fix tests
* add bank keeper where needed
* add bank keeper where needed
2021-06-07 09:03:24 +00:00
dependabot[bot]
f96811c0dd
build(deps): bump ws from 6.2.1 to 6.2.2 in /docs ( #9461 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/commits )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-06-07 08:31:20 +00:00
Federico Kunze
069514e4d6
client: update client error handling to use tx hash from tendermint ( #9462 )
2021-06-07 02:55:08 -04:00
Amaury
ec3e2b4d0d
feat: Add amino support for x/authz and x/feegrant ( #9457 )
...
* add amino for authz
* Add amion for feegrant
* add cl
* Remove protoCdc from simulations
* Update x/authz/client/testutil/tx.go
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
* Address reviews
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
2021-06-04 09:29:58 +00:00
Dev Ojha
fc6e3d6056
docs: Fix simulation docs link ( #9452 )
...
* Fix simulation docs link
* Fix link
* apply suggestion
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-06-04 07:24:57 +00:00
dependabot[bot]
9ea550b867
build(deps): bump github.com/prometheus/common from 0.25.0 to 0.27.0 ( #9459 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.25.0 to 0.27.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.25.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 07:16:01 +00:00
Ryan Christoffersen
d14398f849
chore: update pull request templates ( #9342 )
...
* add new templates
* add revised checklists
* draft reviews checklist
* update checklists
* update checklists
* minor revisions
* delete old template
* apply review suggestion
* set default template
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
2021-06-03 15:42:29 +00:00
likhita-809
f1ec0e2193
fix: Fix testnet command ( #9454 )
...
* accept hyphen in node-dir-prefix flag for testnet and change `node-dir-prefixtoken` to `testtoken`
* remove unnecessary use of fmt.Sprintf in simapp/simd/cmd/testnet.go
* add changelog
* add changelog
* remove unrelated changelog
2021-06-03 15:08:21 +00:00
MD Aleem
66ee994ce4
fix: x/gov deposits querier (Initial Deposit) ( #9288 )
...
* copied from old PR
* fix errors
* add test
* Update x/gov/client/utils/query.go
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* fix tests
* fix failing test
* add test
* update test
* fix tests
* fix deposit query
* fix test
* update tests
* add more tests
* address lint error
* address lint error
* review changes
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-06-03 07:36:08 +00:00
Federico Kunze
90edeb67e2
feat: add `RefundGas` function to `GasMeter` ( #9403 )
...
* feat: add RefundGas function to GasMeter
* changelog
* add comment about use case
* Apply suggestions from code review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-02 15:14:15 +00:00
Ryan Christoffersen
33c045c3c9
fix memo flag description ( #9436 )
...
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-02 13:50:59 +00:00
yys
2ae7875488
fix: Bank module init genesis optimization ( #9428 )
...
* optimize the bank module genesis initialization
* remove k.setBalances & k.clearBalances and update changelog
* fix lint
Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-06-01 20:03:32 +00:00
likhita-809
da87ab0d36
fix: Staking delegations should return empty list instead of rpc error when no records found ( #9423 )
...
* return empty list instead of rpc error when no records found for staking delegations
* fix grpc query DelegatorDelegations tests
* remove response code tests for staking delegations
* fix failing tests
* change staking delegations response code to 200 in grpc test
* add staking delegations response code tests to TestQueryDelegatorDelegationsGRPC
* add address without delegations testcase
* add changes to grpc query tests of delegatorDelegations
* remove getRequest unused function from x/staking/client/rest/grpc_query_test.go
* minor fixes
* add testcases for request with no delegations
* address review comments
* add changelog
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-01 15:17:44 +00:00
Sunny Aggarwal
98fbdbd5b8
fix blond typo ( #9422 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-06-01 13:20:16 +00:00
colin axnér
d7c5bc5f35
fix typo, v0.42 -> v0.43 ( #9430 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-06-01 07:48:19 +00:00
dependabot[bot]
7abd781fc9
build(deps): bump goreleaser/goreleaser-action from 2.6.0 to 2.6.1 ( #9426 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 07:19:40 +00:00
Robert Zaremba
917fb765d6
fix: rollback height->Height in x/upgrade plan.DueAt formatting ( #9416 )
...
* fix: rollback height->Height in x/upgrade plan.DueAt formatting
* fix test
make test string match function rollback
* fix abci_test.go
lowercase height
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2021-05-28 20:06:06 +00:00
Aleksandr Bezobchuk
80330ec17c
fix: update simapp to use correct default broadcast mode ( #9408 )
2021-05-28 09:17:50 -04:00
dependabot[bot]
f535f86688
build(deps): bump dns-packet from 1.3.1 to 1.3.4 in /docs ( #9410 )
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 08:00:32 +00:00
dependabot[bot]
c2acf5b883
build(deps): bump actions/cache from 2.1.5 to 2.1.6 ( #9412 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 07:54:21 +00:00
Ryan Christoffersen
cb66c99eab
chore: add markdownlint to lint commands ( #9353 )
...
* add markdownlint config
* update make lint commands
* update markdownlint config
* run make lint-fix
* fix empty link
* resuse docker container
* run lint-fix
* do not echo commands
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
2021-05-27 15:31:04 +00:00
dependabot[bot]
b56e1a164b
build(deps): bump goreleaser/goreleaser-action from 2.5.0 to 2.6.0 ( #9399 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2.5.0...v2.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-05-27 10:37:58 +00:00
dependabot[bot]
214997e245
build(deps): bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13 ( #9400 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.12...v0.0.13 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 08:20:00 +00:00
Tyler
a93ed22860
test: add test for unpacking interface on validator request ( #9391 )
...
* test unpack on validator
* *add line to docs about validator being encoded in any
* add test to show how to unpack interfaces with validator object
* Update docs/core/encoding.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* sort imports
* Update docs/core/encoding.md
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: technicallyty <48813565+tytech3@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
2021-05-26 17:25:48 +00:00
Riccardo Montagnin
44a41383f4
Fix the liveliness test Docker error ( #9396 )
2021-05-26 13:55:24 +00:00
Techno Freak
9536ba7622
feat: add Dec.Float64() function ( #9382 )
...
* feat: add Dec.Float64() function
* chore: add CHANGELOG.md release entry
* chore: added MustFloat64(), return result with error on Float64()
* chore: add godoc
* Update types/decimal.go
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update types/decimal.go
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* chore: re-ordered changelog
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-05-26 09:02:14 +00:00
Federico Kunze
151d6c5e97
feat: add header hash to `Context` ( #9390 )
...
* baseapp, types: add header hash to
* changelog
2021-05-26 08:36:42 +00:00
Robert Zaremba
61bd6cbd12
docs: adding documentation writing guidelines ( #9366 )
...
* docs: adding documentation writing guidelines
* update
* Apply suggestions from code review
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-25 15:15:21 +00:00
Robert Zaremba
1de12aae67
docs: adding documentation writing guidelines ( #9366 )
...
* docs: adding documentation writing guidelines
* update
* Apply suggestions from code review
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
2021-05-25 15:10:17 +00:00
dependabot[bot]
f0b7f62237
build(deps): bump browserslist from 4.16.4 to 4.16.6 in /docs ( #9389 )
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.4 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 14:47:32 +00:00
Robert Zaremba
8c1fe4b166
test: fix mockgen version ( #9127 )
...
* setup: update mockgen
* Add expect ConsensusVersion in app_test
* fix ChainAnteDecorators tests
* remove types/handler.go from autogenerating mocks
* adding a note
* adding note
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-05-25 09:18:59 +00:00
Ryan Christoffersen
8669f0b4b9
docs: update simapp instructions ( #9374 )
...
* update simapp instructions
* fix typo and amount
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-05-25 07:36:03 +00:00
Ryan Christoffersen
45265b1ea6
chore: add lint-pr action ( #9341 )
...
* add lint-pr config
* use default config
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-05-21 10:08:45 -07:00
Bryan White
7c70ca555e
fix copy pasta ( #9376 )
...
Comment for `types/module/Manager#RegisterRoutes` looks like it was copy-pated from `#RegisterRoutes` but wasn't edited.
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-05-21 11:56:25 +00:00
Andy Nogueira
d80da7630f
Adding the ts-relayer to the implementations list ( #9380 )
2021-05-21 11:35:31 +00:00
Barrie Byron
f7701f5735
docs: minor edits and typo fix on 06_begin_block.md ( #9370 )
...
* docs: minor edits and typo fix on 06_begin_block.md
just a few edits when I went to fix a typo
* Update x/evidence/spec/06_begin_block.md
* fix typo
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
2021-05-21 09:32:01 +00:00
Leo Pang
821637734c
cosmovisor: set larger buffer size for cosmovisor to scan log ( fix #8651 ) ( #8653 )
...
* cosmovisor: set larger buffer for cosmovisor to scan log (fix #8651 )
* update cosmovisor README and set buffer size to ENV setting
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-20 19:29:56 +00:00
Robert Zaremba
8161b3a5ec
fix: store key uniqueness ( #9363 )
...
* fix: store key uniqueness
* gosimple: use copy instead of for loop
* Update types/store.go
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
* fix import
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2021-05-20 18:13:09 +00:00