Skip to content

Commit c20a205

Browse files
authored
feat: support contracts verification (#229)
* fix: contracts verifaction * fix: lint * fix: ci * fix: sc verifier arch version
1 parent a69d99d commit c20a205

File tree

23 files changed

+105
-58
lines changed

23 files changed

+105
-58
lines changed

charts/blockscout-sc-verifier/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: blockscout-sc-verifier helm charts
44
name: blockscout-sc-verifier
5-
version: 0.0.2
5+
version: 0.1.0
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/blockscout-sc-verifier/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# blockscout-sc-verifier
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.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
44

55
blockscout-sc-verifier helm charts
66

charts/blockscout/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: blockscout scroll helm charts
44
name: blockscout
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:
@@ -14,4 +14,4 @@ dependencies:
1414
version: 0.0.3
1515
- name: blockscout-stack
1616
repository: https://blockscout.github.io/helm-charts
17-
version: 1.6.8
17+
version: 1.8.0

charts/blockscout/README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# blockscout
22

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

55
blockscout scroll helm charts
66

@@ -16,14 +16,15 @@ Kubernetes: `>=1.22.0-0`
1616

1717
| Repository | Name | Version |
1818
|------------|------|---------|
19-
| https://blockscout.github.io/helm-charts | blockscout-stack | 1.6.8 |
19+
| https://blockscout.github.io/helm-charts | blockscout-stack | 1.8.0 |
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
|-----|------|---------|-------------|
2626
| blockscout-stack.blockscout.env.BLOCK_TRANSFORMER | string | `"clique"` | |
27+
| blockscout-stack.blockscout.env.CHAIN_SPEC_PATH | string | `"/app/genesis/genesis.json"` | |
2728
| blockscout-stack.blockscout.env.CHAIN_TYPE | string | `"scroll"` | |
2829
| blockscout-stack.blockscout.env.ECTO_USE_SSL | bool | `false` | |
2930
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_HTTP_INSECURE | bool | `true` | |
@@ -47,11 +48,16 @@ Kubernetes: `>=1.22.0-0`
4748
| blockscout-stack.blockscout.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
4849
| blockscout-stack.blockscout.ingress.className | string | `"nginx"` | |
4950
| blockscout-stack.blockscout.ingress.enabled | bool | `true` | |
50-
| blockscout-stack.blockscout.ingress.hostname | string | `"blockscout-backend.scrollsdk"` | |
51+
| blockscout-stack.blockscout.ingress.hostname | string | `"blockscout.scrollsdk"` | |
52+
| blockscout-stack.blockscout.volumeMounts[0].mountPath | string | `"/app/genesis"` | |
53+
| blockscout-stack.blockscout.volumeMounts[0].name | string | `"genesis-config"` | |
54+
| blockscout-stack.blockscout.volumeMounts[0].readOnly | bool | `true` | |
55+
| blockscout-stack.blockscout.volumes[0].configMap.name | string | `"genesis-config"` | |
56+
| blockscout-stack.blockscout.volumes[0].name | string | `"genesis-config"` | |
5157
| blockscout-stack.frontend.env.FAVICON_MASTER_URL | string | `"https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/favicons/scroll_180x180.png"` | |
5258
| blockscout-stack.frontend.env.NEXT_PUBLIC_AD_BANNER_PROVIDER | string | `"none"` | |
5359
| blockscout-stack.frontend.env.NEXT_PUBLIC_AD_TEXT_PROVIDER | string | `"none"` | |
54-
| blockscout-stack.frontend.env.NEXT_PUBLIC_API_HOST | string | `"blockscout-backend.scrollsdk"` | |
60+
| blockscout-stack.frontend.env.NEXT_PUBLIC_API_HOST | string | `"blockscout.scrollsdk"` | |
5561
| blockscout-stack.frontend.env.NEXT_PUBLIC_API_PROTOCOL | string | `"http"` | |
5662
| blockscout-stack.frontend.env.NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL | string | `"ws"` | |
5763
| blockscout-stack.frontend.env.NEXT_PUBLIC_APP_PROTOCOL | string | `"http"` | |

charts/blockscout/values.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ blockscout-stack:
2525
SCROLL_L2_CURIE_UPGRADE_BLOCK: 0
2626
ECTO_USE_SSL: false
2727
ETHEREUM_JSONRPC_HTTP_INSECURE: true
28+
CHAIN_SPEC_PATH: /app/genesis/genesis.json
2829
# Not sure what these values are for
2930
# SCROLL_L1_SCALAR_INIT:
3031
# SCROLL_L1_OVERHEAD_INIT:
@@ -46,7 +47,17 @@ blockscout-stack:
4647
nginx.ingress.kubernetes.io/cors-allow-headers: "updated-gas-oracle, Content-Type, Authorization"
4748
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
4849
nginx.ingress.kubernetes.io/cors-max-age: "86400"
49-
hostname: blockscout-backend.scrollsdk
50+
hostname: blockscout.scrollsdk
51+
52+
volumes:
53+
- name: genesis-config
54+
configMap:
55+
name: genesis-config
56+
57+
volumeMounts:
58+
- name: genesis-config
59+
mountPath: "/app/genesis"
60+
readOnly: true
5061

5162
frontend:
5263
image:
@@ -64,7 +75,7 @@ blockscout-stack:
6475
NEXT_PUBLIC_HOMEPAGE_STATS: '["total_blocks", "average_block_time", "total_txs", "wallet_addresses", "gas_tracker"]'
6576
NEXT_PUBLIC_API_PROTOCOL: http
6677
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: ws
67-
NEXT_PUBLIC_API_HOST: "blockscout-backend.scrollsdk"
78+
NEXT_PUBLIC_API_HOST: "blockscout.scrollsdk"
6879
NEXT_PUBLIC_APP_PROTOCOL: http
6980
NEXT_PUBLIC_AD_BANNER_PROVIDER: none
7081
NEXT_PUBLIC_AD_TEXT_PROVIDER: none

charts/blockscout/values/production.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,13 @@ blockscout-stack:
4747
hostname: ""
4848
tls:
4949
enabled: true
50-
secretName: blockscout-tls # Set here the name of the secret. Example : blockscout-backend.scrollsdk
50+
secretName: blockscout-tls # Set here the name of the secret. Example : blockscout.scrollsdk
5151

5252
frontend:
5353
env:
5454
NEXT_PUBLIC_API_PROTOCOL: https
5555
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
56-
NEXT_PUBLIC_API_HOST: "" # Backend host, example "blockscout-backend.scrollsdk"
57-
NEXT_PUBLIC_APP_HOST: "" # Backend host, example "blockscout-backend.scrollsdk"
56+
NEXT_PUBLIC_API_HOST: "" # Backend host, example "blockscout.scrollsdk"
5857
NEXT_PUBLIC_APP_PROTOCOL: https
5958

6059
ingress:

charts/contracts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: contracts helm charts
44
name: contracts
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/contracts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# contracts
22

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

55
contracts helm charts
66

@@ -25,7 +25,7 @@ Kubernetes: `>=1.22.0-0`
2525
| envFrom[0].configMapRef.name | string | `"contracts-deployment-env"` | |
2626
| global.isStandalone | bool | `false` | |
2727
| image.repository | string | `"scrolltech/scroll-stack-contracts"` | |
28-
| image.tag | string | `"deploy-2eba3d2c418b16f4a66d9baadeb1c1bafdca81b1"` | |
28+
| image.tag | string | `"deploy-64934888f4cd002e77414a8e62812f70c00c5937"` | |
2929
| scrollConfig | string | `"{}\n"` | |
3030
| scrollConfigContracts | string | `"{}\n"` | |
3131

charts/contracts/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ global:
44

55
image:
66
repository: scrolltech/scroll-stack-contracts
7-
tag: deploy-2eba3d2c418b16f4a66d9baadeb1c1bafdca81b1
7+
tag: deploy-64934888f4cd002e77414a8e62812f70c00c5937
88

99
envFrom:
1010
- configMapRef:

charts/l1-devnet/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: l1-devnet helm charts
44
name: l1-devnet
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

0 commit comments

Comments
 (0)