Commit Graph
10799 Commits
Author SHA1 Message Date
dependabot[bot]andgithub-actions 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
AmauryandMarko 897ef64712 feat: Validate Msg proto annotations (#13793)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-20 16:27:36 +01:00
Marko 176c61cf70 feat: add delegator to withdraw address (#15462) 2023-03-20 14:43:07 +00:00
AmauryandFacundo Medica a4a3c81d11 feat(client): Add cobra's context to clientCtx (#15458)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-03-20 14:14:58 +00:00
Robert Zaremba f4a6feb9d4 fix: flaky group genesis sim (#15447) 2023-03-20 10:33:58 +00:00
Amaury 124aed4b28 feat(x/tx): Support gogo registry in Textual (#15302) 2023-03-20 08:13:27 +00:00
Puneet bf85bfbf4d refactor: Rename clientCtx to ctx in distr params.go (#15453) 2023-03-19 13:22:41 +00:00
Marko ac345ce694 refactor: evidence make equivocation private (#15420) 2023-03-17 17:20:32 +00:00
dependabot[bot]andgithub-actions 518f8a2bf0 build(deps): Bump cosmossdk.io/store from 0.0.0-20230314205129-d50cb1ef349f to 0.1.0-alpha.1 (#15444)
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-17 15:20:57 +00:00
Julien Robert 3894b283a1 chore: fix changelog due to previous PR (#15446) 2023-03-17 15:46:56 +01:00
8944ab6781 feat!: limit the length of key/value (#14645)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-17 14:15:13 +00:00
44ed13dff7 chore: update store iavl with changesets (#15432)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-17 13:28:58 +00:00
Marko a6bc49afab chore: remove add pr to project ci job. (#15439) 2023-03-17 11:01:17 +00:00
Marko a4e592ee43 docs: RFC 001 tx validation (#15363)
## Description

This pr is meant to capture a conversation in slack and propose it to the community. The updated flow reduces boilerplate code and decreases the amount of duplicated validations happening. 

---

### 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-17 10:58:36 +00:00
Marko 5caa5fc499 docs: update cosmwasm link (#15438) 2023-03-17 11:54:37 +01:00
Julien Robert 1a1536aa8e refactor: remove unnecessary modules methods (#15436) 2023-03-17 11:47:08 +01:00
dependabot[bot] 2c75a5fa63 build(deps): Bump cosmossdk.io/x/tx from 0.2.3-0.20230309163709-87da587416ba to 0.3.0 (#15427) 2023-03-16 20:15:40 +00:00
dependabot[bot]andgithub-actions 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
dependabot[bot] a22a0c8352 build(deps): Bump amannn/action-semantic-pull-request from 5.1.0 to 5.2.0 (#15423)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 18:03:51 +01:00
Aleksandr BezobchukandMarko 8928ea1066 docs: ADR-065 Store V2 (#15028)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-16 10:24:10 -04:00
Matt KocubinskiandAmaury 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
Julien Robert c254d0c608 docs: update buf tag (#15416) 2023-03-16 09:51:55 +01:00
dependabot[bot]andgithub-actions 5485fb0c87 build(deps): Bump github.com/grpc-ecosystem/go-grpc-middleware from 1.3.0 to 1.4.0 (#15406)
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-15 22:31:50 +00:00
Aaron Craelius 46e4b28dad refactor(x/tx)!: switch to interface in GetSignersContextOptions (#15413) 2023-03-15 21:40:39 +00:00
Aaron Craelius ecc685d428 refactor!: remove some legacy amino stuff needed for #11275 (#15299) 2023-03-15 20:10:23 +00:00
dependabot[bot] 988a71b5ea build(deps): Bump actions/setup-go from 3 to 4 (#15405)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 17:47:28 +00:00
Facundo Medica 7fbb8223bd feat: Add VoteInfos to context in BeginBlock (#15403) 2023-03-15 17:11:20 +00:00
Aleksandr Bezobchuk 1c31e98903 refactor: Use Custom Priority in Priority Nonce Mempool (#15328) 2023-03-15 16:29:54 +00:00
Julien Robert a53aee4eea chore: clean-up after go-plugin system pr (#15402) 2023-03-14 23:03:48 +00:00
Aaron Craelius d50cb1ef34 refactor: hardcode legacy amino endpoint e2e test data (#15397) 2023-03-14 16:51:29 -04:00
cipherZandJulien Robert 825245db1b docs: replace Tendermint references in docs with CometBFT (#15339)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-14 20:41:35 +01:00
Julien Robert 40c4bf0fe6 ci: disable sonarcloud on forks (#15400) 2023-03-14 20:05:41 +01:00
6f3f2c9b16 refactor!: ADR-038 go-plugin system (#14207)
Co-authored-by: HuangYi <huang@crypto.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
2023-03-14 18:09:30 +00:00
Julien Robert e2037f7696 chore: sync main changelog (#15396) 2023-03-14 18:45:24 +01:00
dependabot[bot] 560548a093 build(deps): Bump webpack from 5.74.0 to 5.76.1 in /docs (#15394)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 18:13:43 +01:00
dependabot[bot]andgithub-actions 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
Marko 61cc23fc76 docs: update roadmap (#15391) 2023-03-14 16:10:20 +01:00
Julien Robert a392bae9b8 docs: fix ordering (#15387) 2023-03-14 14:00:19 +01:00
samricotta 3513c5dfc2 docs: create autocli documentation (#15353)
Closes: [#15351 ](https://github.com/cosmos/cosmos-sdk/issues/15351)

Adds autocli documentation and achieves the following:

- [x] Add a guide as to how to implement
- [x] Examples
- [x] Explanation of the issue it resolves

---

### 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-14 12:14:11 +00:00
Amaury a539a0331e docs(adr): Change Textual SignDoc to struct (#15282) 2023-03-14 11:18:40 +01:00
Facundo Medica 0282cfe71e test: regression test on VotingPeriodProposalKey deletion (#15368)
## Description

Follow up to #15356 adding a test in which we activate the voting period, delete the proposal and try to vote in the deleted proposal (this vote would have passed before and now it gets rejected).



---

### 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-14 09:40:23 +00:00
Julien Robert 721c24a1ae fix: add extra check in vesting (#15373)
## 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-03-14 09:18:12 +00:00
e90271aca2 feat: add MsgCancelUnbondingDelegation to Staking Authorization (#15164)
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-13 22:28:20 +00:00
Facundo Medica 5a7b442f14 fix: sims after merging #15303 (#15379) 2023-03-13 19:28:01 +00:00
dependabot[bot] 0862d6f3e2 build(deps): Bump autoprefixer from 10.4.13 to 10.4.14 in /docs (#15375)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 19:05:17 +00:00
Jeancarlo Barrios e30f2e8907 fix(autocli): Fix subcmd added to root cmd (#15378) 2023-03-13 18:18:27 +00:00
Facundo Medica 6a03586074 fix: remove previous header in Prepare/Process Proposal + provide chain id in baseapp + fix context for verifying txs (#15303)
## Description

### Issue
Some values (like chain ID) were being leaked from the previous block/initialization into PrepareProposal and ProcessProposal, these values are only available if:
1. The node has never been stopped since the genesis block (as these values are set on `InitChain`)
2. The node has already commited a block (as the previous header was being used for the new state of prepare and process proposal).

So if a node is restarted, during the first prepare and process proposal these values won't be populated, and that will cause issues if they are being used.

### Solution

Remove any previous header information from a previous block in the prepare and process proposal contexts, making things consistent at every height.

- Added ChainID to baseapp
- Use an empty header in Commit() with only the chain id set
- Fix context for prepare and process proposal

Closes: #15269



---

### 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-13 17:15:39 +00:00