Skip to content

Commit d84cd7c

Browse files
update l1-explorer
1 parent 08739d4 commit d84cd7c

4 files changed

Lines changed: 98 additions & 216 deletions

File tree

charts/l1-explorer/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
apiVersion: v2
33
description: l1-explorer helm charts
44
name: l1-explorer
5-
version: 0.0.2
5+
version: 0.0.3
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:
99
- name: scroll-tech
1010
email: sebastien@scroll.io
1111
dependencies:
12-
- name: common
13-
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
14-
version: 1.5.1
1512
- name: external-secrets-lib
1613
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
1714
version: 0.0.3
15+
- name: blockscout-stack
16+
repository: https://blockscout.github.io/helm-charts
17+
version: 1.6.8

charts/l1-explorer/README.md

Lines changed: 42 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# l1-explorer
22

3-
![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
3+
![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
44

55
l1-explorer helm charts
66

@@ -16,99 +16,53 @@ Kubernetes: `>=1.22.0-0`
1616

1717
| Repository | Name | Version |
1818
|------------|------|---------|
19-
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | common | 1.5.1 |
19+
| https://blockscout.github.io/helm-charts | blockscout-stack | 1.6.8 |
2020
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | external-secrets-lib | 0.0.3 |
2121

2222
## Values
2323

2424
| Key | Type | Default | Description |
2525
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
27-
| command[1] | string | `"-c"` | |
28-
| command[2] | string | `"/app/bin/blockscout start"` | |
29-
| controller.replicas | int | `1` | |
30-
| controller.strategy | string | `"Recreate"` | |
31-
| controller.type | string | `"deployment"` | |
32-
| defaultProbes.custom | bool | `true` | |
33-
| defaultProbes.enabled | bool | `true` | |
34-
| defaultProbes.spec.httpGet.path | string | `"/"` | |
35-
| defaultProbes.spec.httpGet.port | int | `3000` | |
36-
| envFrom[0].configMapRef.name | string | `"l1-explorer-env"` | |
37-
| env[0].name | string | `"ECTO_USE_SSL"` | |
38-
| env[0].value | bool | `false` | |
39-
| env[10].name | string | `"SUBNETWORK"` | |
40-
| env[10].value | string | `"Scroll Sepolia Testnet"` | |
41-
| env[11].name | string | `"SUPPORTED_CHAINS"` | |
42-
| env[11].value | string | `"[{ \"title\": \"Scroll SDK (L1)\", \"url\": \"https://localhost:3000\", \"test_net?\": true }, { \"title\": \"Scroll SDK (L2) Testnet\", \"url\": \"http://blockscout:3000\", \"test_net?\": true }]"` | |
43-
| env[12].name | string | `"DISABLE_EXCHANGE_RATES"` | |
44-
| env[12].value | bool | `true` | |
45-
| env[13].name | string | `"BLOCKSCOUT_VERSION"` | |
46-
| env[13].value | string | `"5.2.1"` | |
47-
| env[14].name | string | `"FOOTER_GITHUB_LINK"` | |
48-
| env[14].value | string | `"https://github.com/blockscout/blockscout"` | |
49-
| env[15].name | string | `"ETHEREUM_JSONRPC_DEBUG_TRACE_TRANSACTION_TIMEOUT"` | |
50-
| env[15].value | string | `"10s"` | |
51-
| env[16].name | string | `"INDEXER_MEMORY_LIMIT"` | |
52-
| env[16].value | string | `"10gb"` | |
53-
| env[17].name | string | `"BLOCK_TRANSFORMER"` | |
54-
| env[17].value | string | `"clique"` | |
55-
| env[18].name | string | `"MICROSERVICE_SC_VERIFIER_ENABLED"` | |
56-
| env[18].value | bool | `true` | |
57-
| env[1].name | string | `"ETHEREUM_JSONRPC_VARIANT"` | |
58-
| env[1].value | string | `"geth"` | |
59-
| env[2].name | string | `"INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER"` | |
60-
| env[2].value | bool | `true` | |
61-
| env[3].name | string | `"PORT"` | |
62-
| env[3].value | int | `3000` | |
63-
| env[4].name | string | `"NETWORK"` | |
64-
| env[4].value[0] | string | `""` | |
65-
| env[5].name | string | `"COIN"` | |
66-
| env[5].value | string | `"ETH"` | |
67-
| env[6].name | string | `"COIN_NAME"` | |
68-
| env[6].value | string | `"ETH"` | |
69-
| env[7].name | string | `"LOGO"` | |
70-
| env[7].value | string | `"/images/logo.svg"` | |
71-
| env[8].name | string | `"WEBAPP_URL"` | |
72-
| env[8].value | string | `"https://l1-explorer.scroll.tech"` | |
73-
| env[9].name | string | `"BLOCKSCOUT_HOST"` | |
74-
| env[9].value | string | `"test-l1-explorer.scroll.io"` | |
75-
| global.fullnameOverride | string | `"l1-explorer"` | |
76-
| global.nameOverride | string | `"l1-explorer"` | |
77-
| image.pullPolicy | string | `"Always"` | |
78-
| image.repository | string | `"blockscout/blockscout"` | |
79-
| image.tag | string | `"6.6.0"` | |
80-
| ingress.main.annotations | object | `{}` | |
81-
| ingress.main.enabled | bool | `true` | |
82-
| ingress.main.hosts[0].host | string | `"l1-explorer.scrollsdk"` | |
83-
| ingress.main.hosts[0].paths[0].path | string | `"/"` | |
84-
| ingress.main.hosts[0].paths[0].pathType | string | `"Prefix"` | |
85-
| ingress.main.ingressClassName | string | `"nginx"` | |
86-
| ingress.main.labels | object | `{}` | |
87-
| ingress.main.primary | bool | `true` | |
88-
| initContainers.1-migrate-db.command[0] | string | `"/bin/sh"` | |
89-
| initContainers.1-migrate-db.command[1] | string | `"-c"` | |
90-
| initContainers.1-migrate-db.command[2] | string | `"/app/bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\""` | |
91-
| initContainers.1-migrate-db.envFrom[0].configMapRef.name | string | `"l1-explorer-env"` | |
92-
| initContainers.1-migrate-db.image | string | `"blockscout/blockscout:6.6.0"` | |
93-
| persistence.env.enabled | bool | `true` | |
94-
| persistence.env.mountPath | string | `"/config/"` | |
95-
| persistence.env.name | string | `"l1-explorer-env"` | |
96-
| persistence.env.type | string | `"configMap"` | |
97-
| probes.liveness.<<.custom | bool | `true` | |
98-
| probes.liveness.<<.enabled | bool | `true` | |
99-
| probes.liveness.<<.spec.httpGet.path | string | `"/"` | |
100-
| probes.liveness.<<.spec.httpGet.port | int | `3000` | |
101-
| probes.readiness.<<.custom | bool | `true` | |
102-
| probes.readiness.<<.enabled | bool | `true` | |
103-
| probes.readiness.<<.spec.httpGet.path | string | `"/"` | |
104-
| probes.readiness.<<.spec.httpGet.port | int | `3000` | |
105-
| probes.startup.<<.custom | bool | `true` | |
106-
| probes.startup.<<.enabled | bool | `true` | |
107-
| probes.startup.<<.spec.httpGet.path | string | `"/"` | |
108-
| probes.startup.<<.spec.httpGet.port | int | `3000` | |
109-
| service.main.enabled | bool | `true` | |
110-
| service.main.ports.http.enabled | bool | `true` | |
111-
| service.main.ports.http.port | int | `3000` | |
26+
| blockscout-stack.blockscout.env.BLOCK_TRANSFORMER | string | `"clique"` | |
27+
| blockscout-stack.blockscout.env.ECTO_USE_SSL | bool | `false` | |
28+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_HTTP_INSECURE | bool | `true` | |
29+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_HTTP_URL | string | `"http://l2-rpc:8545"` | |
30+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_TRACE_URL | string | `"http://l2-rpc:8545"` | |
31+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_VARIANT | string | `"geth"` | |
32+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_WS_URL | string | `"ws://l2-rpc:8546"` | |
33+
| blockscout-stack.blockscout.env.INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER | bool | `true` | |
34+
| blockscout-stack.blockscout.envFrom[0].configMapRef.name | string | `"l1-explorer-env"` | |
35+
| blockscout-stack.blockscout.image.pullPolicy | string | `"IfNotPresent"` | |
36+
| blockscout-stack.blockscout.image.repository | string | `"blockscout/blockscout-scroll"` | |
37+
| blockscout-stack.blockscout.image.tag | string | `"6.9.0-alpha.1"` | |
38+
| blockscout-stack.blockscout.ingress.annotations | object | `{}` | |
39+
| blockscout-stack.blockscout.ingress.className | string | `"nginx"` | |
40+
| blockscout-stack.blockscout.ingress.enabled | bool | `true` | |
41+
| blockscout-stack.blockscout.ingress.hostname | string | `"l1-explorer.scrollsdk"` | |
42+
| blockscout-stack.frontend.env.FAVICON_MASTER_URL | string | `"https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/favicons/scroll_180x180.png"` | |
43+
| blockscout-stack.frontend.env.NEXT_PUBLIC_API_HOST | string | `"l1-explorer.scrollsdk"` | |
44+
| blockscout-stack.frontend.env.NEXT_PUBLIC_API_PROTOCOL | string | `"http"` | |
45+
| blockscout-stack.frontend.env.NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL | string | `"ws"` | |
46+
| blockscout-stack.frontend.env.NEXT_PUBLIC_APP_PROTOCOL | string | `"http"` | |
47+
| blockscout-stack.frontend.env.NEXT_PUBLIC_HOMEPAGE_CHARTS | string | `"[\"daily_txs\"]"` | |
48+
| blockscout-stack.frontend.env.NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG | string | `"{'background':['rgba(255, 238, 218, 1)'],'text_color':['rgba(25, 6, 2, 1)']}"` | |
49+
| blockscout-stack.frontend.env.NEXT_PUBLIC_HOMEPAGE_STATS | string | `"[\"total_blocks\", \"average_block_time\", \"total_txs\", \"wallet_addresses\", \"gas_tracker\"]"` | |
50+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_ICON | string | `"https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/scroll.svg"` | |
51+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_ICON_DARK | string | `"https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/scroll-dark.svg"` | |
52+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_LOGO | string | `"https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/scroll.svg"` | |
53+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_LOGO_DARK | string | `"https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/scroll-dark.svg"` | |
54+
| blockscout-stack.frontend.env.NEXT_PUBLIC_OG_IMAGE_URL | string | `"https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/scroll-sepolia.png"` | |
55+
| blockscout-stack.frontend.image.tag | string | `"v1.35.2"` | |
56+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-headers" | string | `"updated-gas-oracle, Content-Type, Authorization"` | |
57+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-methods" | string | `"GET, POST, OPTIONS"` | |
58+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-origin" | string | `"http://l1-explorer.scrollsdk"` | |
59+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-max-age" | string | `"86400"` | |
60+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
61+
| blockscout-stack.frontend.ingress.className | string | `"nginx"` | |
62+
| blockscout-stack.frontend.ingress.enabled | bool | `true` | |
63+
| blockscout-stack.frontend.ingress.hostname | string | `"l1-explorer.scrollsdk"` | |
64+
| blockscout-stack.fullnameOverride | string | `"l1-explorer"` | |
65+
| blockscout-stack.nameOverride | string | `"l1-explorer"` | |
11266

11367
----------------------------------------------
11468
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,2 @@
11
---
2-
{{- include "scroll.common.loader.init" . }}
3-
4-
{{- define "app-template.hardcodedValues" -}}
5-
# Set the nameOverride based on the release name if no override has been set
6-
{{ if not .Values.global.nameOverride }}
7-
global:
8-
nameOverride: "{{ .Release.Name }}"
9-
{{ end }}
10-
{{- end -}}
11-
{{- $_ := mergeOverwrite .Values (include "app-template.hardcodedValues" . | fromYaml) -}}
12-
13-
{{/* Render the templates */}}
14-
{{ include "scroll.common.loader.generate" . }}
15-
---
162
{{- include "scrolllib.externalsecrets.tpl" . }}

charts/l1-explorer/values.yaml

Lines changed: 52 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,59 @@
1-
---
2-
global:
3-
nameOverride: &app_name l1-explorer
1+
blockscout-stack:
2+
nameOverride: &app_name "l1-explorer"
43
fullnameOverride: *app_name
54

6-
controller:
7-
replicas: 1
8-
strategy: Recreate
9-
type: deployment
5+
blockscout:
6+
image:
7+
repository: blockscout/blockscout-scroll
8+
pullPolicy: IfNotPresent
9+
tag: 6.9.0-alpha.1
10+
11+
env:
12+
ETHEREUM_JSONRPC_HTTP_URL: http://l2-rpc:8545
13+
ETHEREUM_JSONRPC_TRACE_URL: http://l2-rpc:8545
14+
ETHEREUM_JSONRPC_VARIANT: geth
15+
ETHEREUM_JSONRPC_WS_URL: ws://l2-rpc:8546
16+
BLOCK_TRANSFORMER: clique
17+
INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: true
18+
ECTO_USE_SSL: false
19+
ETHEREUM_JSONRPC_HTTP_INSECURE: true
1020

11-
image:
12-
repository: blockscout/blockscout
13-
pullPolicy: Always
14-
tag: 6.6.0
15-
16-
env:
17-
- name: ECTO_USE_SSL
18-
value: false
19-
- name: ETHEREUM_JSONRPC_VARIANT
20-
value: geth
21-
- name: INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER
22-
value: true
23-
- name: PORT
24-
value: 3000
25-
- name: NETWORK
26-
value: [""]
27-
- name: COIN
28-
value: ETH
29-
- name: COIN_NAME
30-
value: ETH
31-
- name: LOGO
32-
value: /images/logo.svg
33-
- name: WEBAPP_URL
34-
value: https://l1-explorer.scroll.tech
35-
- name: BLOCKSCOUT_HOST
36-
value: test-l1-explorer.scroll.io
37-
- name: SUBNETWORK
38-
value: "Scroll Sepolia Testnet"
39-
- name: SUPPORTED_CHAINS
40-
value: '[{ "title": "Scroll SDK (L1)", "url": "https://localhost:3000", "test_net?": true }, { "title": "Scroll SDK (L2) Testnet", "url": "http://blockscout:3000", "test_net?": true }]'
41-
- name: DISABLE_EXCHANGE_RATES
42-
value: true
43-
- name: BLOCKSCOUT_VERSION
44-
value: 5.2.1
45-
- name: FOOTER_GITHUB_LINK
46-
value: https://github.com/blockscout/blockscout
47-
- name: ETHEREUM_JSONRPC_DEBUG_TRACE_TRANSACTION_TIMEOUT
48-
value: 10s
49-
- name: INDEXER_MEMORY_LIMIT
50-
value: 10gb
51-
- name: BLOCK_TRANSFORMER
52-
value: clique
53-
- name: MICROSERVICE_SC_VERIFIER_ENABLED
54-
value: true
55-
56-
envFrom:
57-
- configMapRef:
58-
name: l1-explorer-env
59-
60-
command:
61-
[
62-
"/bin/sh",
63-
"-c",
64-
"/app/bin/blockscout start"
65-
]
66-
67-
service:
68-
main:
69-
enabled: true
70-
ports:
71-
http:
72-
enabled: true
73-
port: 3000
74-
75-
defaultProbes: &default_probes
76-
enabled: true
77-
custom: true
78-
spec:
79-
httpGet:
80-
path: "/"
81-
port: 3000
82-
83-
probes:
84-
liveness:
85-
<<: *default_probes
86-
readiness:
87-
<<: *default_probes
88-
startup:
89-
<<: *default_probes
90-
91-
persistence:
92-
env:
93-
enabled: true
94-
type: configMap
95-
mountPath: /config/
96-
name: l1-explorer-env
97-
98-
initContainers:
99-
1-migrate-db:
100-
image: blockscout/blockscout:6.6.0
101-
command: ["/bin/sh", "-c", "/app/bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\""]
10221
envFrom:
10322
- configMapRef:
10423
name: l1-explorer-env
10524

106-
ingress:
107-
main:
108-
enabled: true
109-
primary: true
110-
annotations: {}
111-
labels: {}
112-
ingressClassName: "nginx"
113-
hosts:
114-
- host: l1-explorer.scrollsdk
115-
paths:
116-
- path: /
117-
pathType: Prefix
25+
ingress:
26+
enabled: true
27+
className: "nginx"
28+
annotations: {}
29+
hostname: l1-explorer.scrollsdk
30+
31+
frontend:
32+
image:
33+
tag: v1.35.2
34+
35+
env:
36+
NEXT_PUBLIC_NETWORK_LOGO: "https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/scroll.svg"
37+
NEXT_PUBLIC_NETWORK_LOGO_DARK: "https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/scroll-dark.svg"
38+
NEXT_PUBLIC_NETWORK_ICON: "https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/scroll.svg"
39+
NEXT_PUBLIC_NETWORK_ICON_DARK: "https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/scroll-dark.svg"
40+
NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG: "{'background':['rgba(255, 238, 218, 1)'],'text_color':['rgba(25, 6, 2, 1)']}"
41+
NEXT_PUBLIC_OG_IMAGE_URL: 'https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/scroll-sepolia.png'
42+
FAVICON_MASTER_URL: "https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/favicons/scroll_180x180.png"
43+
NEXT_PUBLIC_HOMEPAGE_CHARTS: '["daily_txs"]'
44+
NEXT_PUBLIC_HOMEPAGE_STATS: '["total_blocks", "average_block_time", "total_txs", "wallet_addresses", "gas_tracker"]'
45+
NEXT_PUBLIC_API_PROTOCOL: http
46+
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: ws
47+
NEXT_PUBLIC_API_HOST: "l1-explorer.scrollsdk"
48+
NEXT_PUBLIC_APP_PROTOCOL: http
49+
50+
ingress:
51+
enabled: true
52+
annotations:
53+
nginx.ingress.kubernetes.io/enable-cors: "true"
54+
nginx.ingress.kubernetes.io/cors-allow-origin: "http://l1-explorer.scrollsdk"
55+
nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization"
56+
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
57+
nginx.ingress.kubernetes.io/cors-max-age: "86400"
58+
className: "nginx"
59+
hostname: l1-explorer.scrollsdk

0 commit comments

Comments
 (0)