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

fix: improved error handling and build configuration in lib.rs #306

Closed
wants to merge 1 commit into from

Conversation

DeVikingMark
Copy link

Description

This PR enhances the architecture and reliability of the build process in lib.rs:

  • Added the ZKVM_TAG_VERSION constant for centralized management of the zkVM version.
  • Introduced the BuildConfig structure for more flexible build process configuration.
  • Improved error handling in build_zkvm_program using Result.
  • Added informative error logging for zkVM program builds.
  • Removed outdated commented-out code.

Motivation

  • Improved code maintainability.
  • More robust error handling.
  • Simplified version update process.
  • Adherence to Rust best practices.

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.

2 participants