Skip to content

Commit

Permalink
fix(templates): fix simapp simulation method update->delete (#4421)
Browse files Browse the repository at this point in the history
(cherry picked from commit da55a09)

# Conflicts:
#	ignite/templates/typed/list/files/simapp/x/{{moduleName}}/simulation/{{typeName}}.go.plush
  • Loading branch information
kimurayu45z authored and mergify[bot] committed Nov 22, 2024
1 parent 34d4979 commit 37becbb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,12 @@ func SimulateMsgDelete<%= TypeName.UpperCamel %>(
var (
simAccount = simtypes.Account{}
<%= TypeName.LowerCamel %> = types.<%= TypeName.UpperCamel %>{}
<<<<<<< HEAD
msg = &types.MsgUpdate<%= TypeName.UpperCamel %>{}
all<%= TypeName.UpperCamel %> = k.GetAll<%= TypeName.UpperCamel %>(ctx)
=======
msg = &types.MsgDelete<%= TypeName.UpperCamel %>{}
>>>>>>> da55a095 (fix(templates): fix simapp simulation method update->delete (#4421))
found = false
)
for _, obj := range all<%= TypeName.UpperCamel %> {
Expand Down

0 comments on commit 37becbb

Please sign in to comment.