-
Notifications
You must be signed in to change notification settings - Fork 9
relay/config: config enhancements #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
b3862c0 to
3153cd6
Compare
3153cd6 to
8749272
Compare
8749272 to
3e10fc5
Compare
relayer/txm/config.go
Outdated
| } 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 | ||
| } |
There was a problem hiding this comment.
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.
3e10fc5 to
42b0e0b
Compare
42b0e0b to
c88b88f
Compare
c88b88f to
93d1fe1
Compare
93d1fe1 to
fc17aea
Compare
| Workflow *WorkflowConfig | ||
| } | ||
|
|
||
| type TxmConfig struct { |
There was a problem hiding this comment.
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.
fc17aea to
33a1528
Compare
33a1528 to
375b828
Compare
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
375b828 to
e65e50e
Compare
No CODEOWNERS file detected - @jmank88This repository doesn't contain a CODEOWNERS file. Please add one at one of the following paths:
If this repository is owned/used by a single team the default entry for a CODEOWNERS would be: For more information see: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners |
e65e50e to
68c491b
Compare
https://smartcontract-it.atlassian.net/browse/CRE-361
Requires: