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

Simplify empty cid handling #497

Closed
wants to merge 19 commits into from
Closed

Conversation

elcritch
Copy link
Contributor

@elcritch elcritch commented Aug 2, 2023

No description provided.


proc emptyCid*(version: CidVersion, codex: MultiCodec): ?!Cid =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dryajov not sure what but the previous templates combined with ORC were causing lots of defects trying to access a Result error that didn't exist.

My hunch is that all the error catches and gets needed for the tables were causing issues unrelated to ORC itself. The templates were giving me issues on the 1.6.14 update as well. So perhaps just trying to do all the error wrapping in a once block in the template was causing issues.

Probably a compiler limitation but I figure no reason to push it there. Plus this makes it easier to call.

@dryajov dryajov closed this May 16, 2024
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.

None yet

2 participants