Commit Graph

10909 Commits

Author SHA1 Message Date
Aleksandr Bezobchuk
a5093dc7cb
docs: Add Upgrading Section to ADR-064 (#15721) 2023-04-06 17:25:58 +02:00
Julien Robert
22f26829de
build: install necessary deps in docker (#15719) 2023-04-06 14:16:18 +00:00
Facundo Medica
43cfdfe618
fix(math): FormatInt returns error on empty string (#15714) 2023-04-06 14:10:30 +00:00
Dhanu Saputra
17debf2efa
feat: emit more data in prom metrics (#15657) 2023-04-06 13:10:08 +00:00
Julien Robert
b2c84188de
ci: use alpine in dockerfile (#15703) 2023-04-06 11:44:07 +02:00
Marko
f5993b1c62
refactor(gov): remove global bech32 (#15682) 2023-04-06 08:56:12 +00:00
dependabot[bot]
b6bc636b4d
build(deps): Bump bufbuild/buf-setup-action from 1.16.0 to 1.17.0 (#15708) 2023-04-06 07:58:52 +00:00
Julien Robert
3f3beb319e
ci: bump go version (#15716) 2023-04-06 09:55:19 +02:00
Mark Rushakoff
68af247459
feat: add testutil/testnet package (#15655)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-04-05 19:16:45 +00:00
Marko
e2a8f7ca32
refactor(distribution): remove global bech32 (#15684)
## Description

ref #13140 

remove global bech32 in distribution

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

* [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] added `!` to the type prefix if API or client breaking change
* [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] provided a link to the relevant issue or specification
* [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
* [ ] added a changelog entry to `CHANGELOG.md`
* [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] updated the relevant documentation or specification
* [ ] reviewed "Files changed" and left comments if necessary
* [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

* [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] confirmed `!` in the type prefix if API or client breaking change
* [ ] confirmed all author checklist items have been addressed 
* [ ] reviewed state machine logic
* [ ] reviewed API design and naming
* [ ] reviewed documentation is accurate
* [ ] reviewed tests and test coverage
* [ ] manually tested (if applicable)
2023-04-05 14:14:51 +00:00
dependabot[bot]
f5eb9d8887
build(deps): Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#15692)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-04-05 12:13:45 +00:00
samricotta
81d3b186be
refactor: remove aliases from types/math.go in crisis and distribution (#15674) 2023-04-05 11:19:22 +00:00
Emmanuel T Odeke
917a038b4f
style(x/nft): fix golanglint-ci suggestion (#15696)
Fixes a style complaint in golanglint-ci from code that's been failing all the builds.
2023-04-05 09:51:07 +00:00
Emmanuel T Odeke
a7e2df2a46
fix: types: ensure .Amount is non-nil in Coin.Validate() (#15691)
This change fixes a scenario in which Coin.Validate() would panic when given a nil Amount.
While here, added a fuzz test along with unit/regression tests.

Fixes #15690
2023-04-05 07:36:36 +00:00
Julien Robert
5b1ee227c2
docs(gov): remove unimplemented section (#15697) 2023-04-05 00:34:41 +02:00
Julien Robert
d0d1f5c056
feat: improve genesis migration command (#15679)
## Description

Closes: https://github.com/cosmos/cosmos-sdk/issues/5041
ref: https://github.com/cosmos/gaia/issues/1950#issuecomment-1400097306

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

* [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] added `!` to the type prefix if API or client breaking change
* [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] provided a link to the relevant issue or specification
* [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
* [ ] added a changelog entry to `CHANGELOG.md`
* [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] updated the relevant documentation or specification
* [ ] reviewed "Files changed" and left comments if necessary
* [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

* [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] confirmed `!` in the type prefix if API or client breaking change
* [ ] confirmed all author checklist items have been addressed 
* [ ] reviewed state machine logic
* [ ] reviewed API design and naming
* [ ] reviewed documentation is accurate
* [ ] reviewed tests and test coverage
* [ ] manually tested (if applicable)
2023-04-04 17:31:42 +00:00
Facundo Medica
445dc8afe0
refactor!: use store service in x/feegrant (#15606)
## Description

Closes: #XXXX



---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

* [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] added `!` to the type prefix if API or client breaking change
* [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] provided a link to the relevant issue or specification
* [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
* [ ] added a changelog entry to `CHANGELOG.md`
* [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] updated the relevant documentation or specification
* [ ] reviewed "Files changed" and left comments if necessary
* [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

* [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] confirmed `!` in the type prefix if API or client breaking change
* [ ] confirmed all author checklist items have been addressed 
* [ ] reviewed state machine logic
* [ ] reviewed API design and naming
* [ ] reviewed documentation is accurate
* [ ] reviewed tests and test coverage
* [ ] manually tested (if applicable)
2023-04-04 16:02:16 +00:00
dependabot[bot]
37c0ec8f8a
build(deps): Bump tailwindcss from 3.2.7 to 3.3.1 in /docs (#15680)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-04 09:21:56 -03:00
Julien Robert
c3b1b37e49
test: remove api that should not be used (#15678) 2023-04-03 21:57:11 +00:00
Matt Kocubinski
5e90819765
feat(x/tx): legacy amino json sign mode handler (#15515) 2023-04-03 16:13:45 -04:00
dependabot[bot]
723256f769
build(deps): Bump actions/add-to-project from 0.4.1 to 0.5.0 (#15681)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 17:56:09 +00:00
Marko
38c7c948f5
style: various linting fixes (#15675)
## Description

fix various linting issues

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

* [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] added `!` to the type prefix if API or client breaking change
* [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] provided a link to the relevant issue or specification
* [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
* [ ] added a changelog entry to `CHANGELOG.md`
* [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] updated the relevant documentation or specification
* [ ] reviewed "Files changed" and left comments if necessary
* [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

* [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] confirmed `!` in the type prefix if API or client breaking change
* [ ] confirmed all author checklist items have been addressed 
* [ ] reviewed state machine logic
* [ ] reviewed API design and naming
* [ ] reviewed documentation is accurate
* [ ] reviewed tests and test coverage
* [ ] manually tested (if applicable)
2023-04-03 17:00:44 +00:00
samricotta
448ffbc722
refactor: remove aliases from types/math.go in evidence and feegrant (#15676) 2023-04-03 15:58:33 +00:00
Julien Robert
c1974e4b3c
refactor: remove cometbft/libs/cli import (#15673) 2023-04-03 14:48:02 +00:00
Marko
f69fdad424
refactor(upgrade): remove global bech32 (#15661) 2023-04-03 13:50:04 +00:00
samricotta
a2cde56e17
refactor: remove aliases from types/math.go in bank module (#15671) 2023-04-03 12:53:24 +00:00
Marko
521aa4bfdd
refactor(authz):remove global bech32 (#15662) 2023-04-03 13:55:32 +02:00
Marko
b4d1109efc
refactor(nft): remove global bech32 (#15654) 2023-04-03 10:28:17 +00:00
Jacob Gadikian
bd8b01cd12
style: linter fixes for feegrant and upgrade (#15642) 2023-04-03 07:58:24 +00:00
Jacob Gadikian
c3bc4dd0aa
ci: disable gosec G107 rule (#15665) 2023-04-03 08:48:54 +02:00
Marko
7f0e05ebb9
refactor(staking): remove account address bech32 global (#15598) 2023-04-02 21:53:59 +02:00
Jacob Gadikian
0c905e8707
style: bank & autocli (#15659)
Co-authored-by: Sam Ricotta <samanthalricotta@gmail.com>
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2023-04-02 00:20:59 +00:00
Jacob Gadikian
6aaa3cf2ed
style: fix lint issues in log (1/n) (#15658) 2023-04-01 17:38:20 +02:00
samricotta
d31a30fdf8
refactor: remove aliases from types/math.go in auth/authz module (#15653)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-31 20:53:13 +00:00
Julien Robert
aeaa301506
feat: integration test helpers (#15556) 2023-03-31 18:02:15 +00:00
samricotta
43a4db5a9e
refactor: remove aliases from types/math.go in gov module (#15625)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-31 16:12:28 +00:00
Aaron Craelius
9332942f37
feat(codec)!: add get signers to codec + merged proto registry to InterfaceRegistry (#15600)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-03-31 14:36:06 +00:00
KyleMoser
cdf6471e51
fix: accaddr cachefix (#15433)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-31 12:12:33 +00:00
Jacob Gadikian
a9546bfad0
style: apply any / all automated lint fixes (#15644) 2023-03-31 13:48:41 +02:00
Jacob Gadikian
64ab721a08
ci: disable gosec g101 in actions (#15650) 2023-03-31 08:55:57 +00:00
Jacob Gadikian
622ebf4df0
style: errors, collections (#15640) 2023-03-31 08:42:37 +00:00
Jacob Gadikian
528ce31eeb
Style: lints for tools (#15637)
Co-authored-by: Marko <marko@baricevic.me>
2023-03-31 08:15:27 +00:00
Jacob Gadikian
8c182e7d77
style: lints for core, math, simapp, and tests (#15638) 2023-03-31 09:30:29 +02:00
Jeancarlo Barrios
7824a8f143
feat(autocli): Add coin support (#15434)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-31 01:47:12 +00:00
testinginprod
182f3fd551
refactor(collections): Indexes perf improvements and simplification (#15552)
Co-authored-by: testinginprod <testinginprod@somewhere.idk>
2023-03-30 20:11:16 +00:00
dependabot[bot]
0869411d5c
build(deps): Bump bufbuild/buf-setup-action from 1.15.1 to 1.16.0 (#15633)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-30 20:08:54 +02:00
Jacob Gadikian
b009a75eea
style: make lint-fix everything (#15631)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-30 17:27:39 +00:00
Julien Robert
d9e04c56c6
revert(consensus): revert proto breaking change (#15627) 2023-03-30 17:59:14 +02:00
Marko
9a09f8656b
feat: add event core api to runtime (#15547)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-03-30 14:16:31 +00:00
Marko
51f3e70a12
style: more linting (#15618) 2023-03-30 13:00:18 +00:00