Skip to content

Commit

Permalink
fix(templates): fix simapp simulation method update->delete (backport #…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
3 people authored Nov 22, 2024
1 parent 34d4979 commit 363912c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@

### Features

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

### Changes

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

### Bug Fixes

- [#4421](https://github.com/ignite/cli/pull/4422) Fix typo in simulation template

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

### Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func SimulateMsgDelete<%= TypeName.UpperCamel %>(
var (
simAccount = simtypes.Account{}
<%= TypeName.LowerCamel %> = types.<%= TypeName.UpperCamel %>{}
msg = &types.MsgUpdate<%= TypeName.UpperCamel %>{}
msg = &types.MsgDelete<%= TypeName.UpperCamel %>{}
all<%= TypeName.UpperCamel %> = k.GetAll<%= TypeName.UpperCamel %>(ctx)
found = false
)
Expand Down

0 comments on commit 363912c

Please sign in to comment.