Skip to content

Conversation

@jmank88
Copy link
Collaborator

@jmank88 jmank88 commented Apr 7, 2025

Comment on lines 33 to 39
} else if c.ConfirmPollSecs != nil {
d, err2 := config.NewDuration(time.Duration(*c.ConfirmPollSecs) * time.Second)
if err2 != nil {
err = errors.Join(err, fmt.Errorf("ConfirmPollSecs must be a positive number: %w", err2))
}
c.ConfirmPoll = &d
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have rather used methods that return whichever is non-nil, but these field are being directly accessed right now.

Workflow *WorkflowConfig
}

type TxmConfig struct {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved (but aliased) to avoid a cycle.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this contain any more fields?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to document each of these fields. I didn't see existing docs to copy from core or anywhere else in this repo. Is there somewhere else?

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2025

No CODEOWNERS file detected - @jmank88

This repository doesn't contain a CODEOWNERS file. Please add one at one of the following paths:

  1. CODEOWNERS (root of repository)
  2. .github/CODEOWNERS

If this repository is owned/used by a single team the default entry for a CODEOWNERS would be:

* @smartcontractkit/<your team>

For more information see: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant