From 04ccc6640cdbd16aa5bcfaf549d3458ff57c7711 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 4 Oct 2024 11:51:18 +0200 Subject: [PATCH] Added flag for --num-confirmations --- charts/op-proposer/Chart.yaml | 2 +- charts/op-proposer/README.md | 3 ++- charts/op-proposer/templates/statefulset.yaml | 1 + charts/op-proposer/values.yaml | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/op-proposer/Chart.yaml b/charts/op-proposer/Chart.yaml index 5d3d9940..1d5bc5d8 100644 --- a/charts/op-proposer/Chart.yaml +++ b/charts/op-proposer/Chart.yaml @@ -1,7 +1,7 @@ --- name: op-proposer apiVersion: v2 -version: 0.1.7 +version: 0.1.8 description: Celo implementation for op-proposer client (Optimism Rollup) home: https://clabs.co sources: diff --git a/charts/op-proposer/README.md b/charts/op-proposer/README.md index fe13c153..8401daef 100644 --- a/charts/op-proposer/README.md +++ b/charts/op-proposer/README.md @@ -1,6 +1,6 @@ # op-proposer -![Version: 0.1.7](https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square) +![Version: 0.1.8](https://img.shields.io/badge/Version-0.1.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square) Celo implementation for op-proposer client (Optimism Rollup) @@ -32,6 +32,7 @@ Celo implementation for op-proposer client (Optimism Rollup) | config.metrics.addr | string | `"0.0.0.0"` | | | config.metrics.enabled | bool | `false` | | | config.metrics.port | int | `7300` | | +| config.numConfirmations | int | `10` | | | config.pollInterval | string | `"12s"` | | | config.rollupRpc | string | `"http://localhost:8547"` | | | config.rpc.addr | string | `"0.0.0.0"` | | diff --git a/charts/op-proposer/templates/statefulset.yaml b/charts/op-proposer/templates/statefulset.yaml index 03e51add..73917e87 100644 --- a/charts/op-proposer/templates/statefulset.yaml +++ b/charts/op-proposer/templates/statefulset.yaml @@ -102,6 +102,7 @@ spec: --rollup-rpc={{ .Values.config.rollupRpc }} \ --l2oo-address=$L2OutputOracleProxy \ --l1-eth-rpc=$L1_URL \ + --num-confirmations={{ .Values.config.numConfirmations }} \ {{- if .Values.config.metrics.enabled }} --metrics.enabled \ --metrics.addr={{ .Values.config.metrics.addr }} \ diff --git a/charts/op-proposer/values.yaml b/charts/op-proposer/values.yaml index 659cd7e9..f339ba14 100644 --- a/charts/op-proposer/values.yaml +++ b/charts/op-proposer/values.yaml @@ -148,6 +148,7 @@ config: pollInterval: 12s # How frequently to poll L2 for new blocks rollupRpc: http://localhost:8547 # HTTP provider URL for the rollup node. A comma-separated list for multiple providers activeSecuencerCheckDuration: 2m0s # How frequently to check if the sequencer is active (if multiple provided) + numConfirmations: 10 # Number of confirmations to wait for a L1 transaction logs: level: info # Log level format: json # Log format