Commit Graph

8479 Commits

Author SHA1 Message Date
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
mergify[bot] 8004004b66
Merge branch 'master' into hulatown/adr-043-nft 2021-06-07 09:04:27 +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
mergify[bot] 278507b309
Merge branch 'master' into hulatown/adr-043-nft 2021-06-07 08:32:20 +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
mergify[bot] ccb280742b
Merge branch 'master' into hulatown/adr-043-nft 2021-06-07 06:56:46 +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
mergify[bot] 0849698f03
Merge branch 'master' into hulatown/adr-043-nft 2021-06-04 09:30:54 +00: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
mergify[bot] 9b4f4cf17a
Merge branch 'master' into hulatown/adr-043-nft 2021-06-04 07:25:08 +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
mergify[bot] 55ebf53bb8
Merge branch 'master' into hulatown/adr-043-nft 2021-06-04 07:17:02 +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
mergify[bot] 1098e27e18
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 15:43:43 +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
mergify[bot] 3f7c8bb65f
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 15:09:19 +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
mergify[bot] cc289b6ed2
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 07:37:13 +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
mergify[bot] db8bd8409b
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 07:00:40 +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
Federico Kunze e8e6980369
Merge branch 'master' into hulatown/adr-043-nft 2021-05-31 03:56:14 -04: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
chengwenxi e39f05907d apply comments 2021-05-31 14:42:56 +08: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
vincent 835b58183c
Merge branch 'master' into hulatown/adr-043-nft 2021-05-28 09:45:55 +08: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
Federico Kunze b5a36b3752
Update docs/architecture/adr-043-nft-module.md 2021-05-27 09:53:24 -04: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
Shahan Khatchadourian 1f3ec2ae5f
Adding clarity to ADR 043 nft data field (#9388)
* Added clarity to data field description

* Update docs/architecture/adr-043-nft-module.md

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

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2021-05-26 10:22:54 +08: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
chengwenxi 1571a5911b fix typo 2021-05-25 14:42:14 +08:00