Skip to content

Freeze cbor tags as they are supposed to be hashable #227

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

Closed
wants to merge 1 commit into from

Conversation

nielstron
Copy link
Contributor

This fixes this issue when trying to serialize the ScriptContext (which contains a CBorTag -> CBorTag map)

https://github.com/OpShin/opshin-pioneer-program/actions/runs/4794620318/jobs/8528208767#step:10:167

@nielstron nielstron force-pushed the fix/freeze_cbor_tag branch from be914b6 to 5cdcbd0 Compare April 25, 2023 07:15
@nielstron
Copy link
Contributor Author

I am actually not sure that this is the right approach as there may be cbortags with values != list. Ideally, all cbor primitives should be frozen maybe (including all lists, dicts, sets etc)?

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

Successfully merging this pull request may close these issues.

1 participant