Skip to content

Commit

Permalink
feat: add Gradine to Mainnet envs
Browse files Browse the repository at this point in the history
  • Loading branch information
khalifaa55 committed May 20, 2024
1 parent 2089fa6 commit 937e89d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/envs/mainnet/consensus/grandine.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{/* grandine.tmpl */}}
{{ define "consensus" }}
# --- Consensus Layer - Beacon Node - configuration ---
CC_PEER_COUNT=50
CC_LOG_LEVEL=info
EC_API_URL={{.ExecutionApiURL}}
EC_AUTH_URL={{.ExecutionAuthURL}}
CC_INSTANCE_NAME=Grandine
CC_IMAGE_VERSION={{.CcImage}}
CC_DATA_DIR={{.CcDataDir}}
CC_JWT_SECRET_PATH={{.JWTSecretPath}}
{{if .CheckpointSyncUrl}}CHECKPOINT_SYNC_URL={{.CheckpointSyncUrl}}{{end}}
{{ end }}
12 changes: 12 additions & 0 deletions templates/envs/mainnet/validator/grandine.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{{/* grandine.tmpl */}}
{{ define "validator" }}
# --- Consensus Layer - Validator Node - configuration ---
CC_API_URL={{.ConsensusApiURL}}
GRAFFITI={{.Graffiti}}
VL_LOG_LEVEL=info
VL_INSTANCE_NAME=GrandineValidator
VL_IMAGE_VERSION={{.VlImage}}
KEYSTORE_DIR={{.KeystoreDir}}
VL_DATA_DIR={{.VlDataDir}}
MEV=true
{{ end }}

0 comments on commit 937e89d

Please sign in to comment.