Commit Graph
167 Commits
Author SHA1 Message Date
testinginprodandunknown unknown 498cd6a533 feat(accounts): Add codec.BinaryCodec and Gas to dependencies. (#19068)
Co-authored-by: unknown unknown <unknown@unknown>
2024-01-17 10:58:06 +00:00
hattizai d520fcf7cc fix(codec/types): fix struct tag value (#18945) 2024-01-04 15:50:59 +00:00
8f0d5b15f0 chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-12-11 13:03:19 +00:00
112f6cbdae feat(accounts): use gogoproto API instead of protov2. (#18653)
Co-authored-by: unknown unknown <unknown@unknown>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-12-08 13:17:48 +00:00
testinginprodandunknown unknown ae7288b249 refactor(codec/unknownproto): use official descriptorpb types, do not rely on gogo code gen types. (#18541)
Co-authored-by: unknown unknown <unknown@unknown>
2023-11-29 15:35:15 +00:00
Julien Robert e2b71b7480 fix: deterministic protov2 marshal (#18403) 2023-11-07 16:22:57 +00:00
Marko 44db964e91 test: add counter module (#18272) 2023-10-30 19:07:58 +00:00
Marko 21e69bad04 refactor(bank): add go module (#18279) 2023-10-27 09:25:04 +00:00
Julien Robert b62301d9d1 feat(client/v2): signing (#17913) 2023-10-05 11:04:46 +00:00
Julien Robert 76f8ed1e86 fix(x/auth): properly populate tx config options and deprecate ProtoCodecMarshaler (#17946) 2023-10-04 07:29:35 +00:00
Marko a953f1d338 fix: recreate legacy behaviour for addresscodec (#17870) 2023-09-25 14:03:49 +00:00
Emmanuel T OdekeandMarko 57fbeacca8 chore: codec/types: use reflect.Type.Implements not mandatory casts (#17085)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-07-26 09:40:34 +00:00
testinginprodandunknown unknown 3d15233578 feat(codec): add collections value codec for protov2 APIs. (#17042)
Co-authored-by: unknown unknown <unknown@unknown>
2023-07-19 11:44:28 +00:00
Jacob Gadikian f0aec3f30d style: use thelper (#16777) 2023-07-03 13:33:05 +00:00
Julien Robert 8c72f66396 refactor!: remove types/math aliases (#16798) 2023-06-30 17:09:03 +00:00
Jacob Gadikian 8d4ff7a19a style: bump golangci-lint (#16667) 2023-06-23 12:49:34 +00:00
Jacob Gadikian 6afece635c style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Emmanuel T Odeke 3db9528efb chore: finish TODO of removing defunct sortJSON (#16401) 2023-06-10 08:49:11 +00:00
Matt KocubinskiandAaron Craelius bf6edae9b6 feat: custom get signers (#16340)
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2023-06-06 14:20:28 +00:00
Matt Kocubinski 737dcfd1a2 refactor!: rm GetSignBytes (#16062) 2023-05-30 19:34:35 +00:00
Aaron CraeliusandMatt Kocubinski 82659a7477 refactor!: deprecate sdk.Msg.GetSigners (#15284)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-05-25 18:35:09 +00:00
Matt KocubinskiandAaron Craelius 2f21cb5050 refactor(x/tx): use dynamicpb instead of type resolver in any marshal (#16048)
Co-authored-by: Aaron Craelius <aaron@regen.network>
2023-05-08 19:20:23 +00:00
Aaron Craelius f848e88d7e feat!: update to gogoproto 1.4.9 (#16026) 2023-05-03 21:57:26 +00:00
Aaron CraeliusandMatt Kocubinski cb1641c1b5 refactor(codec)!: update codec to x/tx v0.6.0 (#15873)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-04-28 08:13:28 +00:00
Julien Robert 1179285bf2 feat(hubl): cache bech32 prefix (#15954) 2023-04-26 16:34:56 +00:00
testinginprodandunknown unknown 295c261b18 feat(codec): Add collections value codec for interfaces. (#15898)
Co-authored-by: unknown unknown <unknown@unknown>
2023-04-24 08:34:42 +00:00
Marko 90e2a2ae89 style: linting (#15704)
## Description

closing in on completion of linting

---

### 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-06 23:25:23 +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
Aaron CraeliusandMatt Kocubinski 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
Marko 51f3e70a12 style: more linting (#15618) 2023-03-30 13:00:18 +00:00
Marko c1ea84d583 style: more linting (#15616) 2023-03-30 12:05:50 +00:00
MarkoandJulien Robert 572e657711 refactor(feegrant): remove bech32 global (#15347)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-24 22:33:34 +00:00
Aaron Craelius ecc685d428 refactor!: remove some legacy amino stuff needed for #11275 (#15299) 2023-03-15 20:10:23 +00:00
testinginprodandtestinginprod 2b7a1102ed refactor(bank): use collections for state management (#15293)
Co-authored-by: testinginprod <testinginprod@somewhere.idk>
2023-03-09 11:36:39 +00:00
testinginprod a9a9482c86 refactor(collections): move codecs to separate package and add int keys. (#15001) 2023-02-19 13:06:53 +00:00
Facundo Medica 4a6a1e3cb8 refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
Julien Robert a90569c7e4 fix: correct path required proto testdata (#14991) 2023-02-11 16:59:16 +00:00
Julien Robert c17c3caab8 refactor: rename commands to match consensus engine name (#14956) 2023-02-08 20:09:28 +00:00
Julien Robert 80dd55f79b refactor: rename to CometBFT (#14914) 2023-02-06 18:11:14 +00:00
Julien Robert 41a3dfeced refactor!: migrate Cosmos SDK to CometBFT (#14897) 2023-02-05 14:51:33 +01:00
testinginprodandtestinginprod ed17f2d437 feat: add collections key encoders and value encoders for common types. (#14760)
Co-authored-by: testinginprod <testinginprod@somewhere.idk>
2023-01-27 11:10:54 +01:00
Jacob Gadikian be8c5a09c2 chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
Marko 755c99ac44 refactor: use proto.Message instead of ProtoMarshler (#14208) 2022-12-08 19:38:38 +00:00
yihuang a9f02d9cb7 fix: add gRPC nil/zero check in query (#13352) 2022-09-29 01:20:03 +00:00
Julien Robert df40c0a9d1 refactor!: remove broadcast mode block (#12659) 2022-09-23 15:16:31 +00:00
Julien Robert 6d0ef15b0a refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
Marko e09516f479 chore: bump tendermint version (#13148) 2022-09-05 07:39:12 +00:00
Matt Kocubinski 28a7e33bc9 fix(codec): MarshalInterface should err when UnmarshalInterface will fail (#12964)
## Description

Closes: #12894 



---

### 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...

- [x] 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
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [x] 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`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] updated the relevant documentation or specification
- [x] 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)
2022-08-19 18:42:55 +00:00
0943a70215 chore: fix linting issues exposed by fixing golangci-lint (#12895)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-08-11 22:00:24 +02:00
Matt Kocubinski 137c909036 refactor: remove dependency on simapp from codec (#12530)
## Description

Closes: #12528



---

### 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/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)
2022-07-11 21:41:50 +00:00