DefiantLabs / cosmos-upgrades

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

Active Proposal endpoints are not available for chains that do not use gov, skip Active Proposal check for these chains #34

Open pharr117 opened 11 months ago

pharr117 commented 11 months ago

We get active proposal data from the REST endpoint: /cosmos/gov/v1beta1/proposals?proposal_status=2

Some chains do not use the gov module and will error out on this endpoint every time (see Noble and NobleTestnet for examples).

For these chains, if Active Proposal checks fail we should just fallback to the data in the Current Upgrade plan.