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

Kupo doesn't index inline scripts present in outputs #148

Closed
KtorZ opened this issue Nov 22, 2023 · 1 comment
Closed

Kupo doesn't index inline scripts present in outputs #148

KtorZ opened this issue Nov 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@KtorZ
Copy link
Member

KtorZ commented Nov 22, 2023

What Git revision / release tag are you using?

v2.7.0

Describe what the problem is?

Scripts can be present in 3 places:

  • Witness set
  • Auxiliary data
  • Outputs

Kupo only indexes scripts present in the first two. It does properly indicate whether a UTxO carries a script when relevant, but doesn't store the underlying script in the scripts table. As a consequence, it fails to respond to /script/{...} when asked about a script previously reported in an output.

What should be the expected behavior?

The server should be able to instantly provide access to any scripts that's been seen inline in an output.

If applicable, what are the logs from the server around the occurence of the problem?

N/A

@KtorZ KtorZ added the bug Something isn't working label Nov 22, 2023
@KtorZ
Copy link
Member Author

KtorZ commented Nov 30, 2023

Fixed in 9659fb5

@KtorZ KtorZ closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant