Skip to content

Conversation

@hexshire
Copy link
Member

@hexshire hexshire commented Dec 9, 2025

When the -cgt flag is passed (or OP_UP_CGT=true env var), op-up will deploy the devnet with custom gas token support, including the NativeAssetLiquidity and LiquidityController predeploys.

🤖 Generated with Claude Code


Note

Adds --cgt/OP_UP_CGT to enable custom gas token deployment, logs test account and node URLs, and introduces separate L1/L2 JSON-RPC proxies.

  • CLI:
    • Add --cgt flag (OP_UP_CGT) to enable custom gas token mode.
  • Deployer/Boot:
    • Derive and log test account (address/private key) and print L1/L2 node URLs.
    • Build deployer options dynamically; in CGT mode add sysgo.WithCustomGasToken("TestToken", "TST", <supply>, funderAddress).
  • Networking:
    • Introduce L1 and L2 JSON-RPC proxies via proxyEL(stderr, rpcClient, port) on localhost:8544 (L1) and :8545 (L2); refactor proxyEL to accept rpcClient and port and use a dedicated ServeMux.
  • Orchestration:
    • Select L1/L2 EL nodes (l1Node, l2Node), start L1 proxy, and adjust block logging references.

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

When the -cgt flag is passed (or OP_UP_CGT=true env var), op-up will
deploy the devnet with custom gas token support, including the
NativeAssetLiquidity and LiquidityController predeploys.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@hexshire hexshire requested review from 0xniha and agusduha December 9, 2025 19:30
@hexshire hexshire self-assigned this Dec 9, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Fixes the L1 node to use a fixed port (8544) so the printed URL is valid.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Reverts the HTTPPort change in geth.go to avoid breaking parallel e2e
tests. Instead, adds an L1 proxy on port 8544 alongside the existing
L2 proxy on port 8545, using http.ServeMux for proper handler isolation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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