Skip to content

DEVREL-1154 feat(create-lz-oapp): update labels for OFT during setup - #1899

Merged
nazreen merged 5 commits into
mainfrom
relabel-examples
Jan 20, 2026
Merged

nazreen merged 5 commits into
mainfrom
relabel-examples

Conversation

@nazreen

@nazreen nazreen commented Jan 14, 2026 •

Copy link
Copy Markdown
Contributor

Changes

update labels:

  • OFT -> OFT - EVM only
  • OFT (Solana) -> OFT - EVM, Solana

removed need for feature flag for OFT - EVM, Solana

Example Run

~ $ create-lz-oapp

    ╭─────────────────────────────────────────╮
    │       ▓▓▓ LayerZero DevTools ▓▓▓        │
    │  ═══════════════════════════════════    │
    │          /*\                            │
    │         /* *\     BUILD ANYTHING        │
    │         ('v')                           │
    │        //-=-\\    ▶ OMNICHAIN           │
    │        (\_=_/)                          │
    │         ^^ ^^                           │
    │  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  │
    ╰─────────────────────────────────────────╯

✔ Where do you want to start your project? … ./my-lz-oapp
? Which example would you like to use as a starting point? › - Use arrow-keys. Return to submit.
❯   OApp
    OFT - EVM, Solana
    OFT - EVM only
    OFTAdapter
    ONFT721

How to Test

cd packages/create-lz-oapp
pnpm install
pnpm build
pnpm link --global
create-lz-oapp

@github-actions

github-actions Bot commented Jan 14, 2026 •

Copy link
Copy Markdown
Contributor

🧪 E2E Test Status

E2E tests are non-blocking and validate real blockchain interactions. Failures may occur due to network issues, RPC rate limits, or external service downtime.

Test Runs (Newest First):

  • ✅ Run #6566 - Passed - 2026-01-16 20:54 (UTC)
  • ✅ Run #6556 - Passed - 2026-01-14 20:40 (UTC)

@nazreen
nazreen marked this pull request as ready for review January 14, 2026 20:57
@cursor

cursor Bot commented Jan 14, 2026 •

Copy link
Copy Markdown

PR Summary

Enables Solana OFT example by default and clarifies example labels.

  • Update getExamples() to always include oft-solana and relabel examples: OFT - EVM, Solana and OFT - EVM only
  • Remove LZ_ENABLE_SOLANA_OFT_EXAMPLE flag usage (code, tests, and turbo.json env passthrough)
  • Adjust tests to reflect default availability of oft-solana and keep oapp-solana behind its flag
  • Update examples/oft-solana/README.md scaffold step to drop the env var
  • Add changeset for create-lz-oapp patch release

Written by Cursor Bugbot for commit 587752e. This will update automatically on new commits. Configure here.

@lzJxhn
lzJxhn self-requested a review January 16, 2026 22:12
@nazreen
nazreen added this pull request to the merge queue Jan 20, 2026
Merged via the queue into main with commit 36c2cb8 Jan 20, 2026
18 checks passed
@nazreen
nazreen deleted the relabel-examples branch January 20, 2026 19:27
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.

3 participants