-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[KS-430] Provide an OracleFactory to StandardCapabilities #14305
[KS-430] Provide an OracleFactory to StandardCapabilities #14305
Conversation
…-api # Conflicts: # core/scripts/go.mod # core/scripts/go.sum # go.mod # go.sum # integration-tests/go.mod # integration-tests/go.sum # integration-tests/load/go.mod # integration-tests/load/go.sum
…nject-the-libocr-oracle-api # Conflicts: # integration-tests/go.mod # integration-tests/load/go.mod
core/services/job/models.go
Outdated
UpdatedAt time.Time `toml:"-"` | ||
Command string `toml:"command"` | ||
Config string `toml:"config"` | ||
OracleFactory JSONConfig `toml:"oracleFactory"` |
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.
@DeividasK OracleFactoryConfig?
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.
Can we put a comment here to document where we define what's expected in OracleConfig?
@@ -67,8 +78,38 @@ func (d *Delegate) ServicesForSpec(ctx context.Context, spec job.Job) ([]job.Ser | |||
return nil, fmt.Errorf("failed to create relayer set: %w", err) | |||
} | |||
|
|||
keyBundles, err := d.ocrKs.GetAll() |
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'm not 100% certain this will work, but we can try it
…nject-the-libocr-oracle-api # Conflicts: # core/scripts/go.mod # core/scripts/go.sum # core/services/chainlink/application.go # core/services/standardcapabilities/delegate.go # core/services/workflows/engine.go # go.mod # go.sum # integration-tests/go.mod # integration-tests/go.sum # integration-tests/load/go.mod # integration-tests/load/go.sum
…nject-the-libocr-oracle-api # Conflicts: # core/scripts/go.mod # core/scripts/go.sum # core/services/workflows/engine.go # go.mod # go.sum # integration-tests/go.mod # integration-tests/go.sum # integration-tests/load/go.mod # integration-tests/load/go.sum
…nject-the-libocr-oracle-api
…nject-the-libocr-oracle-api # Conflicts: # core/scripts/go.sum # go.mod # go.sum # integration-tests/go.mod # integration-tests/go.sum # integration-tests/load/go.sum
Quality Gate passedIssues Measures |
Depends on