From ea0203c103b28b563115703d86f65a9de7993ca6 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar <57705190+avkr003@users.noreply.github.com> Date: Thu, 14 Nov 2024 00:33:51 +0530 Subject: [PATCH] updating upgrade height for release (#935) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75235f406..a5c034482 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: # helper functions extract_txhash() { awk -F 'txhash: ' '/txhash:/{print $2; exit}'; } extract_proposal_id() { awk -F 'key: proposal_id|value: ' '/key: proposal_id/ { getline; gsub(/"/, "", $2); print $2; exit }'; } - extract_and_calc_upgrade_height() { awk -F'"latest_block_height":"' '{ split($2,a,"\""); print a[1]+500; exit }'; } + extract_and_calc_upgrade_height() { awk -F'"latest_block_height":"' '{ split($2,a,"\""); print a[1]+15000; exit }'; } extract_checksum() { awk "/elysd-${{ github.ref_name }}-linux-amd64.tar.gz/ {print \$1; exit}"; } # environment variables