Commit Graph

292 Commits

Author SHA1 Message Date
Alex | Interchain Labs
7fd79df4e1
chore: fix all linting (#24101) 2025-03-21 15:04:36 -07:00
Alex | Interchain Labs
98f0f76e73
chore: lint fixes (#24084) 2025-03-20 16:20:39 -04:00
Hoang Do
3ac5b7c912
feat(genutil): Allow manually setting the consensus key type in genesis (#24018)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-17 17:32:39 -04:00
mergify[bot]
1cf0c517a2
fix: using t.TempDir() to simplify test temp dir manager (backport #23893) (#23917)
Co-authored-by: petersssong <petersssong@proton.me>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-06 13:32:20 -05:00
Alex | Interchain Labs
d811f92100
test: fix genutil test (#23748) 2025-02-24 17:05:40 -05:00
Alex | Interchain Labs
c2ec9f795c
chore: remove crisis from simapp and deprecate (#23722) 2025-02-24 08:48:52 -05:00
Alex | Interchain Labs
f5e8e517ab
chore: set up release/v0.53.x branch (#23660)
Co-authored-by: Zygimantas <5236121+Zygimantass@users.noreply.github.com>
Co-authored-by: Zygimantas <zygis@skip.build>
2025-02-12 15:48:20 -05:00
mergify[bot]
b57ce4d19b
docs(x/genutil): fix genesis migrate command examples (backport #22090) (#22097)
Co-authored-by: tutufen <tutufen@outlook.com>
2024-10-03 14:30:18 +02:00
mergify[bot]
f78ed4997f
feat(x/genutil): add better error messages for genesis validation (backport #21701) (#21708)
Co-authored-by: Eric Mokaya <4112301+ziscky@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-09-13 12:43:39 +02:00
mergify[bot]
c8aec4d15e
feat(x/genutil): bulk add genesis accounts (backport #21372) (#21544)
Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com>
Co-authored-by: Reece Williams <reecepbcups@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-04 19:27:47 +00:00
mergify[bot]
d8957530a5
perf: parse chain-id from big genesis file could be slow (backport #18204) (#18267)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-26 12:46:39 +02:00
mergify[bot]
32969cf7cc
refactor: precise compiler assertions and cleanup module.go (backport #17718) (#17724)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-13 19:08:56 +00:00
mergify[bot]
0996c19055
docs: add genesis changes in upgrading.md (backport #17596) (#17598)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-31 16:05:36 +02:00
mergify[bot]
013889de23
refactor: introduce abciGenesis interface (backport #17554) (#17575)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-08-31 13:05:57 +02:00
mergify[bot]
6e68abc2ae
feat(x/genutil): Allow creation of AppGenesis without a file lookup (backport #17571) (#17573)
Co-authored-by: Cian Hatton <cianhatton@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-29 17:22:47 +02:00
mergify[bot]
6e075c5ced
refactor: add MigrateHandler to allow reuse migrate genesis related function (backport #17296) (#17299)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-07 08:32:18 +00:00
mergify[bot]
eba0b9e9c2
refactor: hide --output flags that don't work (backport #17188) (#17191)
Co-authored-by: zakir-code <80246097+zakir-code@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-30 00:09:49 +00:00
mergify[bot]
46be66ed42
refactor: remove global valaddress bech32 codec calls (1/2) (backport #17098) (#17149)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-27 00:55:11 +02:00
mergify[bot]
df8ba7e8ac
feat!: simplify AppModuleBasic interface for CLI (backport #16890) (#16904)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-10 14:11:53 +00:00
mergify[bot]
deb85fdefe
refactor(genutil): audit (backport #16818) (#16819)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-03 15:21:32 +02:00
mergify[bot]
c256d51915
chore: Fix changelog issue reference (backport #16765) (#16782)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-06-30 07:56:42 +00:00
mergify[bot]
979c5d7e6b
refactor(vesting)!: improve validate functions and return error in constructor (backport #16741) (#16763)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-29 13:16:40 +00:00
Julien Robert
c452721442
style: add gci linter (#16758)
Co-authored-by: Jacob Gadikian <faddat@users.noreply.github.com>
2023-06-29 09:46:37 +00:00
mergify[bot]
9f7a16080a
refactor(x/staking)!: KVStoreService, return errors and use context.Context (backport #16324) (#16598)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
2023-06-19 11:40:27 -03:00
mergify[bot]
e5d9bb5475
chore: finish removing all exported *SortJSON usages (backport #16497) (#16502)
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-12 15:19:42 +02:00
Matt Kocubinski
e169374eb4
refactor: remove dependencies x/auth -> x/genutil, x/gov (#16423) 2023-06-06 15:31:25 +00:00
Devon Bear
95178ce036
feat(genutil): Add module account at genesis. (#16046)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-06-03 14:35:50 +00:00
Julien Robert
cf1a573679
chore: set correct eden version number (#16281) 2023-05-24 19:58:45 +00:00
Marko
571c13ea84
refactor(bank): migrate bech32 encoding (#15567) 2023-05-24 17:03:43 +00:00
Aleksandr Bezobchuk
6cee22df52
feat!: Comet v0.38 Integration (#15519)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-24 16:09:19 +00:00
Likhita Polavarapu
96730a5f2b
test(genutil): remove duplicate tests from genutil integration tests (#16034) 2023-05-04 15:00:10 +00:00
Marko
d31f2964b0
feat!: Define Genesis state transition (#15999) 2023-05-03 08:58:58 +00:00
Julien Robert
16e940df55
chore: rename comet logger wrapper (#15983) 2023-04-28 14:36:09 +00:00
Julien Robert
c0eade17fe
test: fix module cli tests (#15882) 2023-04-19 14:24:07 +00:00
samricotta
e2c91fc1d7
refactor(genutil,group,mint): remove aliases from types/math.go (#15824)
## Description

Closes part of: https://github.com/cosmos/cosmos-sdk/issues/14405



---

### 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-13 12:34:47 +00:00
Julien Robert
df161c214c
feat: optional validate basic (#15735) 2023-04-07 13:13:15 +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
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
Julien Robert
c1974e4b3c
refactor: remove cometbft/libs/cli import (#15673) 2023-04-03 14:48:02 +00:00
Marko
51f3e70a12
style: more linting (#15618) 2023-03-30 13:00:18 +00:00
Marko
a5ad307ae6
refactor: migrate consensus to collections (#15553) 2023-03-28 20:41:12 +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
Marko
ccdd07ff7d
refactor: remove capability module (#15344) 2023-03-10 12:59:10 +00:00
Marko
fafe04bef5
chore: remove requirement on user ips (#15316) 2023-03-08 22:44:01 +00:00
Julien Robert
5d559dd265
feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
Till Ziegler
b53be683b6
feat: add --initial-height flag to cli init cmd (#15147) 2023-02-24 15:26:40 +01:00
Jayden Lee
c71d19939b
fix: change the behavior of offline mode correctly (#15123)
## Description
Closes: #15109 

Change to work only when `FlagAccountNumber` and `FlagSequence` are in offline mode. In other cases, use `AccountRetriever` to populate those values.



---

### 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-02-23 10:03:20 +00:00
Julien Robert
832517befc
feat: add application genesis (#15031) 2023-02-22 10:29:03 +00:00
Julien Robert
067ee92d4d
refactor: simply errors (#15067) 2023-02-20 12:03:40 +00:00
Facundo Medica
4a6a1e3cb8
refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00