Skip to content
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

Merged
merged 37 commits into from
Oct 9, 2024

Conversation

DeividasK
Copy link
Collaborator

@DeividasK DeividasK commented Sep 2, 2024

…-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
@DeividasK DeividasK changed the title Provide Oracle Factory to standard capabilities [KS-430] Provide an OracleFactory to StandardCapabilities Sep 2, 2024
…nject-the-libocr-oracle-api

# Conflicts:
#	integration-tests/go.mod
#	integration-tests/load/go.mod
UpdatedAt time.Time `toml:"-"`
Command string `toml:"command"`
Config string `toml:"config"`
OracleFactory JSONConfig `toml:"oracleFactory"`
Copy link
Contributor

@cedric-cordenier cedric-cordenier Sep 3, 2024

Choose a reason for hiding this comment

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

@DeividasK OracleFactoryConfig?

Copy link
Contributor

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()
Copy link
Contributor

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
@DeividasK DeividasK requested review from a team as code owners October 9, 2024 10:38
…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
@DeividasK DeividasK added this pull request to the merge queue Oct 9, 2024
Merged via the queue into develop with commit 5ca0d1f Oct 9, 2024
130 checks passed
@DeividasK DeividasK deleted the KS-430-build-and-inject-the-libocr-oracle-api branch October 9, 2024 16:31
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.

4 participants