Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 20, 2024
1 parent 8bb517c commit bb742b1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions x/wasm/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2196,15 +2196,15 @@ func defaultRepliesMsgTemplate() replierExecMsg {
ReplyError: false,
ReplyOnNever: false,
Messages: []replierExecMsg{
replierExecMsg{
{
MsgId: 2,
SetDataInExecAndReply: true,
ReturnOrderInReply: false,
ExecError: false,
ReplyError: false,
ReplyOnNever: false,
Messages: []replierExecMsg{
replierExecMsg{
{
MsgId: 3,
SetDataInExecAndReply: true,
ReturnOrderInReply: false,
Expand All @@ -2215,15 +2215,15 @@ func defaultRepliesMsgTemplate() replierExecMsg {
},
},
},
replierExecMsg{
{
MsgId: 4,
SetDataInExecAndReply: true,
ReturnOrderInReply: false,
ExecError: false,
ReplyError: false,
ReplyOnNever: false,
Messages: []replierExecMsg{
replierExecMsg{
{
MsgId: 5,
SetDataInExecAndReply: true,
ReturnOrderInReply: false,
Expand All @@ -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
Expand Down

0 comments on commit bb742b1

Please sign in to comment.