Skip to content

Commit 363912c

Browse files
mergify[bot]kimurayu45zjulienrbrt
authored
fix(templates): fix simapp simulation method update->delete (backport #4421) (#4422)
* fix(templates): fix simapp simulation method update->delete (#4421) (cherry picked from commit da55a09) # Conflicts: # ignite/templates/typed/list/files/simapp/x/{{moduleName}}/simulation/{{typeName}}.go.plush * conflicts --------- Co-authored-by: KIMURA Yu <[email protected]> Co-authored-by: Julien Robert <[email protected]>
1 parent 34d4979 commit 363912c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

changelog.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44

55
### Features
66

7-
- [#4377](https://github.com/ignite/cli/pull/4377) Add multi node (validator) testnet.
7+
- [#4377](https://github.com/ignite/cli/pull/4377) Add multi node (validator) testnet
88
- [#4362](https://github.com/ignite/cli/pull/4362) Scaffold `Makefile`
99

1010
### Changes
1111

1212
- [#4376](https://github.com/ignite/cli/pull/4376) Set different chain-id for in place testnet
1313

14+
### Bug Fixes
15+
16+
- [#4421](https://github.com/ignite/cli/pull/4422) Fix typo in simulation template
17+
1418
## [`v28.5.3`](https://github.com/ignite/cli/releases/tag/v28.5.3)
1519

1620
### Changes

ignite/templates/typed/list/files/simapp/x/{{moduleName}}/simulation/{{typeName}}.go.plush

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func SimulateMsgDelete<%= TypeName.UpperCamel %>(
9696
var (
9797
simAccount = simtypes.Account{}
9898
<%= TypeName.LowerCamel %> = types.<%= TypeName.UpperCamel %>{}
99-
msg = &types.MsgUpdate<%= TypeName.UpperCamel %>{}
99+
msg = &types.MsgDelete<%= TypeName.UpperCamel %>{}
100100
all<%= TypeName.UpperCamel %> = k.GetAll<%= TypeName.UpperCamel %>(ctx)
101101
found = false
102102
)

0 commit comments

Comments
 (0)