input-output-hk / partner-chains-smart-contracts

Command Line Tool and Cardano Plutus Contracts for interacting with Partner Chains.
Apache License 2.0
9 stars 2 forks source link

Using Kupo for Certain UTxO Lookups. #8

Open szg251 opened 1 year ago

szg251 commented 1 year ago

Issue by: jaredponn Original date: 2023-05-17 06:44:14 UTC Originally opened as: mlabs-haskell/trustless-sidechain/issues/436 Original assignees: Status on 2023-06-20: open


Description

A main selling point of Kupo was that it provides an efficient index from policy ids and asset names to UTxOs.

The current implementation implements this by an inefficient linear scan.

This ticket proposes to remove the old inefficient algorithm and instead use Kupo's database lookups for this.

Blocked By

Goals

Tests

Links

szg251 commented 1 year ago

Comment by: gege251 Original date: 2023-05-18 09:15:09 UTC


A quick (perhaps incorrect) glance at CTL suggests that there is no direct support for sending our own arbitrary queries to Kupo

Requesting this functionality from the CTL team could also be a path forward