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

Synchronize Ogmios state with Blockfrost when run-your-own Blockfrost is in use #1451

Open
klntsky opened this issue Mar 8, 2023 · 0 comments
Labels
blockfrost CTL Blockfrost backend enhancement New feature or request

Comments

@klntsky
Copy link
Member

klntsky commented Mar 8, 2023

We introduced confirmTxDelay in Blockfrost to adjust for concurrency problems between Ogmios and Blockfrost - see here for context.

The change was needed, because we were unable to "look into" what Ogmios percieves as current UTxO state.

But with self-hosted Blockfrost, it is possible to simply query Ogmios for current UTxOs and delay execution until they match whatever Blockfrost returns, in a similar manner to #1440.

After #1395 is merged, we can unlock this possibility. One problem though, we use Kupo for getUtxoByOref, and it would be unwise to introduce a runtime dependency just for that. We should fallback to use https://ogmios.dev/mini-protocols/local-state-query/#utxo-by-txin , which means implementing one more Ogmios endpoint.

This task should be delayed until we confirm that the current approach is unsatisfactory for the clients.

@klntsky klntsky added enhancement New feature or request blockfrost CTL Blockfrost backend labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blockfrost CTL Blockfrost backend enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant