Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cre/changesets/workflow_deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ func (CREWorkflowDeployChangeset) Apply(e cldf.Environment, input creops.CREWork
EVMDeployerKey: envCfg.Onchain.EVM.DeployerKey,
}

report, err := fwops.ExecuteOperation(e.OperationsBundle, creops.CREWorkflowDeployOp, deps, input)
report, err := fwops.ExecuteOperation[creops.CREWorkflowDeployInput, creops.CREWorkflowDeployOutput, creops.CREDeployDeps](
e.OperationsBundle,
creops.CREWorkflowDeployOp,
deps,
input,
)
out := cldf.ChangesetOutput{
Reports: []fwops.Report[any, any]{report.ToGenericReport()},
}
Expand Down
3 changes: 2 additions & 1 deletion cre/operations/workflow_deploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ func TestCREWorkflowDeployOp(t *testing.T) {
CRECfg: cfgenv.CREConfig{},
}

out, err := fwops.ExecuteOperation(bundle, CREWorkflowDeployOp, deps, tc.input(t))
out, err := fwops.ExecuteOperation[CREWorkflowDeployInput, CREWorkflowDeployOutput, CREDeployDeps](
bundle, CREWorkflowDeployOp, deps, tc.input(t))
Comment thread
ajaskolski marked this conversation as resolved.
tc.assert(t, out, err)
})
}
Expand Down
Loading