bryanlabs / cosmos-upgrades

a tool to search for scheduled cosmos upgrades
MIT License
4 stars 2 forks source link

Add gh_commit to output #24

Open danbryan opened 1 year ago

danbryan commented 1 year ago

See this for the hash logic https://script.google.com/home/projects/1IU3doZX1iY20JJ_DbwRNOwuufWIrLCqgFauwTsfp3d9jyxPYTViTXBte/edit

add a new field to the output

gh_commit with a value of the hash

{
  "type": "mainnet",
  "network": "akash",
  "rpc_server": "https://akash-rpc.lavenderfive.com:443",
  "rest_server": "https://api-akash-ia.cosmosia.notional.ventures",
  "latest_block_height": 12981806,
  "upgrade_found": true,
  "upgrade_name": "v0.26.0",
  "source": "current_upgrade_plan",
  "upgrade_block_height": 12992204,
  "estimated_upgrade_time": "2023-09-27T16:02:01.530395",
  "upgrade_plan": {
    "height": 12992204,
    "binaries": [],
    "name": "v0.26.0",
    "upgraded_client_state": null
  },
  "version": "v0.26.0",
  "gh_commit" : "aabbccdd"
  "error": null
}