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

Pull ejector out of dataapi #608

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

ian-shim
Copy link
Contributor

Why are these changes needed?

This refactor pulls ejector out of dataapi so it can be imported as a library.
The existing ejection API behavior in dataapi should remain the same.

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@ian-shim ian-shim requested review from jianoaix and dmanc June 18, 2024 23:49
@ian-shim ian-shim marked this pull request as ready for review June 18, 2024 23:58
TransactionHash string `json:"transaction_hash"`
}

type NonSignerMetric struct {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

breaking the import cycle

Copy link
Contributor

Choose a reason for hiding this comment

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

I remember this top-level folder operators was created exactly to host the ejector (in addition to churner). Now it's put in use.

operators/ejector/metrics.go Outdated Show resolved Hide resolved
@ian-shim ian-shim merged commit c5de108 into Layr-Labs:master Jun 19, 2024
6 checks passed
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.

3 participants