Skip to content

fix: rename lazer to pro-compatible for pro compatible core contracts#3727

Merged
guibescos merged 2 commits into
mainfrom
rename
May 19, 2026
Merged

fix: rename lazer to pro-compatible for pro compatible core contracts#3727
guibescos merged 2 commits into
mainfrom
rename

Conversation

@guibescos
Copy link
Copy Markdown
Contributor

@guibescos guibescos commented May 19, 2026

Summary

Rename lazer to pro-compatible when lazer refers to the new deployment of Core contracts that's compatible with Pro. This is a mechanical change.

Rationale

lazer is overloaded and used broadly in this repo to refer to using Pyth Pro (with the new data format and new set of contracts).

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-reference Ready Ready Preview, Comment May 19, 2026 5:31pm
component-library Ready Ready Preview, Comment May 19, 2026 5:31pm
developer-hub Ready Ready Preview, Comment May 19, 2026 5:31pm
entropy-explorer Ready Ready Preview, Comment May 19, 2026 5:31pm
insights Ready Ready Preview, Comment May 19, 2026 5:31pm
proposals Ready Ready Preview, Comment May 19, 2026 5:31pm
staking Ready Ready Preview, Comment May 19, 2026 5:31pm

Request Review

Comment thread .pre-commit-config.yaml
name: Cargo clippy for Lazer
language: "rust"
entry: cargo clippy -p pyth-lazer-protocol -p pyth-lazer-client -p pyth-lazer-publisher-sdk --all-targets -- --deny warnings
pass_filenames: false
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

these packages are not in the repo anymore

@guibescos guibescos changed the title go fix: rename lazer to pro-compatible for pro compatible core contracts May 19, 2026
@guibescos guibescos marked this pull request as ready for review May 19, 2026 17:44
@guibescos guibescos requested review from a team as code owners May 19, 2026 17:44
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 4 potential issues.

🐛 2 issues in files not directly in the diff

🐛 Move lock files reference non-existent wormhole_lazer directory after rename to wormhole_simple_majority (target_chains/sui/contracts/Move.pro_compatible.sui_mainnet.lock:27)

The .toml files were correctly updated to reference ../vendor/wormhole_simple_majority/wormhole, but the corresponding .lock files still contain the old path ../vendor/wormhole_lazer/wormhole. Since the directory target_chains/sui/vendor/wormhole_lazer/ was renamed to target_chains/sui/vendor/wormhole_simple_majority/ in this PR, the lock files now point to a path that no longer exists. This will cause Sui Move builds using these lock files to fail when resolving the Wormhole dependency.


🐛 Move lock file (testnet) references non-existent wormhole_lazer directory after rename (target_chains/sui/contracts/Move.pro_compatible.sui_testnet.lock:27)

Same issue as the mainnet lock file: Move.pro_compatible.sui_testnet.lock still references ../vendor/wormhole_lazer/wormhole on line 27, but this directory was renamed to ../vendor/wormhole_simple_majority/wormhole. Builds targeting the Sui testnet pro-compatible deployment will fail.

View 1 additional finding in Devin Review.

Open in Devin Review

Comment thread target_chains/solana/sdk/js/pyth_solana_receiver/src/index.ts
Comment thread .pre-commit-config.yaml
@guibescos guibescos merged commit 0742fd3 into main May 19, 2026
17 checks passed
@guibescos guibescos deleted the rename branch May 19, 2026 18:11
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