Skip to content
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

refactored bridge envs and sorted them out #22

Open
wants to merge 2 commits into
base: canary
Choose a base branch
from

Conversation

princet1protocol
Copy link

@princet1protocol princet1protocol commented Mar 2, 2025

PR Summary

Refactored bridge envs to make sure the variable names match t1 deployment for efficiency
With this change, we can easily search t1 deployment variables and match them to the bridge variables without guessing which is which.
Also, have categorised them in similar fashion to t1 deployment variables for better readability

Screenshot 2025-03-04 at 3 36 17 PM

Checklist

  • I listed any breaking changes below:

  • I listed any env variable additions/changes/removals below:
    NEXT_PUBLIC_L1_SCROLL_MESSENGER -> NEXT_PUBLIC_L1_T1_MESSENGER_PROXY_ADDR
    NEXT_PUBLIC_L2_SCROLL_MESSENGER -> NEXT_PUBLIC_L2_T1_MESSENGER_PROXY_ADDR
    NEXT_PUBLIC_L1_ERC20_WETH_ADDR -> NEXT_PUBLIC_L1_WETH_ADDR
    NEXT_PUBLIC_L1_ERC20_USDT_ADDR -> NEXT_PUBLIC_L1_USDT_ADDR
    NEXT_PUBLIC_L2_ERC20_WETH_ADDR -> NEXT_PUBLIC_L2_WETH_ADDR
    NEXT_PUBLIC_L2_ERC20_USDT_ADDR -> NEXT_PUBLIC_L2_USDT_ADDR
    NEXT_PUBLIC_L1_MESSAGE_QUEUE_WITH_GAS_PRICE_ORACLE -> NEXT_PUBLIC_L1_MESSAGE_QUEUE_PROXY_ADDR_WITH_GAS_PRICE_ORACLE
    NEXT_PUBLIC_L1_GAS_PRICE_ORACLE -> NEXT_PUBLIC_L1_GAS_PRICE_ORACLE_ADDR

  • I checked whether I should update the docs in https://github.com/t1protocol/docs and if so, added PR link below:

  • I updated the notion task tracker's status and added link to this PR there

Copy link

Refactor Bridge .envs

Copy link

netlify bot commented Mar 2, 2025

Deploy Preview for t1-canary-bridge ready!

Name Link
🔨 Latest commit c813078
🔍 Latest deploy log https://app.netlify.com/sites/t1-canary-bridge/deploys/67c6ad1fa550550008648077
😎 Deploy Preview https://deploy-preview-22--t1-canary-bridge.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@evchip
Copy link

evchip commented Mar 3, 2025

@princet1protocol Can you please fill out the PR Summary template in its entirety?

@princet1protocol
Copy link
Author

@princet1protocol Can you please fill out the PR Summary template in its entirety?

Sorry! Filled it out

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