From 937e89de7c1c85425c7405b47622122f60e6be53 Mon Sep 17 00:00:00 2001 From: Haneen Khalifa Date: Mon, 20 May 2024 02:36:17 +0300 Subject: [PATCH] feat: add Gradine to Mainnet envs --- templates/envs/mainnet/consensus/grandine.tmpl | 13 +++++++++++++ templates/envs/mainnet/validator/grandine.tmpl | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 templates/envs/mainnet/consensus/grandine.tmpl create mode 100644 templates/envs/mainnet/validator/grandine.tmpl diff --git a/templates/envs/mainnet/consensus/grandine.tmpl b/templates/envs/mainnet/consensus/grandine.tmpl new file mode 100644 index 000000000..a1960ae43 --- /dev/null +++ b/templates/envs/mainnet/consensus/grandine.tmpl @@ -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 }} \ No newline at end of file diff --git a/templates/envs/mainnet/validator/grandine.tmpl b/templates/envs/mainnet/validator/grandine.tmpl new file mode 100644 index 000000000..0cf58b4b1 --- /dev/null +++ b/templates/envs/mainnet/validator/grandine.tmpl @@ -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 }} \ No newline at end of file