Koios 1.4.2
This release focuses on bug fixes and accuracy improvements for governance-related endpoints (committee/pool voting summaries, HardForkInitiation handling), a couple of small output enhancements, and performance fixes for epoch/DRep queries , as well as compatibility with — following up on issues reported by the community since v1.4.0.
Caution
Please note that next major release of Koios (v1.5.x) will convert all lovelace fields back to numeric. Those who will need to access lovelace in string format can use server-side cast in URL (i.e. select=*,::text). For example:
https://api.koios.rest/api/v1/totals?select=epoch_no,treasury::text
API Docs and Schedule for Release
| Network | Date (Estimated) UTC | URL | Specs Release | gRest Instance Release | DBSync | Node |
|---|---|---|---|---|---|---|
| Preview | 14-06-2025 | https://preview.koios.rest/ | v1.4.2 | koios-1.4.2 | 13.7.2.1 | 11.0.1 |
| PreProd | 14-06-2025 | https://preprod.koios.rest/ | v1.4.2 | koios-1.4.2 | 13.7.2.1 | 11.0.1 |
| Mainnet* | 17-06-2025 | https://api.koios.rest/ | v1.4.2 | koios-1.4.2 | 13.7.2.1 | 11.0.1 |
Mainnet dates may shift if any issues emerge.
Changes for API
Expand
🔄 Input / Output Enhancements
- Proposal List (
/proposal_list): Addedprevious_gov_action_proposal_idfield. - DRep Info (
/drep_info): Addedlive_delegator_countfield, plus an extra index onvoting_procedureto address a performance issue observed on preprod.- PR: #410
- Pool List (
/pool_list): Added a temporary pathway to query as numeric without introducing a breaking change (mitigation for request-size/413 issue below).- Commit:
2799dd6
- Commit:
- Specs: Added documentation for the error messages returned when request-body size limits are hit.
🛠️ Chores & Performance
- HardForkInitiation Pool Votes: Fixed
proposal_voting_summaryincorrectly reporting >50% yes for pool votes on recent HardForkInitiation proposals (more accurate figure is in the 30s) —always_abstaindelegation logic doesn't apply to hard-fork gov actions the same way; pools not actively voting are now correctly counted as "no" voting power.- PR: #404
- Committee Vote Calculation: Fixed committee vote % calculation to only join on the latest committee registration record and disregard resigned members when computing total committee size (numerator/denominator were both off for proposals like the ratified Tweag one).
- PR: #405
- Pool Retirement Trigger: Fixed retiring-pool updates and the retired-status trigger; relocated the trigger to
epoch_state(sinceepochmoved from table to view), and added handling for simplistic pool schedule retirement actions. Also corrected theepoch_noreturn type inproposal_voting_summary.- PR: #406
- Epoch Calculation Performance: Switched max-epoch calculation to use
max(epoch_no)fromepoch_paraminstead of the newepochview, due to performance regressions.- PR: #408
- Cache Maintenance: Updates to
pool_info_cache.sql,epoch_info_cache.sql, anddrep_info.sql. - Specs: Reorganized specs into a more modular structure.
- Commit:
b6a7c33
- Commit:
Full Changelog can be found here for SQL queries and Specs.
Instructions for Instance Providers
Expand
If you're setting up as a new instance provider, you can find instructions here. The tag to use for setup-grest.sh is koios-1.4.2.
The update process, as usual, would be:
- Update your node, submitapi, dbsync and ogmios binaries. You can use the sample below as a reference (change network and top folder according to your environment):
./guild-deploy.sh -n $NETWORK -t cnode -b koios-1.4.2 -s plfdom
- With dbsync updated and on tip, you'd now be ready to go to the next step - updating koios. You'd want to update all components and reset your grest schema, sample command below:
./setup-grest.sh -b koios-1.4.2 -r -i prmcdg
sudo systemctl restart cnode-postgrest cnode-haproxy
The configs have been updated across versions, please ensure to force overwrite and re-download each component
Since we're rebuilding the cache, expect it to take a bit (a few minutes on non-mainnet, while a few hours on mainnet).
Other Notes
Expand
Bug Reports/Feature Requests
Everyone is invited to create future feature requests here to help us triage issues.
Support/Discussions Group
Please ensure to join the Koios Support/Discussions group.
We're open to having meetings to work together as well as discuss future additions. Feel free to ask.
Contributors
We are blessed to have a community that contributes in various ways, be it by serving community instances, library implementations, testing, or feedback. Special thanks to all the contributors who have been helping us improve the query layer along the way:
@Scitz0, @rdlrt, @dostrelith678, @redoracle, @hodlonaut, @reqlez, @huths0lo, @chadle-git, @gufmar, @ray-wallet, @edridudi, @mkungla, @xray-robot, @nothingalike, @safestak-keith, @QuixoteSystems, @abdelkrimdev, @cardano-apexpool , @AlexDochioiu, @DCOneCrypto, @PatrickTobler, @agaffney, @rcmorano, @gitmachtl, @Crypto2099, @robinboening, @fallen-icarus, @M4rc0Russ0, @HT-Moh, @ducpm2303, @michele-nuzzi, @maxee, @Jack-0, @larestrepo, @MadOrkestra, @mpizenberg, @quinn-logicalmechanism, @DevStakePool