Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Koios 1.2.0 alpha #295

Closed
wants to merge 41 commits into from
Closed

Koios 1.2.0 alpha #295

wants to merge 41 commits into from

Conversation

rdlrt
Copy link
Contributor

@rdlrt rdlrt commented Jul 25, 2024

Description

To-Do:

  • update epoch_params section to include new governance params
  • Add deposit field to account_info (could park to future patch)
  • Add delegated_drep field to account_info
  • Introduce governance section (add compatibility with BF endpoints where possible for redundancy from lib providers pov)
    • /committee_info
    • /committee_votes
    • /drep_list
    • /drep_delegators
    • /drep_info
    • /drep_metadata
    • /drep_updates
    • /drep_votes
    • /drep_epoch_summary
    • /proposal_list
    • /proposal_votes
    • /pool_votes
  • Extend existing endpoints to include governance information (could park to future patch):
    • /tx_info
  • Make bytecode optional in tx_info, closes FEATURE: Fetch plutus_contracts in tx_info endpoint without the bytecode field  #293
  • Update tx_info to include various toggles in input (similar to block_tx_info , and in addition _bytecode)
  • Update block_tx_info to include _bytecode toggle
  • Update block_tx_info and tx_info to include treasury_donation field
  • Add tx_cbor endpoint
  • Add tx_cbor2json endpoint (could park to future patch)
  • Change how pool metadata is handled. Remove all metadata fields from pool_info_cache and query data live in endpoints
  • Add Bech32 decode/encoder PG extension
  • Implement CIP-129 (Dependent on PG B32 extension)

@rdlrt rdlrt requested review from Scitz0 and hodlonaut July 25, 2024 01:53
rdlrt added 3 commits July 25, 2024 16:37
- Add existing block_tx_info toggle options to tx_info
- Add treasury_donation field to output
- Add _bytecode input param to toggle expanding script bytes
@fallen-icarus
Copy link

Does it make sense to also add the _bytecode toggle to the asset_utxos and address_utxos endpoints? Right now, the bytecode is returned for all reference scripts. I don't ever need the bytecode from these endpoints either, but omitting them isn't as important to me as it is for the tx_info endpoints. I'm fine with whatever makes maintaining asset_utxos and address_utxos easier for you.

Add additional vote metadata fields to proposal_list
gregbgithub and others added 6 commits August 2, 2024 10:15
…chain pool data record matching the url/hash of the most recent update, to deal with the case where pool updates are made but no new off chain pool data records get created by dbsync
added cert_index param to proposal votes endpoint, spec updates

## Description
Vote list endpoints now return proposal_tx_hash of the proposal and
vote_tx_hash of the vote, and blocktime has been corrected to be that of
the latter. One of the endpoints had cert_index parameter in
implementation but was missing from API specs. Ordering changed from
block time to tx id as can have multiple voting transactions within same
block in theory.

## Where should the reviewer start?
<!--- Describe where reviewer should start testing -->

## Motivation and context
<!--- Why is this change required? What problem does it solve? -->

## Which issue it fixes?
<!--- Link to issue: Closes #issue-number -->

## How has this been tested?
<!--- Describe how you tested changes -->

---------

Co-authored-by: Greg B <[email protected]>
Co-authored-by: RdLrT <[email protected]>
@rdlrt rdlrt self-assigned this Aug 5, 2024
Scitz0 and others added 4 commits August 5, 2024 16:09
- update committee_info to include both cold and hot(if available) key info
- make committee_votes input optional
- add url & hash to all _votes endpoints
- schema updates
Update tx_info to not rely on pool_info_cache
@rdlrt rdlrt closed this Aug 6, 2024
@rdlrt rdlrt deleted the 1.2.0a branch August 6, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEATURE: Fetch plutus_contracts in tx_info endpoint without the bytecode field
6 participants