Skip to content

Commit 269dfa1

Browse files
chore: add TODO for other commands
1 parent a697518 commit 269dfa1

File tree

6 files changed

+28
-2
lines changed

6 files changed

+28
-2
lines changed

cmd/account/link_key/link_key.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,11 @@ func (h *handler) linkOwner(resp initiateLinkingResponse) error {
327327
fmt.Println("")
328328
fmt.Printf(" %x\n", txOut.RawTx.Data)
329329
fmt.Println("")
330+
331+
case client.Changeset:
332+
// TODO: implement changeset handling
333+
fmt.Println("Changeset output type is not yet implemented")
334+
330335
default:
331336
h.log.Warn().Msgf("Unsupported transaction type: %s", txOut.Type)
332337
}

cmd/account/unlink_key/unlink_key.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ func (h *handler) unlinkOwner(owner string, resp initiateUnlinkingResponse) erro
285285
fmt.Println("")
286286
fmt.Printf(" %s\n", resp.TransactionData)
287287
fmt.Println("")
288+
289+
case client.Changeset:
290+
// TODO: implement changeset handling
291+
fmt.Println("Changeset output type is not yet implemented")
292+
288293
default:
289294
h.log.Warn().Msgf("Unsupported transaction type: %s", txOut.Type)
290295
}

cmd/secrets/common/handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ func (h *Handler) ValidateInputs(inputs UpsertSecretsInputs) error {
173173
}
174174

175175
// TODO: use TxType interface
176+
// TODO: implement changeset handling
176177
func (h *Handler) PackAllowlistRequestTxData(reqDigest [32]byte, duration time.Duration) (string, error) {
177178
contractABI, err := abi.JSON(strings.NewReader(workflow_registry_wrapper_v2.WorkflowRegistryMetaData.ABI))
178179
if err != nil {

cmd/workflow/activate/activate.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ func (h *handler) Execute() error {
196196
fmt.Println("")
197197
fmt.Printf(" %x\n", txOut.RawTx.Data)
198198
fmt.Println("")
199+
200+
case client.Changeset:
201+
// TODO: implement changeset handling
202+
fmt.Println("Changeset output type is not yet implemented")
203+
199204
default:
200205
h.log.Warn().Msgf("Unsupported transaction type: %s", txOut.Type)
201206
}

cmd/workflow/delete/delete.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ func (h *handler) Execute() error {
208208
fmt.Println("")
209209
fmt.Printf(" %x\n", txOut.RawTx.Data)
210210
fmt.Println("")
211+
212+
case client.Changeset:
213+
// TODO: implement changeset handling
214+
fmt.Println("Changeset output type is not yet implemented")
215+
211216
default:
212217
h.log.Warn().Msgf("Unsupported transaction type: %s", txOut.Type)
213218
}

cmd/workflow/pause/pause.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ func (h *handler) Execute() error {
197197
fmt.Println("")
198198
fmt.Printf(" %x\n", txOut.RawTx.Data)
199199
fmt.Println("")
200+
201+
case client.Changeset:
202+
// TODO: implement changeset handling
203+
fmt.Println("Changeset output type is not yet implemented")
204+
200205
default:
201206
h.log.Warn().Msgf("Unsupported transaction type: %s", txOut.Type)
202207
}
@@ -205,8 +210,8 @@ func (h *handler) Execute() error {
205210

206211
func fetchAllWorkflows(
207212
wrc interface {
208-
GetWorkflowListByOwnerAndName(owner common.Address, workflowName string, start, limit *big.Int) ([]workflow_registry_v2_wrapper.WorkflowRegistryWorkflowMetadataView, error)
209-
},
213+
GetWorkflowListByOwnerAndName(owner common.Address, workflowName string, start, limit *big.Int) ([]workflow_registry_v2_wrapper.WorkflowRegistryWorkflowMetadataView, error)
214+
},
210215
owner common.Address,
211216
name string,
212217
) ([]workflow_registry_v2_wrapper.WorkflowRegistryWorkflowMetadataView, error) {

0 commit comments

Comments
 (0)