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

[Script] Error log while trying to parse a native script in output's reference script field #373

Open
satran004 opened this issue Oct 7, 2024 · 0 comments
Milestone

Comments

@satran004
Copy link
Member

There is some test data in preprod where native scripts are attached to the output as reference scripts. The script store tries to parse the attached script reference bytes as a Plutus script, resulting in an error log when the parsing fails, which is expected.

A possible solution could be to detect the script type and parse it accordingly.

Example:

Env: Preprod
Tx hash: c3b701046b01330c7b28a680ca2d5a77a134d593fcccb489ae063b787b4587b0#1

c.b.c.y.store.script.helper.ScriptUtil   : Error deserializing script ref: 82008200581ca0dfc5656b946dea62a1fc23ff8881eb6468fdc14c295e2839c3ece3
2024-10-07T19:40:05.981+08:00 ERROR 11264 --- [Yaci Store App] [onPool-worker-4] c.b.c.y.store.script.helper.ScriptUtil   : Error deserializing plutus script in scriptRef : TxHash: c3b701046b01330c7b28a680ca2d5a77a134d593fcccb489ae063b787b4587b0#1, scriptRef: 82008200581ca0dfc5656b946dea62a1fc23ff8881eb6468fdc14c295e2839c3ece3
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

No branches or pull requests

1 participant