Skip to content

Commit db3df12

Browse files
authored
Merge branch 'main' into feat/remove-unused-placeholder-vars
2 parents 9c6a62c + c7a4bc2 commit db3df12

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@
5151
- [#4384](https://github.com/ignite/cli/pull/4384) Compare genesis params into chain genesis tests
5252
- [#4463](https://github.com/ignite/cli/pull/4463) Run `chain simulation` with any simulation test case
5353
- [#4533](https://github.com/ignite/cli/pull/4533) Promote GitHub codespace instead of Gitpod
54+
- [#4549](https://github.com/ignite/cli/pull/4549) Remove unused placeholder vars
5455

5556
### Fixes
5657

5758
- [#4000](https://github.com/ignite/cli/pull/4000) Run all dry runners before the wet run in the `xgenny` pkg
5859
- [#4091](https://github.com/ignite/cli/pull/4091) Fix race conditions in the plugin logic
5960
- [#4128](https://github.com/ignite/cli/pull/4128) Check for duplicate proto fields in config
6061
- [#4402](https://github.com/ignite/cli/pull/4402) Fix gentx parser into the cosmosutil package
61-
- [#4549](https://github.com/ignite/cli/pull/4549) Remove unused placeholder vars
62+
- [#4552](https://github.com/ignite/cli/pull/4552) Avoid direct access to proto field `perms.Account` and `perms.Permissions`
6263

6364
## [`v28.8.1`](https://github.com/ignite/cli/releases/tag/v28.8.1)
6465

ignite/services/plugin/template/go.mod.plush

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ require (
99
)
1010

1111
replace github.com/ignite/cli/v29 => github.com/ignite/cli/v29 main
12-
replace github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.52.0-rc.2.0.20250127135924-c9d68e4322bb
12+
replace github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.50.12

ignite/templates/app/files-minimal/app/app.go.plush

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig
218218
func GetMaccPerms() map[string][]string {
219219
dup := make(map[string][]string)
220220
for _, perms := range moduleAccPerms {
221-
dup[perms.Account] = perms.Permissions
221+
dup[perms.GetAccount()] = perms.GetPermissions()
222222
}
223223

224224
return dup

ignite/templates/app/files/app/app.go.plush

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig
275275
func GetMaccPerms() map[string][]string {
276276
dup := make(map[string][]string)
277277
for _, perms := range moduleAccPerms {
278-
dup[perms.Account] = perms.Permissions
278+
dup[perms.GetAccount()] = perms.GetPermissions()
279279
}
280280

281281
return dup

0 commit comments

Comments
 (0)