Commit Graph

10845 Commits

Author SHA1 Message Date
Aleksandr Bezobchuk
bb8663093e
docs: ADR-064 ABCI++ (2.0) (#14657)
Co-authored-by: ttl33 <19664986+ttl33@users.noreply.github.com>
2023-03-29 00:20: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
Marko
a5ad307ae6
refactor: migrate consensus to collections (#15553) 2023-03-28 20:41:12 +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
Julien Robert
eafd9ee4ea
docs: fix broken redirects (#15578)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-28 19:19:51 +00:00
Jacob Gadikian
37ba88872d
style: enable strict gofumpt (#15579) 2023-03-28 18:59:21 +00:00
Matt Kocubinski
383fed4c6d
feat(x/tx): unknown field filtering (#15557) 2023-03-28 18:01:41 +00:00
Julien Robert
22621995b5
docs: re-arrange and clarify migration docs (#15575) 2023-03-28 16:39:05 +00:00
Julien Robert
d8a6dcc647
docs(core): add documentation in error message (#15574) 2023-03-28 16:06:37 +00:00
Aleksandr Bezobchuk
ee9774af27
feat: auto-set block timestamp for historical queries (#15448) 2023-03-28 15:10:26 +00:00
Marko
f15cbac864
chore: skip rpc tests till comet fix issue with data race (#15570) 2023-03-28 14:20:27 +00:00
Facundo Medica
d29e8eb4f6
refactor!: use KVStoreService in x/auth (#15520)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-03-27 18:57:02 +00:00
dependabot[bot]
6cc4e22c2f
build(deps): Bump @docusaurus/core from 2.3.1 to 2.4.0 in /docs (#15558)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-27 17:15:24 +00:00
dependabot[bot]
9c79901120
build(deps): Bump github/issue-labeler from 3.0 to 3.1 (#15559)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 17:09:09 +00:00
Julien Robert
e783a41221
feat: carry x/gov proposal execution error message (#15554)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-03-27 16:59:14 +00:00
Marko
44b04da86f
docs: add configuration docs (#15544) 2023-03-25 13:11:32 +01:00
Marko
572e657711
refactor(feegrant): remove bech32 global (#15347)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-24 22:33:34 +00:00
Marko
443eb3d300
docs: add note on tombstoning (#15545)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-03-24 16:55:23 +01:00
Parsa Akbari
9bb9bff96f
docs: fix a typo (#15542)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-23 23:46:26 +00:00
Facundo Medica
05dcf860eb
refactor: Use CoreAPI when possible (#15496)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-23 22:40:09 +00:00
Jeancarlo Barrios
b44caab53a
feat(autocli): add json file parsing support (#15451)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-23 20:43:46 +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]
5174542a63
build(deps): Bump actions/stale from 7 to 8 (#15537)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 17:07:40 +00:00
Facundo Medica
aeb4f02645
refactor!: use KVStoreService in x/consensus (#15517) 2023-03-23 17:03:45 +00:00
Julien Robert
460bd0ad26
refactor: remove unnecessary depinject usage (#15529) 2023-03-23 16:18:41 +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
Matt Kocubinski
ba9d4df6d0
chore(math): fix changelog link (#15531)
Fixing a changelog link.
2023-03-23 14:49:21 +00:00
Matt Kocubinski
7204a5d4dd
chore: math v1.0.0 (#15530)
Update Changelog in preparation for tagging math/v1.0.0
2023-03-23 15:44:12 +01:00
Robert Zaremba
67dc594888
fix: Makefile rocksdb (#15422)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-23 09:56:48 +00:00
Marko
750d12505f
docs: remove ignite cli (#15521) 2023-03-23 10:31:39 +01:00
Facundo Medica
370acbb659
style: gofumpt everything (#15518) 2023-03-22 20:20:46 +00:00
Matt Kocubinski
4db99fc1a5
fix(math): Dec marshal shouldn't have side effects (#15506)
## Description

Ref: https://github.com/cosmos/cosmos-sdk/issues/15170
Included in: #15515 

Required to resolve a discrepancy between the sign mode being implemented in #15170 and the existing legacy one.

When calling tx builder [SetMsgs](4a6a1e3cb8/x/auth/tx/builder.go (L208)) messages are coerced to an any type in [NewAnyWithValue](4a6a1e3cb8/codec/types/any.go (L61)). This marshals a message as proto bytes. If a message has cosmos.Dec typed fields, and they are set to nil, the will be set to 0 during seriazliation in the [Dec.Marshal](88909d6f2b/math/dec.go (L801)) implementation.

This side effect *changes* the output of a JSON marshal before and after the call to Dec.Marshal, as shown below.

```go
rates := &stakingtypes.CommissionRates{}
MarshalJson(rates)
// {"rate":"0","max_rate":"0","max_change_rate":"0"}

MarshalProto(rates)

MarshalJson(rates)
//{"rate":"0.000000000000000000","max_rate":"0.000000000000000000","max_change_rate":"0.000000000000000000"}
```

An integration is test is also committed asserting the (now fixed) behavior above.  Its asserts should be changed once a release of math is made and `/tests/go.mod` is updated.



---

### 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-03-22 19:48:36 +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
dependabot[bot]
4995cd130a
build(deps): Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 (#15509)
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 17:42:29 +00:00
Julien Robert
cc2d9cc623
docs: sync release process (#15505) 2023-03-22 16:17:13 +01:00
Jeancarlo Barrios
4866d9aa2e
feat(autocli): add address validation (#15449)
## Description

Closes: #13287



---

### 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-03-22 09:56:21 +00:00
Julien Robert
c77bcc22c3
refactor: use app config configurator for removing boilerplate (#15499) 2023-03-22 07:29:33 +01:00
Facundo Medica
3a7a2645f0
fix: always reset the state for Prepare and Process Proposal (#15487)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-21 19:42:19 +00:00
dependabot[bot]
320171461f
build(deps): Bump github.com/hashicorp/go-hclog from 1.4.0 to 1.5.0 in /store (#15498)
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-21 17:31:24 +00:00
Marko
6522dd1731
chore: update to core 0.6.1 (#15497) 2023-03-21 15:53:58 +00:00
Julien Robert
46169d0bff
ci: add changelog reminder (#15459) 2023-03-21 14:44:24 +01:00
Marko
b77e51adf0
docs: add adr/rfc section to contributing (#15385)
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-03-21 12:11:56 +00:00
Marko
5680f823c5
docs: update roadmap (#15493) 2023-03-21 12:47:31 +01:00
Julien Robert
b3552f2183
test(store): skip PluginTestSuiteon non linux machine (#15488) 2023-03-21 08:49:36 +00:00
Jeancarlo Barrios
8aa0d035d8
test(math): added integer file to fix test (#15490) 2023-03-20 22:55:34 +00:00
Aleksandr Bezobchuk
0d20a1456d
docs: update mempool Select godoc (#15486) 2023-03-20 21:09:14 +00:00
dependabot[bot]
66ce346fea
build(deps): Bump github.com/hashicorp/go-getter from 1.7.0 to 1.7.1 in /x/upgrade (#15483)
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-20 17:59:28 +00:00
Julien Robert
6acd5cc26c
refactor(bank): update InputOutputCoins arguments (#15477) 2023-03-20 17:32:39 +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