Skip to content
New issue

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

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

Already on GitHub? # to your account

On-chain dataHash :: BuiltinData -> BuiltinByteString #4167

Closed
L-as opened this issue Oct 27, 2021 · 1 comment
Closed

On-chain dataHash :: BuiltinData -> BuiltinByteString #4167

L-as opened this issue Oct 27, 2021 · 1 comment

Comments

@L-as
Copy link
Contributor

L-as commented Oct 27, 2021

Describe the feature you'd like

I assume this is already implementable if you do the serialization on-chain, but it would be
wasteful compared to supporting it as a built-in function.

Describe alternatives you've considered

Is it perhaps possible to get the undeserialized datum for an input on-chain?
That would already cover some of the potential use cases.

Additional context / screenshots

Some times you want to be able to compute the hash of a transformation of some
data (e.g. a datum), without storing the transformation in the transaction, in order
to save space.

@ghost
Copy link

ghost commented Nov 1, 2021

Thanks for the issue!

Yeah, this is a desired feature but not implemented yet.

@L-as L-as closed this as completed Jan 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant