Skip to content

fix(workspace): disable risc0-zkvm default features to avoid ring in guest builds#482

Closed
ygd58 wants to merge 2 commits into
logos-blockchain:mainfrom
ygd58:fix/disable-risc0-zkvm-default-features-v2
Closed

fix(workspace): disable risc0-zkvm default features to avoid ring in guest builds#482
ygd58 wants to merge 2 commits into
logos-blockchain:mainfrom
ygd58:fix/disable-risc0-zkvm-default-features-v2

Conversation

@ygd58
Copy link
Copy Markdown
Contributor

@ygd58 ygd58 commented May 15, 2026

Rebased on latest main and regenerated artifacts.

Changes:

  • Cargo.toml: risc0-zkvm = { version = "3.0.5", default-features = false, features = ['std'] }
  • nssa/Cargo.toml: explicit prove feature for ExecutorEnv/default_prover/default_executor

Fixes #468

…guest builds

Add explicit prove feature to nssa which uses ExecutorEnv, default_prover.
Workspace already has default-features = false; this PR adds the nssa fix.

Fixes logos-blockchain#468
@ygd58
Copy link
Copy Markdown
Contributor Author

ygd58 commented May 15, 2026

This is a clean rebase of the previously approved PR #470. Rebased directly on latest main, artifacts regenerated with just build-artifacts. @Arjentix

@Arjentix
Copy link
Copy Markdown
Collaborator

Hey @ygd58 , I think you should have added risc0-zkvm = { version = "3.0.5", default-features = false, features = ['std'] }, but there is no such thing in this PR.

…o nssa

- Workspace Cargo.toml: disable risc0-zkvm default features (bonsai, client)
  to avoid ring cross-compile failure for riscv32im targets
- nssa/Cargo.toml: add explicit prove feature since nssa uses ExecutorEnv,
  default_prover, and default_executor which require the prove feature
- Regenerate artifacts

Fixes logos-blockchain#468
@ygd58
Copy link
Copy Markdown
Contributor Author

ygd58 commented May 15, 2026

Updated — now includes both changes:

  1. Cargo.toml: risc0-zkvm = { version = "3.0.5", default-features = false, features = ['std'] }
  2. nssa/Cargo.toml: explicit prove feature for ExecutorEnv/default_prover

Artifacts regenerated. @Arjentix

@Arjentix
Copy link
Copy Markdown
Collaborator

@ygd58 , hey, sorry for the delay. Can you rebase and rebuild artifacts again?

@ygd58
Copy link
Copy Markdown
Contributor Author

ygd58 commented May 20, 2026

Rebased on latest main (bfdc087) and regenerated artifacts with just build-artifacts. New branch: fix/disable-risc0-zkvm-default-features-v3 @Arjentix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(workspace): disable risc0-zkvm default features to avoid ring in guest builds

3 participants