Skip to content

Commit

Permalink
Merge pull request #403 from celo-org/jcortejoso/proposer
Browse files Browse the repository at this point in the history
[op-proposer] Added flag for --num-confirmations
  • Loading branch information
jcortejoso authored Oct 4, 2024
2 parents 8ecf694 + 04ccc66 commit 53678c3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/op-proposer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 2 additions & 1 deletion charts/op-proposer/README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -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"` | |
Expand Down
1 change: 1 addition & 0 deletions charts/op-proposer/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand Down
1 change: 1 addition & 0 deletions charts/op-proposer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53678c3

Please sign in to comment.