From c592a30becb3cda454ed113ebf4da936c66d95cd Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Tue, 12 Mar 2024 14:34:42 +0100 Subject: [PATCH] chore: updated celestia version --- .github/get_software_upgrades.py | 41 -------------------------------- celestia/config.yml | 10 ++++---- 2 files changed, 5 insertions(+), 46 deletions(-) delete mode 100644 .github/get_software_upgrades.py diff --git a/.github/get_software_upgrades.py b/.github/get_software_upgrades.py deleted file mode 100644 index 46e9cec..0000000 --- a/.github/get_software_upgrades.py +++ /dev/null @@ -1,41 +0,0 @@ -import requests - -rest = "https://lcd.osmosis.zone" -gov_version = "v1" - -r = requests.get("{}/cosmos/gov/{}/proposals?pagination.limit=1000".format(rest, gov_version)) -proposals = r.json()["proposals"] - -legacyUrl = "/cosmos.gov.v1.MsgExecLegacyContent" -v1SoftwareUrl = "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade" -v1beta1SoftwareUrl = "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal" -upgrades = [] - -for p in proposals: - if p["status"] != "PROPOSAL_STATUS_PASSED": - continue - - if gov_version == "v1": - for m in p["messages"]: - if m["@type"] == v1SoftwareUrl: - upgrades.append({ - "name": m["plan"]["name"], - "height": int(m["plan"]["height"]) - }) - elif m["@type"] == legacyUrl: - if m["content"]["@type"] == v1SoftwareUrl or m["content"]["@type"] == v1beta1SoftwareUrl: - upgrades.append({ - "name": m["content"]["plan"]["name"], - "height": int(m["content"]["plan"]["height"]) - }) - - if gov_version == "v1beta1": - if p["content"]["@type"] == v1beta1SoftwareUrl: - upgrades.append({ - "name": p["content"]["plan"]["name"], - "height": int(p["content"]["plan"]["height"]) - }) - -for u in upgrades: - print("- name: {}".format(u["name"])) - print(" height: {}".format(u["height"])) diff --git a/celestia/config.yml b/celestia/config.yml index 1e7b7f4..9810508 100644 --- a/celestia/config.yml +++ b/celestia/config.yml @@ -15,14 +15,14 @@ codebase: # Cosmos specific settings for block and snapshot pools cosmos-registry: https://github.com/cosmos/chain-registry/blob/master/celestia/chain.json cosmos-genesis: - name: "v1.6.0" + name: "v1.7.0" genesis-url: https://raw.githubusercontent.com/celestiaorg/networks/master/celestia/genesis.json cosmos-upgrades: - - name: "v1.6.0" + - name: "v1.7.0" height: 1 - recommended-version: "v1.6.0" - commit: "6f19fd83c4d0061c717a40e23a368a2f60aff715" - go-version: "go1.21.1" + recommended-version: "v1.7.0" + commit: "915847191e80d836f862eea2664949d9a240abea" + go-version: "go1.22" ksync-engine: "tendermint-celestiacore" networks: