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

L2 Chain Based Optimism Can't Running #1309

Closed
avenbreaks opened this issue Oct 28, 2023 · 2 comments
Closed

L2 Chain Based Optimism Can't Running #1309

avenbreaks opened this issue Oct 28, 2023 · 2 comments
Labels
bug Something isn't working triage Issues and PRs that are needed triage

Comments

@avenbreaks
Copy link
Member

Description

Cannot running Blockscout used L2 Based Optimism, but unset the L2 Environment is perfectly running,
Documentation Optimism Running Blockscout need --gcmode=archive is already setting to start node. Now Blockscout running without Env Var L2

RPC Expose on Public :

<IPAddress:8545> op-geth
<IPAddress:8547> op-node
<IPAddress:8560> op-proposer
<IPAddress:8548> op-batcher

ENV Frontend :

# Optimistic rollup (L2) chain
NEXT_PUBLIC_IS_OPTIMISTIC_L2_NETWORK=true
NEXT_PUBLIC_OPTIMISTIC_L2_WITHDRAWAL_URL=https://app.optimism.io/bridge/withdraw
NEXT_PUBLIC_L1_BASE_URL=https://sepolia.etherscan.io

Logs Frontend :

🌀 Checking environment variables and their placeholders congruity...
🚸 For the following environment variables placeholders were not generated at build-time:

 NEXT_PUBLIC_OPTIMISTIC_L2_WITHDRAWAL_URL
 NEXT_PUBLIC_IS_OPTIMISTIC_L2_NETWORK

 They are either deprecated or running the app with them may lead to unexpected behavior. 
 Please check the documentation for more details - https://github.com/blockscout/frontend/blob/main/docs/ENVS.md
      
🚨 Congruity check failed.

Link to the page

https://cybascan.io

Steps to reproduce

  1. Go to 'blockscout/docker-compose'
  2. Click on 'customize docker-compose-no-build-geth.yml with RPC Public L2'
  3. See error 'docker ps'

ghcr.io/blockscout/frontend:latest "./entrypoint.sh nod…" 10 minutes ago Restarting (1) 40 seconds

App version

latest

Browser

Version 118.0.5993.88 (Official Build) (64-bit)

Operating system

Linux

Additional information

No response

@avenbreaks avenbreaks added bug Something isn't working triage Issues and PRs that are needed triage labels Oct 28, 2023
@avenbreaks
Copy link
Member Author

@tom2drum

@tom2drum
Copy link
Collaborator

Please note that the current names of the variables is NEXT_PUBLIC_IS_L2_NETWORK and NEXT_PUBLIC_L2_WITHDRAWAL_URL.

https://github.com/blockscout/frontend/blob/v1.16.0/docs/ENVS.md#rollup-l2-chain

We are renaming only in the next release.

@tom2drum tom2drum closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issues and PRs that are needed triage
Projects
None yet
Development

No branches or pull requests

2 participants