Commit Graph

84 Commits

Author SHA1 Message Date
Matt Kocubinski
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
dependabot[bot]
6403d76c48
build(deps): Bump google.golang.org/grpc from 1.54.0 to 1.55.0 in /errors (#16055)
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: marbar3778 <marbar3778@yahoo.com>
2023-05-08 13:04:23 +00:00
Matt Kocubinski
931fbcff5c
refactor(x/tx)!: rename aminojson.NewAminoJSON -> aminojson.NewEncoder (#16044) 2023-05-05 20:47:12 +00:00
dependabot[bot]
131f382d56
build(deps): Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1 (#16028)
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>
2023-05-04 07:07:34 +00:00
Aaron Craelius
f848e88d7e
feat!: update to gogoproto 1.4.9 (#16026) 2023-05-03 21:57:26 +00:00
Matt Kocubinski
4044a058f4
chore(x/tx): Update changelog for x/tx v0.6.2. (#16021) 2023-05-03 19:48:17 +00:00
dependabot[bot]
32680bac70
build(deps): Bump pgregory.net/rapid from 0.5.5 to 0.5.7 (#15975)
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: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-04-28 13:15:21 +00:00
Aaron Craelius
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
samricotta
e77156858f
refactor(staking, slashing, signing, misc): remove aliases from types/math.go (#15902) 2023-04-25 08:55:17 +00:00
Matt Kocubinski
7041af0f4d
feat(x/tx): API improvements (#15871) 2023-04-25 01:50:42 +00:00
dependabot[bot]
c7ed066cc2
build(deps): Bump cosmossdk.io/api from 0.4.0 to 0.4.1 in /core (#15921)
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>
2023-04-24 11:50:46 +00:00
Facundo Medica
f0018246f1
chore: signmode textual audit fixes (#15715)
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: 0000 1000 1101 0010 <96826920+08d2@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-04-23 20:49:32 +00:00
dependabot[bot]
89caf149fc
build(deps): Bump github.com/cosmos/gogoproto from 1.4.7 to 1.4.8 in /store (#15904)
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>
2023-04-21 06:37:16 +00:00
Facundo Medica
8231841a89
feat:(textual) Add bool value renderer (#15863)
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2023-04-18 15:34:44 +00:00
Amaury
0931193521
chore: Audit Textual any, coins, message (#15550)
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: 0000 1000 1101 0010 <96826920+08d2@users.noreply.github.com>
2023-04-14 22:40:42 +00:00
Matt Kocubinski
209805b36a
fix(x/tx): fix int64 usage for 32 bit platforms (#15849) 2023-04-14 19:36:20 +00:00
Emmanuel T Odeke
1c1af09b17
perf: x/tx/signing/textual: remove unnecessary,expensive regex from method (#15808)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-04-13 00:22:32 +00:00
Aaron Craelius
001c11e00d
feat!(x/tx): support validator address signers (#15709) 2023-04-12 16:33:04 +00:00
Matt Kocubinski
e342a47254
fix: test sometimes receives an error string containing unicode (#15791) 2023-04-11 18:40:54 +00:00
Likhita Polavarapu
fb257ae9d9
feat: add Context as arg to NewIntegrationApp (#15779)
## Description

Closes: #XXXX

This PR adds `sdk.Context` arg to `NewIntegrationApp`. This allows us to set the context updatable while verifying `begin/end block` logic in integration tests.

---

### 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-11 14:55:55 +00:00
Matt Kocubinski
f8e2d984b2
feat(x/tx): tx decoder (#15414)
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2023-04-10 21:39:59 +00:00
Mark Rushakoff
4cb71ceb6e
style!: lint fixes for x/tx (#15748) 2023-04-10 17:55:06 +00:00
Emmanuel T Odeke
eb52f03acb
fix: x/tx/signing/textual: use standardized Timestamp+Duration comparators in tests (#15762) 2023-04-10 00:12:44 +02:00
Mark Rushakoff
e24472f9ac
style!: rename direct_aux package to directaux (#15742) 2023-04-07 18:08:31 +00:00
Emmanuel T Odeke
7c068afa6f
fix: x/tx/signing/textual/IntValueRenderer.Parse: gracefully handle "" + fuzz (#15730)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-04-07 14:19:38 +00:00
dependabot[bot]
ee70c1475d
build(deps): Bump cosmossdk.io/api from 0.3.1 to 0.4.0 in /core (#15734)
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>
2023-04-07 12:07:07 +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
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
Matt Kocubinski
5e90819765
feat(x/tx): legacy amino json sign mode handler (#15515) 2023-04-03 16:13:45 -04: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
dependabot[bot]
f3110e9d53
build(deps): Bump github.com/cosmos/gogoproto from 1.4.6 to 1.4.7 (#15617)
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-03-30 11:05:17 +02:00
Marko
1f2875d445
style: gofumpt linting (#15605) 2023-03-30 06:27:38 +00:00
Aaron Craelius
0b0db0867c
fix(x/tx)!: unexpected cast of interface to concrete type in GetSignersContext (#15581) 2023-03-28 22:55:52 +00:00
dependabot[bot]
58634628b3
build(deps): Bump cosmossdk.io/x/tx from 0.3.1-0.20230321155358-6522dd1731b5 to 0.4.0 (#15583)
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-03-28 20:06:08 +00:00
Matt Kocubinski
383fed4c6d
feat(x/tx): unknown field filtering (#15557) 2023-03-28 18:01:41 +00:00
dependabot[bot]
07415a5d78
build(deps): Bump cosmossdk.io/core from 0.6.1-0.20230309163709-87da587416ba to 0.6.1 in /x/tx (#15538)
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-03-23 18:53:26 +00:00
dependabot[bot]
ae8bd416a3
build(deps): Bump cosmossdk.io/math from 1.0.0-rc.0 to 1.0.0 (#15532)
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>
2023-03-23 15:44:09 +00:00
Facundo Medica
370acbb659
style: gofumpt everything (#15518) 2023-03-22 20:20:46 +00:00
dependabot[bot]
d53b29b1d1
build(deps): Bump google.golang.org/grpc from 1.53.0 to 1.54.0 (#15511)
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-03-22 19:01:51 +00:00
Robert Zaremba
5612bb815b
docs: improve proto vesting docs about time attributes (#15474)
## Description

Added a little bit more comments to note about the meaning / type of the numeric time values.

When I'm creating the vesting accounts, I always have to  double check it, and end up looking at the code.
2023-03-20 16:40:19 +00:00
Amaury
a8dceddad9
docs(adr): Add Textual SpecVersion (#15270) 2023-03-20 15:56:26 +00:00
Amaury
897ef64712
feat: Validate Msg proto annotations (#13793)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-20 16:27:36 +01:00
Amaury
124aed4b28
feat(x/tx): Support gogo registry in Textual (#15302) 2023-03-20 08:13:27 +00:00
dependabot[bot]
8f54a47607
build(deps): Bump google.golang.org/protobuf from 1.29.1 to 1.30.0 (#15425)
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-03-16 19:21:24 +00:00
Matt Kocubinski
4a35885fb7
feat(x/tx): implement SIGN_MODE_DIRECT_AUX handler (#15380)
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2023-03-16 10:29:41 +00:00
Aaron Craelius
46e4b28dad
refactor(x/tx)!: switch to interface in GetSignersContextOptions (#15413) 2023-03-15 21:40:39 +00:00
dependabot[bot]
1cc0080bda
build(deps): Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (#15392)
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>
2023-03-14 16:35:27 +00:00
Amaury
a539a0331e
docs(adr): Change Textual SignDoc to struct (#15282) 2023-03-14 11:18:40 +01:00
dependabot[bot]
2e5f6f3b4e
build(deps): Bump cosmossdk.io/math from 1.0.0-beta.6.0.20230216172121-959ce49135e4 to 1.0.0-rc.0 (#15370)
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-03-13 15:38:47 +01:00
dependabot[bot]
7e56d5e06b
build(deps): Bump deps and remove replaces (#15335)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-09 18:46:15 +01:00