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

feat(host): refactor kona-host into library #361

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

zobront
Copy link
Contributor

@zobront zobront commented Jul 9, 2024

Description

It is useful to be able to access the functionality of kona-host from an outside crate, so that projects leveraging kona can invoke it within their flow. For example, in the ZK context, we use kona-host out of the box in our witness generation step.

This PR moves the core kona-host functionality into a library, and refactors main.rs to use this library.

Tests

N/A - existing tests should ensure that this is safe.

Additional context

N/A

Metadata

N/A

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.8%. Comparing base (a4ae5f5) to head (d5e487d).

Additional details and impacted files

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zobront zobront changed the title feat(host): refactor kona-host to include library feat(host): refactor kona-host into library Jul 9, 2024
Copy link
Collaborator

@refcell refcell left a comment

Choose a reason for hiding this comment

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

This looks good, nice work.

@refcell refcell added this pull request to the merge queue Jul 23, 2024
@refcell refcell added the A-host Area: host binary label Jul 23, 2024
@refcell refcell added this to the Phase 3: Kona Client & Host milestone Jul 23, 2024
Merged via the queue into op-rs:main with commit 08b0b59 Jul 23, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-host Area: host binary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants