From 6fbae107624531f7745ca90242522f1aa03ce982 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:54:00 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- x/wasm/keeper/keeper_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/x/wasm/keeper/keeper_test.go b/x/wasm/keeper/keeper_test.go index 8aa8ac2f6..5cc9c3519 100644 --- a/x/wasm/keeper/keeper_test.go +++ b/x/wasm/keeper/keeper_test.go @@ -2196,7 +2196,7 @@ func defaultRepliesMsgTemplate() replierExecMsg { ReplyError: false, ReplyOnNever: false, Messages: []replierExecMsg{ - replierExecMsg{ + { MsgId: 2, SetDataInExecAndReply: true, ReturnOrderInReply: false, @@ -2204,7 +2204,7 @@ func defaultRepliesMsgTemplate() replierExecMsg { ReplyError: false, ReplyOnNever: false, Messages: []replierExecMsg{ - replierExecMsg{ + { MsgId: 3, SetDataInExecAndReply: true, ReturnOrderInReply: false, @@ -2215,7 +2215,7 @@ func defaultRepliesMsgTemplate() replierExecMsg { }, }, }, - replierExecMsg{ + { MsgId: 4, SetDataInExecAndReply: true, ReturnOrderInReply: false, @@ -2223,7 +2223,7 @@ func defaultRepliesMsgTemplate() replierExecMsg { ReplyError: false, ReplyOnNever: false, Messages: []replierExecMsg{ - replierExecMsg{ + { MsgId: 5, SetDataInExecAndReply: true, ReturnOrderInReply: false, @@ -2239,32 +2239,32 @@ func defaultRepliesMsgTemplate() replierExecMsg { } func repliesMsgTemplateReturnOrder() replierExecMsg { - var repliesMsgTemplate = defaultRepliesMsgTemplate() + repliesMsgTemplate := defaultRepliesMsgTemplate() repliesMsgTemplate.ReturnOrderInReply = true return repliesMsgTemplate } func repliesMsgTemplateReplyNever() replierExecMsg { - var repliesMsgTemplate = defaultRepliesMsgTemplate() + repliesMsgTemplate := defaultRepliesMsgTemplate() repliesMsgTemplate.Messages[1].ReplyOnNever = true return repliesMsgTemplate } func repliesMsgTemplateNoDataInResp() replierExecMsg { - var repliesMsgTemplate = defaultRepliesMsgTemplate() + repliesMsgTemplate := defaultRepliesMsgTemplate() repliesMsgTemplate.Messages[1].SetDataInExecAndReply = false return repliesMsgTemplate } func repliesMsgTemplateExecError() replierExecMsg { - var repliesMsgTemplate = defaultRepliesMsgTemplate() + repliesMsgTemplate := defaultRepliesMsgTemplate() repliesMsgTemplate.Messages[0].Messages[0].ExecError = true repliesMsgTemplate.ReturnOrderInReply = true return repliesMsgTemplate } func repliesMsgTemplateReplyError() replierExecMsg { - var repliesMsgTemplate = defaultRepliesMsgTemplate() + repliesMsgTemplate := defaultRepliesMsgTemplate() repliesMsgTemplate.Messages[0].ReplyError = true repliesMsgTemplate.ReturnOrderInReply = true return repliesMsgTemplate