From 096c5415b1949272f177f3ce95301964d59979ca Mon Sep 17 00:00:00 2001 From: Makhonin Vitaliy Date: Fri, 26 Jul 2024 21:32:56 +0300 Subject: [PATCH] Fix --- vars/jito.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vars/jito.yaml b/vars/jito.yaml index 61e61fa..e8f0334 100644 --- a/vars/jito.yaml +++ b/vars/jito.yaml @@ -1,4 +1,4 @@ -validator_binary: solana-validator -validator_install_binary: solana-install -install_script_url: "https://raw.githubusercontent.com/jito-foundation/jito-solana/lb/v{{ validator_version }}-jito/install/solana-install-init.sh" +validator_binary: "{% if validator_version.split('.') | map('int') | list > '2.0.0'.split('.') | map('int') | list %}agave-validator{% else %}solana-validator{% endif %}" +validator_install_binary: "{% if validator_version.split('.') | map('int') | list > '2.0.0'.split('.') | map('int') | list %}agave-install{% else %}solana-install{% endif %}" +install_script_url: "https://raw.githubusercontent.com/jito-foundation/jito-solana/lb/v{{ validator_version }}-jito/install/{% if validator_version.split('.') | map('int') | list > '2.0.0'.split('.') | map('int') | list %}agave-install-init.sh{% else %}solana-install-init.sh{% endif %}" jito_validator: true