Skip to content

fix(l2): fix default vk paths of deployer #4013

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

Merged
merged 1 commit into from
Aug 11, 2025
Merged

Conversation

xqft
Copy link
Contributor

@xqft xqft commented Aug 11, 2025

Motivation

Paths were invalid because now the L2 is run from the cmd/ethrex binary crate.

Integration tests were passing because the vk paths are overwritten in the L2 config, to point into the vk file that's on the container's volume root dir.

@Copilot Copilot AI review requested due to automatic review settings August 11, 2025 16:15
@xqft xqft requested a review from a team as a code owner August 11, 2025 16:15
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes invalid default paths for verification keys (VK) in the L2 deployer configuration. The paths needed updating because the L2 is now run from the cmd/ethrex binary crate instead of its previous location.

  • Updated SP1 and RISC0 verification key default paths to correctly navigate from the new binary location
  • Fixed path traversal to account for the deeper directory structure of cmd/ethrex

@github-actions github-actions bot added the L2 Rollup client label Aug 11, 2025
Copy link
Contributor

@ManuelBilbao ManuelBilbao left a comment

Choose a reason for hiding this comment

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

This will only work when used with cargo or similar (not when downloaded from releases). Approved though, since I'm addressing that problem as part of #4014

@LeanSerra LeanSerra added this pull request to the merge queue Aug 11, 2025
Merged via the queue into main with commit 48914d8 Aug 11, 2025
37 checks passed
@LeanSerra LeanSerra deleted the l2/vk_default_path branch August 11, 2025 18:17
LeanSerra pushed a commit that referenced this pull request Aug 12, 2025
**Motivation**

Paths were invalid because now the L2 is run from the `cmd/ethrex`
binary crate.

Integration tests were passing because the vk paths are overwritten in
the L2 config, to point into the vk file that's on the container's
volume root dir.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L2 Rollup client
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants